Available Payment Methods

The /rest/v1/curo/options/{site_id} entry point lets you retrieve a list of enabled payment methods for the specified site.


⚠️

Important

This list should not be requested real-time for each request, but instead be cached locally and updated at an appropriate interval (daily is usually fine).

Requesting this during the checkout will also have a negative effect on user experience; you should optimize the speed and reduce external requests as much as you can.

❗️

Warning

Your server IP will be blocked by our gateway if you make too many requests in a short period of time!


JSON example

Request:

GET /rest/v1/curo/options/1234/ HTTP/1.1
Authorization: Basic dXNlcm5hbWU6YXBpa2V5
Host: secure.curopayments.net
Accept: application/json

Response:

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
    "options": {
        "60": {
            "id": "afterpay",
            "name": "AfterPay"
        },
        "4": {
            "id": "banktransfer",
            "name": "Bank transfer"
        },
        "10": {
            "id": "creditcard",
            "name": "Creditcard"
        },
        "61": {
            "id": "directdebit",
            "name": "DirectDebit"
        },
        "18": {
            "id": "ideal",
            "name": "iDeal"
        },
        "19": {
            "id": "klarna",
            "name": "Klarna"
        },
        "39": {
            "id": "paypal",
            "name": "PayPal"
        },
        "40": {
            "id": "przelewy24",
            "name": "Przelewy24"
        }
    },
    "success": true
}

Did this page help you?