This request asks for the bid price (buy side) between your target and base currencies.

get/v1/forex/rates/{id}

Request

  • Base URL
    https://api.paymongo.com
  • URL
    https://api.paymongo.com/v1/forex/rates/{id}
  • Auth
    HTTP basic

Path parameters

idstring required

ID of the Rate

Headers

Authorizationstring required

Retrieved from the authentication service

Response

200

Example response

{
  "data": {
    "id": "qt_123sampleid",
    "type": "quote",
    "attributes": {
      "client_id": "client_123sampleid",
      "external_id": "01sample-0fid-7ff9-bab3-805sampleidb6",
      "base_currency": "PHP",
      "target_currency": "USDC",
      "provider": "PDAX",
      "side": "buy",
      "quantity": "17.26",
      "price": "57.924",
      "total_amount": "1000.0",
      "expires_at": "2025-03-19T05:28:55.205Z",
      "created_at": 1742362120,
      "updated_at": 1742362120
    }
  }
}

Changes