Retrieve a merchant account

Surcharging merchant accounts are used by platforms to manage surcharging across multiple merchants.

GET/api/v1/platform/surcharging/accounts/{accountId}

Surcharging merchant accounts are used by platforms to manage surcharging across multiple merchants.

Path Parameters

accountIdpathrequired

The ID of the merchant account (acct_***)

NOTE: If using external identifiers, this can be used instead of the account ID.

Responses

200Default Response
RequestGET/api/v1/platform/surcharging/accounts/{accountId}
curl 'https://api.theyeeld.com/api/v1/platform/surcharging/accounts/{accountId}' \
  --request GET
Response
{
"id": "acct_***",
"name": "string",
"externalIdentifier": "unique-identifier",
"maxRate": 0.025,
"location": {
"country": "US",
"stateProvince": "WA"
},
"onboardingStatus": null,
"isSurchargingEnabled": false,
"enabledUsStates": [
"string"
],
"annualCreditCardVolume": {
"value": 0
},
"canadianMastercardDisclosure": {
"submittedAt": 0,
"surchargingEnabledAt": 0
}
}