Create Quote

The following endpoint creates a quote that locks the price of one payout.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
🚧

The quote must match the payment account

Use the payout rail, the destination country and the destination currency of the payment account that you will use, and the type of its beneficiary. You do not send the payment account in this call. If one of them does not match, the Create Payout API refuses the request with QUOTE_RAIL_MISMATCH, QUOTE_DESTINATION_MISMATCH or QUOTE_BENEFICIARY_TYPE_MISMATCH (4040022).

  • You send the corridor, the payout rail, the beneficiary type and the amount. You do not send a customer reference, a customer type or a beneficiary reference.
  • Each call creates a new quote, even when you send the same request body again.
  • The destination amount must be within the minAmount and maxAmount of the payout rail and beneficiary type. You get these limits from the List Corridors API.
  • If the amount is below the minimum, the API returns AMOUNT_BELOW_MINIMUM (4040013). This HTTP 404 does not mean that the URL is wrong. Read additionalInfo.code.
  • If the amount is above the maximum, the API returns AMOUNT_ABOVE_MAXIMUM (4030002). See Response Code Handling.
  • For the calculation of the amounts, the expiry and the statuses, see Quote Object. For the FX window, see Deadlines.
Body Params
string
required

source_amount fixes the source amount. destination_amount fixes the amount that the beneficiary receives.

amount
object
required

{value, currency} of the side that you fix. currency is IDR for source_amount, and the destination currency for destination_amount. IDR must be whole rupiah. The source currency is always IDR in V1.

string
required

A corridor from the corridor list.

string
required

A corridor from the corridor list.

string
required

A payoutRail from the corridor's supportedPayoutRails.

string
required

individual or business.

Headers
string
required

The request time, RFC 3339 with an offset.

string
required

HMAC-SHA512 of the string to sign, with your client secret as the key, in standard base64.

string
required

Your SNAP client key. It must match the token.

string
required

Required. Use a unique ID for each request. It is not an idempotency key: see Idempotency.

string
required

Required. Any non-empty value is accepted, for example 95221.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json