Skip to main content

Pay-Out · Philippines

TOPPAY TeamAbout 2 min

Request

The Pay-Out API initiates disbursement transactions. This page is for the Philippines (country code ph). bankCode values for the Philippines are in Regional Payment Guide — Philippines.

Request URL

Domain: Prefer unified host openapi.toppayment.com (path unchanged); legacy country domain (e.g. global-ph-openapi.toppayment.com) remains available.

EnvironmentURL
Sandboxhttps://openapi.toppayment.com/sandbox/ph/disbursement/cash
Productionhttps://openapi.toppayment.com/ph/disbursement/cash

Request Header

FieldRequiredTypeDescription
Content-TypeMStringapplication/json

Request Body

FieldRequiredTypeDescription
mchNoMString(32)Merchant number
orderNumMString(50)Merchant order number
amountMNumber(32,8)Amount
bankCodeMString(32)Bank/wallet code (Philippines) — Regional Payment Guide — Philippines
bankCardMString(50)Account or wallet number
accountNameMString(50)Account name
descriptionOString(255)Description
feeTypeMNumberFee type
0: Deduction within the order
1: Handling fee is calculated separately
downNotifyUrlMString(164)Callback URL
timestampMStringRequest timestamp (13 digits)
signMStringSee Signature

Request Body Example

Content-type: application/json

Response

FieldRequiredTypeDescription
successMBooleanSuccess
codeMString9999 = success; otherwise resolve via status codes before treating as final failure
msgOStringMessage
timeStampMNumberServer time (ms)
dataMObjectstatus, statusMsg, bankCode (Philippines) — Regional Payment Guide — Philippines
{
    "success": true,
    "code": "9999",
    "msg": "…",
    "timeStamp": 1767772957433,
    "data": {
        "orderNum": "PHPPROD12345617",
        "platOrderNum": "TRANS2008811496544403456",
        "amount": 100,
        "fee": 2,
        "feeType": 1,
        "status": 1,
        "statusMsg": "ORDER_RECEIVED_PROCESSING",
        "bankCode": "GCASH",
        "bankCard": "09270322921",
        "accountName": "maya",
        "description": "test"
    }
}

Notification

HTTP Request

FieldRequiredTypeDescription
Content-TypeMStringHTTP request content type
Fixed value: application/json
Indicates JSON request format

Notification Body

FieldRequiredTypeDescription
platOrderNumMStringPlatform order number
System-generated internal transaction reference
Used for internal transaction management and support
versionMStringVersion
API version identifier
Example: v1
orderNumMStringMerchant order number
Same as orderNum in the original request
Used for transaction identification and verification
amountMNumberTransaction amount
Confirmed transaction amount
feeMNumberFee
Fee charged for the transaction
feeTypeMNumberFee type
1: Merchant bears the fee
statusMNumberTransaction status
See Transaction Status Codes
statusMsgMStringStatus message
Human-readable order status description
Example: supplement success!
bankCodeMStringBank code (Philippines)
See Regional Payment Guide — Philippines
bankCardMStringBank card number/account number
Payee bank account number or wallet ID
accountNameMStringAccount name
Payee account name
descriptionOStringDescription
Transaction purpose or description
signMStringSignature
Digital signature of callback data
Used to verify callback authenticity

Response

Important response

Notification response: Return only the string SUCCESS to acknowledge receipt of the notification

{
    "platOrderNum": "TRANS2008812168572567552",
    "version": "v1",
    "orderNum": "PHPPROD12345648",
    "amount": 111,
    "fee": 3,
    "feeType": 1,
    "status": 2,
    "statusMsg": "supplement success!",
    "bankCode": "GCASH",
    "bankCard": "09270322921",
    "accountName": "maya",
    "description": "test",
    "sign": "KCitZCmhtuoGtVOl/EC4Mn1vwf3QRkoL9Ged0psKiCzATvP0AePNc8P1PEcWrbJYAPctewCRO9jW+vHjtXrh6ozk2OUvVDUlLTiM3PS7ydpeogy+W6w3b4OZDg5vUtaTVwz5mpEKBZv/XEhOes1C16+ec36PLp3Mi0Y0g4ivgwk="
}