amount is passed, the request defaults to balance payment. For third-party payment, pass channel and returnUrl. Supported third-party channels currently are Airwallex and YeePay.code: ********************timestamp: ********************signature: ********************{
"amount": 0,
"channel": "balance",
"returnUrl": "http://example.com"
}curl --location 'https://apiv1.simplifly.tech/api/v1/flight/orders//payments' \
--header 'code: <api-key>' \
--header 'timestamp: <api-key>' \
--header 'signature: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"amount": 0,
"channel": "balance",
"returnUrl": "http://example.com"
}'{
"code": 0,
"message": "string",
"realMessage": "string",
"data": {
"id": "string",
"originOrderId": "string",
"externalOrderId": "string",
"parentOrderId": "string",
"orderType": "string",
"status": "string",
"agencyId": 0,
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"lastActionTime": "2019-08-24T14:15:22.123Z",
"property1": "string",
"property2": "string"
}
}