Payout / Remittance
Create Payout Order
Endpoint
https://{$api_host}/api/remit
Request Parameters
| Field | Key | Required | Signed | Type | Example | Description |
|---|---|---|---|---|---|---|
| Merchant ID | merid | Yes | Yes | string | 10086 | Merchant ID assigned by the platform. |
| Merchant Order No. | tno | Yes | Yes | string | tno1234578910jqk | Merchant order number (max 32 chars, alphanumeric). |
| Amount | amt | Yes | Yes | string | 126.35 | Total amount (2 decimals). |
| Currency | cur | Yes | Yes | string | PHP | Currency code. See currency list. Uppercase required |
| Notify URL | notify_url | Yes | Yes | string | http://www.baidu.com | Async callback URL (retry at 5s/10s/30s/180s/600s on success). |
| Payout Account Info | acct | Yes | Yes | json | { "type": "bankcard", "code": "PH_GCASH", "name": "GCash", "number": "09959350888", "user": "BAOJUNTANG" } | Different payout methods have different structures. See Account (Acct). |
| Extra | extra | No | Yes | string | Extra parameters required by some channels. | |
| Signature | sign | Yes | No | string | c380bec2bfd727a4..... | Signature. See Signature. |
!! Important:
- Non-required fields must be removed from the signature string when empty.
- URL fields must be URL-encoded before signing.
- Amount keeps 2 decimals. Note that
.00may be omitted; pay special attention during signing. - If
acctis provided, it must be flattened during signing. See acct Flattening. acctfields are shown in the “acct examples” in Account (Acct). If you are unsure, you can ignore it for now.
!!! Pay special attention to how payout account info (acct) is handled during signing !!!
Request Example
{
"merid": "10086",
"tno": "sn1234578910jqk",
"amt": "500.26",
"cur": "CNY",
"notify_url": "https://www.baidu.com",
"extra": "",
"acct": {
"type": "bankcard",
"code": "PH_GCASH",
"name": "GCash",
"number": "09959350888",
"user": "BAOJUNTANG"
},
"sign": "9a9cba23f9075ff01b2ed2050f52f42d"
}
Success Response Example
If HTTP status is not 200, or you receive a payload like {"code": 506800,"message": "..."} (i.e. contains code), the order creation failed. Upstream issues may occasionally cause failures; handle this accordingly.
{
"data": {
"sn": "sn123456",
"tno": "tno12345678910jqk",
"amt": "100.00",
"fee": "2.00",
"cur": "CNY",
"ctm": "2008-08-08 08:08:08",
"sts": "submit"
}
}
tips:
- If the HTTP status is 200, payout submission is usually successful.
- During testing, to simulate a payout failure, submit amount
123.45. - During testing, the payout will not actually be credited. A successful submission indicates the flow is correct.
- After testing, contact support to switch to the production payout channel.
See Account (Acct).
Payout Query
Endpoint
https://{$api_host}/api/remit/query
Request Parameters
| Field | Key | Required | Type | Example | Description |
|---|---|---|---|---|---|
| Merchant ID | merid | Yes | string | 10086 | Merchant ID assigned by the platform (not the login account). |
| Platform Order No. | sn | Yes | string | sn1234578910jqk | Platform order number (not your business order number). |
| Merchant Order No. | tno | Yes | string | tno1234578910jqk | Merchant order number. |
| Signature | sign | Yes | string | c380bec2bfd727a4..... | Signature. See the signature algorithm. |
!! Important:
- Platform order number and merchant order number must be provided. At least one must be provided.
- Merchant order number can only query the last 3 days of data.
Request Example
{
"merid": "10086",
"sn": "sn1234578910jqk",
"sign": "9a9cba2119075ff01b2ed2050f52f42d"
}
Response Parameters
| Field | Key | Type | Example | Description |
|---|---|---|---|---|
| Merchant ID | merid | string | 10086 | Merchant ID assigned by the platform (not the login account). |
| Platform Order No. | sn | string | sn12345678 | Platform order number. |
| Merchant Order No. | tno | string | tno1234578910jqk | Merchant order number. |
| Create Time | ctm | string | 2008-08-08 08:08:08 | Order creation time. |
| Amount | amt | string | 126.35 | Order amount. |
| Currency | cur | string | CNY | ISO4217 currency code. |
| Settlement Amount | sett_amt | float | 5.20 | Settlement amount. |
| Status | sts | string | success | success means processed successfully. See Payout Order Status. |
| Signature | sign | string | 1d48ac07237fa.. | Used to verify data integrity. |
Success Response Example
{
"data": {
"sn": "sn123456",
"tno": "tno12345678910jqk",
"amt": "100.00",
"fee": "2.00",
"cur": "CNY",
"ctm": "2008-08-08 08:08:08",
"sts": "submit"
}
}
Payout Order Status
| Status | Description |
|---|---|
| submit | Submitted |
| process | Processing |
| success | Success |
| fail | Failed |
Payout Bank Codes
Philippines Banks (PH-PHP)
| Code | Description |
|---|---|
| PH_ALB | AllBank (A Thrift Bank), Inc. |
| PH_APY | Alipay / Lazada Wallet |
| PH_AUB | Asia United Bank Corporation |
| PH_BCH | Bank of China |
| PH_BDO | BDO Unibank |
| PH_BGB | BanKo, A Subsidiary of BPI |
| PH_BMB | Bangko Mabuhay |
| PH_BOC | Bank of Commerce |
| PH_BPI | BPI / BPI Family Savings Bank |
| PH_BRB | Binangonan Rural Bank (BRBDigital) |
| PH_CBC | China Banking Corporation |
| PH_CBS | China Bank Savings, Inc. |
| PH_CCB | CTBC Bank (Philippines) Corporation |
| PH_CIS | Bayad |
| PH_CLB | Cebuana Lhuillier Bank / Cebuana Xpress |
| PH_CMG | Camalig Bank |
| PH_CPI | CIMB Philippines, Inc. |
| PH_CRD | CARD Bank Inc. |
| PH_DBI | Dungganon Bank (A Microfinance Rural Bank), Inc. |
| PH_DBP | Development Bank of the Philippines |
| PH_DCB | Dumaguete City Development Bank |
| PH_DCP | Coins.ph (DCPay) |
| PH_EQB | Equicom Savings Bank, Inc. |
| PH_ERB | Entrepreneur Rural Bank, Inc./ENTRP |
| PH_EWB | East West Banking Corporation |
| PH_EWR | Komo / EastWest Rural Bank |
| PH_GBY | GrabPay |
| PH_GCASH | GCash |
| PH_GOT | GoTyme Bank |
| PH_IEM | Infoserve / Nationlink |
| PH_ING | ING Bank N.V. |
| PH_IRI | I-Remit / iCASH |
| PH_ISL | ISLA Bank (A Thrift Bank), Inc. |
| PH_LBP | LANDBANK / OFBank |
| PH_LDB | Luzon Development Bank |
| PH_LSB | Legazpi Savings Bank |
| PH_MCB | Mindanao Consolidated CoopBank |
| PH_MET | Metropolitan Bank and Trust Co. |
| PH_MPI | Maybank Philippines, Inc. |
| PH_MSB | Malayan Bank Savings and Mortgage Bank, Inc. |
| PH_MYA | Maya Bank, Inc. |
| PH_NBK | Netbank |
| PH_ONB | BDO Network Bank |
| PH_OPI | OmniPay, Inc. |
| PH_PAR | Partner Rural Bank (Cotabato), Inc. |
| PH_PAS | Pacific Ace Savings Bank |
| PH_PBB | Philippine Business Bank, Inc., A Savings Bank |
| PH_PBC | Philippine Bank of Communications |
| PH_PNB | Philippine National Bank (PNB) |
| PH_PPI | PayMaya Philippines, Inc. |
| PH_PPS | PalawanPay |
| PH_PRB | Producers Bank |
| PH_PSB | Philippine Savings Bank |
| PH_PTC | Philippine Trust Company |
| PH_PVB | Philippine Veterans Bank |
| PH_QCB | Queenbank |
| PH_QRB | Quezon Capital Rural Bank |
| PH_RBG | Asenso |
| PH_RBN | Robinsons Bank Corporation |
| PH_RCI | RCBC/DiskarTech |
| PH_SBA | Sterling Bank of Asia, Inc (A Savings Bank) |
| PH_SCB | Standard Chartered Bank |
| PH_SEA | Seabank |
| PH_SEC | Security Bank Corporation |
| PH_SME | CARD SME Bank |
| PH_SPP | ShopeePay |
| PH_SPY | Starpay |
| PH_SSB | Sun Savings Bank, Inc. |
| PH_TCI | TayoCash |
| PH_TDB | Tonik Bank |
| PH_TPI | TraxionPay/DigiCOOP/COOPNET |
| PH_UBP | Union Bank of the Philippines |
| PH_UCP | United Coconut Planters Bank (UCPB) |
| PH_UDB | UnionDigital Bank |
| PH_UMS | USSC Money Services |
| PH_UNO | UNObank |
| PH_USB | UCPB Savings Bank |
| PH_WDB | Wealth Development Bank |
| PH_ZTI | JuanCash (Zybi Tech Inc.) |
Pakistan Banks (PK-PKR)
| Code | Description |
|---|---|
| PK_EASYPAISA | Easypaisa |
| PK_UPAISA | Upaisa |
| PK_JAZZCASH | JazzCash |