Swapped.com Documentation
  • 🚀On-ramp Integration
    • ⚙️Sandbox Environment
    • 🔗iFrame initialization
      • 💬Order Notifications
      • 🚨Order Notification Retry Policy
      • 🪙Supported Cryptocurrencies
      • 💵Supported Fiat Currencies
      • 🗣️Supported languages
      • Onramp Aggregator Partners
    • 💳Test Credentials
    • 🎯Endpoints
      • 💳Get Payment Methods
      • 🟢Get Payment Status
      • 📘Get Transactions
      • 📈Get Current Price
      • ⚖️Get Minimum Amount
    • FAQ
  • 🚀Connect Integration
    • 🔗iFrame Initialization
    • 🤝Supported Connections
Powered by GitBook
On this page
  1. On-ramp Integration
  2. Endpoints

Get Payment Methods

PreviousEndpointsNextGet Payment Status

Last updated 20 days ago

All payment methods & their supported countries can be retrieved with a GET request. Methods are grouped by area, using .

URL: Additionally, you can also append your public key to filter down the endpoint to only display your available methods. https://widget.swapped.com/api/v1/merchant/get_payment_methods.php?apiKey=YOUR_API_KEY

Response:

{
    "success": true,
    "data": {
        "AW": [
            {
                "id": 64,
                "name": "Skrill",
                "fee": 3.5,
                "slug": "skrill",
                "default": null,
                "currency": [
                    "EUR",
                    "DKK",
                    "GBP"
                ],
                "base_fee": {
                    "base_fee": 0.6
                }
            }
        ]
    }
}

Response Definition:

  • id: The payment method id.

  • name: The name of the payment method.

  • fee: The fee in percentage.

  • slug: The payment method slug.

  • currency: The currencies the payment method supports.

  • base_fee: The base fee for the payment method.

🚀
🎯
💳
Need help with your integration? Click here to chat with our custom GPT for instant answers.
supported countries codes
https://widget.swapped.com/api/v1/merchant/get_payment_methods