get https://{providerApiEndpoint}/authorization/credentials
Get the credentials of merchant.
Response body
Name | Type | Mandatory | Description |
---|---|---|---|
applicationId |
string | Yes | The same applicationId sent in the request |
appKey |
string | Yes | The value we will send in the header X-VTEX-API-AppKey for the payment flow |
appToken |
string | Yes | The value we will send in the header X-VTEX-API-AppToken for the payment flow |
Request examples and their responses
curl --location --request GET 'https://{{providerApiEndpoint}}/authorization/credentials?authorizationCode={{authorizationCode}}&applicationId=vtex' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json'
{
"applicationId": "vtex",
"appKey": "c5a5e3f1-4a77-4a00-8b53-0d1adb3e9628",
"appToken": "57ea254d-f3d3-488d-88d7-129766037ed1"
}