/v2/payments/payment_fees

GET

Gets the Payment fee tables for the current authenticated account

The API responses shown below are static. If you want to try out the API please login, or register for an API key

API parameters

Required
NameInTypeDescriptionEnumDefault
X-Auth-Token header string Authentication token.
Optional
NameInTypeDescriptionEnumDefault
page query integer Page number.
per_page query integer Number of results per page.
order query string Any field name to change the sort order.
order_asc_desc query string Sort records in ascending or descending order. asc
desc
asc
curl -X GET  --header "X-Auth-Token: XXXX-XXXXX-XXXX"  https://devapi.currencycloud.com/v2/payments/payment_fees

Response

{
    "payment_fees": [
        {
            "id": "e7e1b6e5-c596-4ad1-b8d4-a7035185143a",
            "name": "Fee Table CAD  5 - 10 - 15",
            "currency": "CAD",
            "regular_amount": "5.00",
            "priority_shared_amount": "10.00",
            "priority_ours_amount": "15.00",
            "owner_account_id": null
        },
        {
            "id": "029e1771-8de7-4ab0-9c19-c14b325c0c9e",
            "name": "Fee Table USD  2 - 4 - 12",
            "currency": "USD",
            "regular_amount": "2.00",
            "priority_shared_amount": "4.00",
            "priority_ours_amount": "12.00",
            "owner_account_id": null
        },
        {
            "id": "7c17b546-0435-45f0-9c17-3a4e0f2d3e84",
            "name": "Fee Table EUR 10 - 20 - 30",
            "currency": "EUR",
            "regular_amount": "10.00",
            "priority_shared_amount": "20.00",
            "priority_ours_amount": "30.00",
            "owner_account_id": null
        },
        {
            "id": "1b1c8459-4bca-44a0-a50b-7615423f39da",
            "name": "Fee Table GBP 5 - 10 -15",
            "currency": "GBP",
            "regular_amount": "5.00",
            "priority_shared_amount": "10.00",
            "priority_ours_amount": "15.00",
            "owner_account_id": null
        }
    ],
    "pagination": {
        "total_entries": 4,
        "total_pages": 1,
        "current_page": 1,
        "per_page": 25,
        "previous_page": -1,
        "next_page": -1,
        "order": "created_at",
        "order_asc_desc": "asc"
    }
}
Error Codes
HTTP Status Code Description Params
401 invalid_supplied_credentials Authentication failed with the supplied credentials
403 permission_denied permission_denied
429 too_many_requests Too many requests have been made to the api. Please refer to the Developer Center for more information
500 internal_server_error Internal server error
503 service_unavailable Service is temporary unavailable
Was this page helpful?
Yes
No