Currency Exchange

Quote Currency Exchange

POST https://sandbox.localpayment.com/api/v2/currency/currency_exchange

Headers

NameTypeDescription

Content-Type*

String

application/json

Authorization*

String

Authorization

customer_id*

String

Customer_id

Request Body

NameTypeDescription

base_currency*

String

base_currency

transaction_type*

String

transaction_type PO= Payout PI= Payin

quote_currency*

String

quote_currency

{
    "quote_date": "1640111344",
    "quote": 101206511,
    "source_quote": 0,
    "valid_from_datetime": "2021-12-21 18:29:47.0000000 +00:00",
    "expiration_datetime": "2021-12-21 18:30:47.0000000 +00:00",
    "base_currency": "USD",
    "quote_currency": "ARS",
    "transaction_type": "PO",
    "ErrorRow": {
        "Errors": [],
        "HasError": false
    }
}

{
"base_currency": "USD",
"quote_currency": "MXN",
"transaction_type": "PO"
}

Quoute is the final value and the last 6 digits are decimals.

Last updated