Returns list of alternative service to a provided service
This GET endpoint is used to retrieve a list of alternative services to a provided service. <br> You can use this endpoint to obtain information about other available services and pricing offered by different companies for a particular destination. <br> To use this endpoint, you need to provide the destination_token as a required parameter in the URL Path. <br> The response will include a JSON array containing details for each company, including the company name, available alternative services, and pricing.
Request
- Base URLhttps://api.masspay.io/v1.0.0
- Auth
- API key in header Authorization
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Destination token
Query parameters
When provided, only return destination tokens that support the destination_currency
Set this parameter to true to display only dynamic tokens, excluding none dynamic ones.
Headers
Unique key to prevent duplicate processing
Response
Successful operation.
Example response
{
"country_code": "MEX",
"payers": [
{
"destination_token": "123e4567-e89b-12d3-a456-426614174000",
"payer_logo": "U3dhZ2dlciByb2Nrcw==",
"payer_name": "Elektra",
"exchange_rate": [
{
"currency_symbol": "MXN",
"exchange_rate": 18.37
}
],
"fee": 8,
"max_limit": 10000,
"source_amount": 104.3,
"number_of_locations": 13007,
"estimated_availability": "2020-07-21T17:32:28Z",
"additional_description": "Requires drivers license to pickup funds"
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.