{
"amount": 1000,
"channel": "WeChat",
"currency": "CNY"
}
curl --location --request POST 'https://api.laf.run/v1/accounts/charge-order' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": 1000,
"channel": "WeChat",
"currency": "CNY"
}'
{
"error": "string",
"data": {
"order": {
"_id": "string",
"accountId": "string",
"amount": 0,
"currency": "CNY",
"phase": "Pending",
"channel": "Manual",
"result": {},
"message": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"createdBy": "string"
},
"result": {
"code_url": "string"
}
}
}