Skip to content

Get available payment methods

GET
/payment-methods

Returns the available payment methods for the authenticated user: SEPA mandate (if exists) and saved credit/debit cards. Use the returned IDs with POST /payments.

Payment methods

Media type application/json

Available payment methods

object
sepa_mandate

SEPA direct debit mandate, if the user has one

object
id

SEPA mandate ID

integer
iban_masked

Masked IBAN

string
last4

Last 4 digits of IBAN

string
bank

Bank name

string
bic

BIC/SWIFT code

string
account_holder

Account holder name

string
street

Street address

string
postcode

Postal code

integer
city

City

string
created_at

Creation date (unix timestamp)

integer
stored_cards

Saved credit/debit cards

Array<object>
object
id

Card ID

integer
last4

Last 4 digits of the card

string
exp_month

Expiration month

integer
exp_year

Expiration year

integer
brand

Card brand (e.g. visa, mastercard)

string
country

Issuing country code

string
created_at

Creation date (unix timestamp)

integer
Examples
Example payment_methods

Payment methods example

Example response for GET /payment-methods

{
"sepa_mandate": {
"id": 747,
"iban_masked": "DExxxxxxxxxxxxxxxx0 00",
"last4": "3000",
"bank": "",
"bic": "37040044",
"account_holder": "",
"street": "",
"postcode": 0,
"city": "",
"created_at": 1775504768
},
"stored_cards": [
{
"id": 94,
"last4": "4242",
"exp_month": 12,
"exp_year": 2034,
"brand": "visa",
"country": "US",
"created_at": 1781775977
}
]
}

Client ID or API key isn’t active or invalid!

Account isn’t activated. Please wait or contact to support!

IP address was temporary blocked, because during short time from it was sent many request with invalid credentials. Please wait and try later.

Code Samples

curl -s 'https://api.lox24.eu/payment-methods' \
-H 'X-LOX24-AUTH-TOKEN: YOUR_API_TOKEN' | jq