{
"request_id": "string",
"account_id": "string",
"payment_type": "WECHAT_PAY",
"payment_flow": "SCAN",
"order_description": "string",
"notify_url": "string",
"payment": {
"amount": 0,
"currency": "string",
"expiry_time": "2019-08-24T14:15:22Z"
},
"settlement": {
"currency": "string"
},
"metadata": {
"property1": {},
"property2": {}
}
}
curl --location --request POST 'https://demo-api.easypayx.com/v3/acquiring/payments' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_id": "string",
"account_id": "string",
"payment_type": "WECHAT_PAY",
"payment_flow": "SCAN",
"order_description": "string",
"notify_url": "string",
"payment": {
"amount": 0,
"currency": "string",
"expiry_time": "2019-08-24T14:15:22Z"
},
"settlement": {
"currency": "string"
},
"metadata": {
"property1": {},
"property2": {}
}
}'
{
"id": "string",
"request_id": "string",
"account_id": "string",
"payment_type": "WECHAT_PAY",
"payment_flow": "SCAN",
"order_description": "string",
"notify_url": "string",
"payment": {
"amount": 0,
"currency": "string",
"expiry_time": "2019-08-24T14:15:22Z"
},
"next_action": {
"mweb_url": "string",
"property1": {},
"property2": {}
},
"settlement": {
"currency": "string",
"exchange_rate": "string"
},
"metadata": {},
"status": "INIT",
"create_time": "2019-08-24T14:15:22Z",
"complete_time": "2019-08-24T14:15:22Z"
}