curl --request POST \
--url https://api.chargeblast.com/api/enroll_merchant \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <x-api-key>' \
--data '
{
"type": "Ethoca",
"requestData": {
"streetAddress": "<string>",
"mcc": "<string>",
"caids": [
"<string>"
],
"ruleset": "<string>",
"country": "<string>",
"amexDescriptor": "<string>",
"zip": "<string>",
"city": "<string>",
"type": "<string>",
"arns": [
"<string>"
],
"selectedAlerts": [
"<string>"
],
"amexSe": "<string>",
"legalName": "<string>",
"discoverSe": "<string>",
"processor": "<string>",
"dbaName": "<string>",
"state": "<string>",
"descriptors": [
"<string>"
],
"bins": [
"<string>"
]
},
"merchantId": "<string>"
}
'123Enroll the merchant in a various alert program. If no merchant_id is specified a new merchant object will be automatically generated. For each alert program various info is required. For example, for Ethoca, only descriptors are. To see which info is required see here
curl --request POST \
--url https://api.chargeblast.com/api/enroll_merchant \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <x-api-key>' \
--data '
{
"type": "Ethoca",
"requestData": {
"streetAddress": "<string>",
"mcc": "<string>",
"caids": [
"<string>"
],
"ruleset": "<string>",
"country": "<string>",
"amexDescriptor": "<string>",
"zip": "<string>",
"city": "<string>",
"type": "<string>",
"arns": [
"<string>"
],
"selectedAlerts": [
"<string>"
],
"amexSe": "<string>",
"legalName": "<string>",
"discoverSe": "<string>",
"processor": "<string>",
"dbaName": "<string>",
"state": "<string>",
"descriptors": [
"<string>"
],
"bins": [
"<string>"
]
},
"merchantId": "<string>"
}
'123Your API key. Sent in the X-API-Key header.
OK
The response is of type integer<int64>.