Create Quote
Changed onThis request asks for the bid price (buy side) between your target and base currencies.
get/v1/forex/rates/{id}
Request
- Base URLhttps://api.paymongo.com
- URLhttps://api.paymongo.com/v1/forex/rates/{id}
- AuthHTTP 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
- info
endpoint added
- info