Skip to main content
POST
Preview Quote

Overview

This page documents the POST /transfer/open/institution/v1/pay/convert/preview endpoint. The full schema, parameters, and examples are rendered from the linked OpenAPI definition above.

Notes

Headers

X-GatePay-Certificate-ClientId
string
required

Merchant client ID assigned when registering the application

Example:

"mZ96D37oKk-HrWJc"

X-GatePay-Signature
string
required

Request signature for verification

Example:

"8504fe097f7297f8952c76e628ce59dbc93d1df64c95f26c73140ef365d4aa1471826ada0534315461682ec35c131d7e133c51d2ab0822fe7366650a111887ba"

X-GatePay-Timestamp
string
required

Millisecond timestamp; the difference from server time must not exceed 30 seconds.

Example:

"1740019013818"

X-GatePay-Nonce
string
required

Random string, recommended length within 32 characters

Example:

"9722139164"

X-GatePay-On-Behalf-Of
string
required

Required delegated-subject header. Provide the initiating account ID for this request. For institution merchant APIs, this is typically the target sub-account ID; for institution charge and transfer APIs, it can be either an institution account ID or a sub-account ID.

Body

application/json
buyCurrency
string
required

Buy currency

sellCurrency
string
required

Sell currency

buyAmount
string

Buy amount (choose one between buyAmount and sellAmount); when both amounts are provided, sellAmount is used.

sellAmount
string

Sell amount (choose one between buyAmount and sellAmount); when both amounts are provided, sellAmount is used.

Response

200 - application/json

Success

status
string
code
string
errorMessage
string
data
object