Create Exchange Order

Create Exchange Order

Request URL

POST /remittance/exchange/create

Request Body

Refer to : common

Biz_data

Name
Type
Description

merchant_id*

long

Merchant ID

order_no*

string

Order number. Globally unique.

account_no*

string

Account Number

quote_id*

long

Quote ID

sell_currency*

string

Sell Currency

buy_currency*

string

Buy Currency

tx_amount*

string

Transaction Amount

fixed_side*

string

Fixed side

Refer to Fixed Side Default value: SELL

Response

{
    "code": "10000",
    "msg": "Success",
    "data":{
    },
    "random_key":"abssdddd2wdw==",
    "sign_type": "RSA",
    "app_id": "2017051914172236111"
}
Name
Type
Description

order_id*

long

Order ID

merchant_id*

long

Merchant ID

order_no*

string

Order number

order_status*

integer

Order Status

Refer to Order Status

quote_id*

long

Quote ID

sell_currency

string

Sell currency

sell_amount

string

Sell amount

buy_currency

string

Buy currency

buy_amount

string

Buy amount

fixed_side

string

Fixed side

Refer to FixedSide

conversion_rate

string

Conversion Rate

transaction_ids

list<long>

Transaction ID

error_message

string

Error Message

Example

Note: 162************38 is pagsmile's test app id for sandbox

Please use your own app_id when testing.

Last updated

Was this helpful?