Create Exchange Order
Create Exchange Order
Request URL
POST
https://rem-api-sandbox.pagsmile.com/remittance/exchange/create
Request Header
Name | Type | Description |
---|---|---|
Content-Type* | string | application/json; charset=UTF-8 |
Request Body
Refer to : common
Biz_data
Name | Type | Description |
---|---|---|
merchant_id* | long | Merchant ID |
order_no* | string | Order number. Globally unique. |
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
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