The merchant enrollment endpoint allows a subscriber to register a merchant. This is needed to
look up transactions at their store location.
To enroll as a merchant, the endpoint is available at:
/merchant/
that accepts POST requests.
For example:
In cUrl:
curl –X POST \
URL/merchant/enroll/ \
-H ‘Authorization: Bearer Xx883******q3m9384”
If the request is accepted, the response with a message should be like the one below:
{
“error”: null,
“message”: “Merchant enrolled”,
“mechantId”: 849412
}