A
Size: a a a
SZ
S
A
AK
SZ
SZ
SP
S
SP
SP
Set the Authorization header result with the below format
example header:
Authorization: Signature keyId="57502612d1bb2c0001000025fd53850cd9a94861507a5f7cca236882",algorithm="hmac- sha1",headers="date x-mod-nonce",signature="WBMr%2FYdhysbmiIEkdTrf2hP7SfA%3D"
ERRO[0000] Do(). err = 'Get "https://api-sandbox.modulrfinance.com/api-sandbox-token/accounts/IA123CW01": net/http: invalid header field name "Authorization: Signature keyId"' service_name=Modulr_Api
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x6878bf]
req.Header.Add("Authorization: Signature keyId", API_KEY)
req.Header.Add("algorithm", "hmac-sha1")
req.Header.Add("headers", "date x-mod-nonce")
req.Header.Add("signature", hmac_SHA1_signature)
ВС
SP
SP