Rate Resource

The rate of a foreign exchange currency pair

🚧

Beta testing phase

If you are interested in early access to this feature please contact [email protected]!

The Rate resource is used to track the buy and sell price of a forex pair at a certain time.

Sample Rate Resource

{
  "data": {
        "id": "rate_a5ff5ad729e276491b7b6e24",
        "target_currency": "USDT",
        "base_currency": "PHP",
        "provider": "PDAX",
        "buy_price": 57.26,
        "sell_price": 57.28,
        "created_at": 1752816266
    }
}

id string

Unique ID of the resource.


target_currency string

The target currency code. Currently supported are: USDT


base_currency string

The base currency code. Currently supported are: PHP


provider string

The rate provider code. Currently supported are: PDAX


buy_price float

The amount of base_currency that will be received when selling 1 target_currency. This will always be lower than sell_price.

E.g. Selling 1 USDT to PayMongo will grant 57.26 PHP


sell_price float

How much it will cost, in base_currency to for the user to buy 1 target_curency. This will always be higher than buy_price.

E.g. It will cost 57.28 PHP to buy 1 USDT from PayMongo


created_at timestamp

The unix timestamp when the forex Rate was requested to the Provider.