Payment Methods Endpoint
The Payment Methods endpoint allows you to retrieve the complete list of payment methods you have available for the country specified
Payment Methods API
POST
https://api-stg.directa24.com/api_curl/apd/get_banks_by_country
This endpoint returns a list of the Payment Methods available for a specific country. Use this API to show on your Deposit Page the payment methods available.
Headers
Content-Type*
string
application/x-www-form-urlencoded
Request Body
x_login*
string
Your D24 WEB STATUS API Key, found on the Merchant Panel by going to Settings -> API Access -> Web Status Credentials -> API Key
x_trans_key*
string
Your D24 WEB STATUS API Passphrase, found on Merchant Panel by going to Settings -> API Access -> Web Status Credentials -> API Passphrase
country_code*
string
Country ISO code
type*
string
The format of the response: JSON, XML or STRING. If none is specified the response will be in XML
The same information this endpoint returns can be retrieved from the Merchant Panel by going to the Payment Methods section.
All the requests must be in x-www-form-urlencoded format and contain the following header:
Content-Type: application/x-www-form-urlencoded
Example request
Example response
Request fields description
x_login
string (max length: 32)
Your D24 DEPOSITS API Key, found on the Merchant Panel by going to Settings -> API Access -> Deposit Credentials -> API Key
x_trans_key
string (max length: 32)
Your D24 DEPOSITS API Passphrase, found on the Merchant Panel by going to Settings -> API Access -> Deposit Credentials -> API Passphrase
type
String
Response type. Example: json, xml, pipe
Click here for each payment_type code meaning shown in the get_banks_by_country API response.
Last updated