Create a payout (CNY)
POST /v2/b2b/currents/createCnyOrder
Request
{
"instructedAmount":{
"currency":"String",
"amount":10
},
"exchange":{
"originCurrency":"String",
"targetCurrency":"String"
},
"remittancePurposeCode": "String",
"outOrderId":"String",
"receiver":{
"bankCountry":"String",
"bankName":"String",
"bankAccountCurrency":"String",
"bankAccountNumber":"String",
"bankAccountName":"String",
"bankCode":"String",
"bankBranchName":"String",
"province":"String",
"city":"String",
"idCardNumber":"String",
"cardHoldType":"String"
},
"type": "String",
"platform": "String"
}
| Parameter | Type | Requried | Description |
|---|---|---|---|
instructedAmount.currency | string | Yes | the currency code. See section Appendix A - Currency Codes for the currencies enum. |
instructedAmount.amount | number | Yes | Received amount |
exchange.originCurrency | string | Yes | Payer account currency. See section Appendix A - Currency Codes for the currencies enum. |
exchange.targetCurrency | string | Yes | Receiver account currency. See section Appendix A - Currency Codes for the currencies enum. |
outOrderId | string | No | External system order number |
remittancePurposeCode | string | Yes | Remittance Purpose Code. See section Appendix C - Remittance Purpose Code for the country enum. |
type | string | Yes | WITHDRAW,SUPPLIER |
platform | string | No | platform |
receiver.bankCountry | string | Yes | Bank Location.See section Appendix B - Country or Area for the country enum. |
receiver.bankName | string | Yes | Bank name. |
receiver.bankAccountCurrency | string | Yes | account currency. |
receiver.bankAccountNumber | string | Yes | bank card id |
receiver.bankAccountName | string | Yes | The name on the card |
receiver.bankCode | string | No | bank code |
receiver.bankBranchName | string | No | bank address |
receiver.province | string | No | province |
receiver.city | string | No | city |
receiver.idCardNumber | string | Yes | ID number |
receiver.cardHoldType | string | Yes | Personal |
Response
{
"code": 0,
"message": "OK",
"data": {
"payMoney": {
"currency": "String",
"amount": 5.05
},
"targetMoney": {
"currency": "String",
"amount": 10.00
},
"serviceCharge": {
"feeRate": null,
"cutFeeRate": null,
"fee": {
"currency": "String",
"amount": 0.05
},
"cutFee": {
"currency": "String",
"amount": 0.00
},
"finalFee": {
"currency": "String",
"amount": 0.05
},
"fixFee": {
"currency": "String",
"amount": 0.0
},
"lessThanMinPayoutFee": {
"currency": "String",
"amount": 0
},
"minPayout": {
"currency": "String",
"amount": 0.0
}
},
"orderId": "String",
"status": "String",
"failReason": null,
"remark": "String",
"receiver": {
"bizId": "String",
"outOrderId": null,
"bankAccountNumber": "String",
"bankAccountName": "String",
"bankName": "String",
"firstName": "String",
"lastName": null,
"userNick": null
},
"lockRateId": null,
"exchange": {
"originCurrency": "String",
"targetCurrency": "String",
"rateId": null,
"exchangeRate": 2
},
"deliveryDate": null
}
}
| Parameter | Type | Description |
|---|---|---|
payMoney | json | PingPong account should pay amount of money |
targetMoney | json | Receiver finally will receiver amount of money |
serviceCharge.finalFee | json | PingPong Service Charge |
orderId | string | Order ID |
status | string | The payment status, can be one of: pending success fail. |
receiver | json | Receiver Bank Info |
exchange | json | PingPong Exchange Info |
