PRN-183

As of the 5th August 2024, the Get Allowed Merchants (/api/v1/cards/{publicToken}/allow-merchant) and Get Disallowed Merchants (/api/v1/cards/{publicToken}/disallow-merchant) endpoints will be replaced with a new endpoint that returns both allowed and disallowed merchants in a single endpoint response.

You can retrieve the card acceptors for a card by making a GET request to the new Get Card Acceptor endpoint. For example:

{{base-url}}/cards/{publicToken}/card-acceptor

A successful response will return a HTTP 200 response code. Below is an example response:

{
	"cardAcceptorAllowList":
	{
		"id": 2323,
		"name":"string",
		"merchantIds":
		[
			"Merchant5",
			"Merchant6"
		],
	},
	"cardAcceptorDisallowList":
	{
		"id":23232,
		"name":"string",
		"merchantIds":
		[
			"Merchant1",
			"Merchant2"
		],
	}
}