LogoLogo
Document ValidationsPayment Methods
v1
v1
  • D24 Documentation v1
  • Deposits API
    • Streamline API
      • Deposit Creation Endpoint
        • Notifications
      • Deposit Status Endpoint
      • Payment Methods Endpoint
      • Currency Exchange Endpoint
      • Refund Creation Endpoint
      • Refund Status Endpoint
    • Hybrid API
      • Deposit Creation Endpoint
    • Payment Methods
    • API Codes
  • Cashouts API
    • Easy Cashout API
      • Endpoints
        • Easy Cashout Creation Endpoint
        • Easy Cashout Status Endpoint
        • Easy Cashout V2 Creation Endpoint
      • Notifications
      • Easy Cashout V2 Technical and Security Aspects
        • Calculating the Payload-Signature
Powered by GitBook
On this page
  • Currency Exchange
  • Request fields description

Was this helpful?

  1. Deposits API
  2. Streamline API

Currency Exchange Endpoint

The Currency Exchange endpoint allows you to get the exchange of any local currency compared against USD

Currency Exchange

POST https://api-stg.directa24.com/apd/webcurrencyexchange

This endpoint responds with the conversion of your amount to the countries' local currency

Headers

Name
Type
Description

Content-Type*

string

application/x-www-form-urlencoded

Request Body

Name
Type
Description

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

x_country*

string

Country code in which the amount will be converted

x_amount*

number

Amount in USD to convert. If none is specified "1" is assumed

5.8464

All the requests must be in x-www-form-urlencoded format and contain the following header:

Content-Type: application/x-www-form-urlencoded

Request fields description

Field
Format
Description

x_login

string (max length: 32)

Your D24 DEPOSITS API Key, found on the merchants area: Settings -> API Access -> Deposit Credentials

x_trans_key

string (max length: 32)

Your D24 DEPOSITS API Passphrase, found on the merchants area: Settings -> API Access -> Deposit Credentials

x_country

String (2 chars)

x_amount

Decimal(max 2 decimal numbers)

The amount of USD you want to exchange. Optional. Default: 1

PreviousPayment Methods EndpointNextRefund Creation Endpoint

Last updated 2 years ago

Was this helpful?

The whose currency exchange rate you want to know

country code of the country