Create one or more pricing quotes for a payout or payin. Each quote locks an exchange rate and fee breakdown for fixed period. Provide exactly one of source_amount or destination_amount.
On a payin quote, pass split_ids to price the fee from your declared share of a dynamic pricing rule. See Dynamic Fee Split. A payment link or an order created from the quote inherits the quote's splits, so it must not send split_ids of its own. split_ids is rejected on a payout quote.
The destination currency code in ISO 4217 format.
The amount you intend to send, in the smallest unit of the source currency (e.g., cents for USD, paisa for INR). For example, 10000 represents $100.00 in USD.
Provide exactly one of source_amount or destination_amount, not both.
The amount to be received, in the smallest unit of the destination currency.
Provide exactly one of source_amount or destination_amount, not both.
The payment method details to price. pay_via_bank only supports the local_transfer subtype.
Payin only. The platform referral price to apply. When set, the quote's fee breakdown includes a referral_fee.
Payin only. The pricing splits to apply when quoting the fee. Sending split_ids with resource: payout returns a 400 Bad Request. A payment link or an order created from this quote inherits these splits, and must not send split_ids of its own.
[ "psplit_7Kq2mXbTdLp9" ]
- Payout quote using source_amount
- Payout quote using destination_amount
- Payin quote with referral price
- Payin quote priced from a declared dynamic fee split
curl -i -X POST \
https://api.glomopay.com/api/v1/quotes \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"resource": "payout",
"source_currency": "USD",
"destination_currency": "INR",
"source_amount": 10000,
"payment_method": {
"type": "bank_transfer",
"subtype": "swift_transfer"
}
}'{ "quotes": [ { … } ] }