07-26-2024 01:53 AM
Hello,
I encountered an issue when calling getTransactions using the UK token in the Finance API.
I sign my signature with my private key:
The format of my signature:
"x-ebay-signature-key": {{ebay_signature_key}}
"@method": GET
"@path": /sell/finances/v1/transaction
"@authority": api.ebay.com
"@signature-params": ("x-ebay-signature-key" "@method" "@path" "@authority");created={{time_of_request}}
I use ebay api explorer to test my call:
Authorization:Bearer {{accessToken}}
X-EBAY-C-MARKETPLACE-ID:EBAY_GB
x-ebay-signature-key: {{signature_key}}
Signature: sig1=:{{signature_signed_with_private_key}}
Signature-Input: sig1=("x-ebay-signature-key" "@method" "@path" "@authority");created={{time_of_request}}
Accept:application/json
When I make this call, I got a signature validation error like this:
Thanks in advance.