Merchant Credentials
The Merchant Credentials API is a provides a secure mechanism for retrieving the credentials associated with registered merchants in our platform that has been onboarded to a partner gateway/processor relationship.
GET https://<Platform-host>/merchant/:id/credentials/:credentialId
Path Parameters
Name
Type
Description
id*
string
Merchant ID
credentialId
string
Credential ID. Typically returned with the merchant status change webhook
If successfull, this will return a list of gateawy credentials or the one specified through credentialId paramter.
{
"merchant_id": "d6399869-747c-4537-9c04-f81ce2a6c5eb",
"credentials": [
{
credential_id: "03e675d2-ef81-4d1b-a236-cee7f6abee57"
vendor: 'stripe',
configuration: {
account_type: 'custom',
account_id: 'acct_1Lij4xPPz4rWmXkv',
api_token: '<Stripe API Token>'
}
},
{
credential_id: "03e675d2-ef81-4d1b-a236-cee7f6abee57"
vendor: 'nmi',
configuration: {
gateway_id: '12345567',
api_token: '<NMI API Token>',
public_key: '<NMI API public key>'
}
}
]
}Example API Response
Last updated