💳Get Payout Methods
All payment methods & their supported countries can be retrieved with a GET request. URL: https://widget.swapped.com/api/v1/merchant/sell/get_payout_methods
The public key can be appended to filter down the endpoint to only display your available methods. https://widget.swapped.com/api/v1/merchant/sell/get_payout_methods?api_key=YOUR_API_KEY
Response Structure:
No parameters in URL:
{
"success": true,
"data": {
"BR": [
{
"id": 13,
"name": "PIX",
"fee": 2,
"slug": "pix",
"default": true,
"currency": ["BRL"],
"base_fee": {
"base_fee": 0.1
},
"disabled": false,
"min_amount": 7,
"max_amount": 2400,
"img_url": "https://widget.swapped.com/assets/payment/pix.svg",
"img_url_light": "https://widget.swapped.com/assets/payment/pixlight.svg"
}
]
}
}When country slug (in this example DK) is used: https://widget.swapped.com/api/v1/merchant/sell/get_payout_methods?slug=DK
Data Fields Returned:
name: Name of the payment method.
fee: Processing fee in percentage.
slug: Identifier for the payment method.
default: Whether this is the default method for the country.
currency: An array of supported fiat currencies.
base_fee: Fixed fee amounts per currency.
disabled: Whether the method is disabled or not.
min_amount: The minimum amount in EUR that this method supports.
max_amount: The maximum amount in EUR that this method supports.
img_url: The standard image URL for the payment method logo.
img_url_light: The light theme (dark background) variant image URL for the payment method logo.
Last updated