Payment Methods Endpoint
The Payment Methods endpoint allows you to retrieve the complete list of payment methods you have available for the country specified
Last updated
The Payment Methods endpoint allows you to retrieve the complete list of payment methods you have available for the country specified
Last updated
GET
https://api-stg.directa24.com/v3/payment_methods?country={country}
The payment_methods
endpoint allows you to retrieve the complete list of payment methods you have available for the country specified, along with its payment method's type, code, logos and more.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Please find all the country codes in the Countries Specifications section.
The payment_methods
endpoint will show you all the payment methods your account has enabled for the country specified as query params in the request.
It will also show details about each payment method like the payment method code
, the payment method name
, thepayment method type
as well as the payment method logo
and others.
In case of integrating the OneShot Experience and displaying the payment methods on your cashier, make sure you check the payment methods with this API multiple times per day to make sure that in case a new payment method becomes available or unavailable, you will also automatically update it on your cashier without requiring manual intervention from either side.
In order to start using the payment methods endpoint, you need to:
Send the request with GET method.
Specify a valid country code in the request as QUERY PARAMS.
Send the Authorization header with your read-only API Key as Bearer as follows:
Authorization: Bearer your_read_only_key_here
The response will return an object different for each payment method. You should be able to iterate though it no matter how many payment methods are returned.
We may add more fields to this response's object in the future. Please develop your integration considering that it will ignore new fields and continue working fine no matter if we add new fields.
Check the Payment Methods page for the full list of payment methods.
country
string
Country ISO code
Authorization
string
"Bearer " + Read-Only API Key
Field
Format
Description
country
String
code
String
Payment method code that should be used when creating a deposit request
name
String
Payment method name
type
String
Payment method type. Check the Payment Types section for further details
status
String
Status of the payment method. It will be updated in case a payment methods becomes momentaneously unavailable
logo
String
URL containing the payment method logo
daily_average
Number
Daily average time for the approval of the deposits with this payment method in seconds. *Note that in case the method is new, we may not have daily average information so this field won't be returned
monthly_average
Number
Monthly average time for the approval of the deposits with this payment method in seconds. *Note that in case the method is new, we may not have monthly average information so this field won't be returned
payment_type
Description
Icon
BANK_DEPOSIT
Bank deposits
BANK_TRANSFER
Electronic Funds Transfer (TEF)
CREDIT_CARD
Credit and Debit card methods
VOUCHER
Cash solutions