curl --request GET \
--url https://api.chargeblast.com/api/v2/merchants \
--header 'X-API-Key: <x-api-key>'{
"page": 1,
"total": 1,
"merchants": [
{
"name": "sandbox-merchant-1",
"id": "cb_xxxxxxxxxxxxx"
}
]
}Get all the merchants from your chargeblast account. Response is paginated. The name field is set during onboarding of the merchant and corresponds to the individual name of the merchant for multi-merchant accounts (usually associated with the DBA or billing descriptor).
curl --request GET \
--url https://api.chargeblast.com/api/v2/merchants \
--header 'X-API-Key: <x-api-key>'{
"page": 1,
"total": 1,
"merchants": [
{
"name": "sandbox-merchant-1",
"id": "cb_xxxxxxxxxxxxx"
}
]
}page and per query parameters.
Each merchant in the response includes a name and id. The name is set during onboarding and, for multi-merchant accounts, corresponds to the individual merchant name (typically the DBA or billing descriptor). The merchant id returned here is the same value as the merchantId in the webhook alert payload—use it to associate incoming alerts with the correct merchant.Your API key. Sent in the X-API-Key header.
The starting page of the request. Default value of 1.
How many merchants to return per page. Default value of 10.