Returns supported countries and states.

GET /api/payments/supported

This endpoint returns all jurisdictions that Madora is able to operate in. This endpoint is the recommended option for providing client-side logic about whether to display Madora as a payment option. As Madora expands our compliance to new states, this endpoint will provide the most up-to-date list of allowed states.

Responses

GET /api/payments/supported
curl \
 -X GET https://madora.io/api/payments/supported \
 --user "username:password" \
 -H "apiKey: $API_KEY"
Response examples (200)
{
  "supportedCountries": [
    "US"
  ],
  "supportedAdministrativeAreas": [
    "CA",
    "MA"
  ]
}
Response examples (200)
{
  "supportedCountries": [
    "US"
  ],
  "supportedAdministrativeAreas": [
    "CA",
    "MA"
  ]
}