Enroll Merchant
Enroll a merchant in an alert or refund program. Send a program discriminator with that program’s fields. ethoca and cdrn require descriptors. rdr requires at least one of arns, bins, or caids. amex and discover require legal name, DBA, address, and their SE identifiers. Omit merchant_id in the body to create a new merchant (its id is returned), or pass one to enroll an existing merchant.
Headers
Your API key. Sent in the X-API-Key header.
Body
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
Program discriminator. Use ethoca.
ethoca Billing descriptors to enroll. At least one non-blank value is required. Stored uppercased.
Existing merchant (retailer) id to enroll. Omit to create a new merchant. The new id is returned as merchantId.
Optional refund / RDR threshold for the merchant (e.g. <300). When supplied and changed, a ruleset snapshot is recorded.
Response
Enrollment applied.
The merchant (retailer) id this enrollment was applied to. Newly created or reused.
True if a new merchant was created for this request, false if an existing one was reused.
The program that was enrolled (lowercased).
Ids of descriptor records created or updated. Populated for Ethoca and CDRN, empty otherwise.
Id of the ruleset snapshot recorded, or null if no ruleset change occurred.
