Skip to main content

Pay-Out · Colombia

TOPPAY TeamAbout 3 min

Request

The Pay-Out API initiates disbursement transactions. This page is for Colombia (country code co). bankCode is the receiving institution string code (see regional guide); bankCard is the beneficiary account or wallet identifier. Colombia Pay-Out also requires accountType, documentType, documentNo, accountPhone, and accountEmail as described below. Full bank list and code tables: Regional Payment Guide — Colombia.

Request URL

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

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

bankCode / bankNameRegional Payment Guide — Colombia.

Request Header

FieldRequiredTypeDescription
Content-TypeMStringapplication/json

Request Body

FieldRequiredTypeDescription
mchNoMString(32)Merchant number
orderNumMString(50)Merchant order number
amountMNumber(32,8)Amount
Colombia: positive, integer or at most 2 decimal places, not all zeros, no three or more decimal places.
bankCodeMString(32)Receiving bank/wallet code — Regional Payment Guide — Colombia
bankCardMString(50)Account / card / wallet number; exact format per gateway and bank
accountTypeMString(32)CORRIENTE / AHORROS / BRE-B / WALLET (case-insensitive) — Regional Payment Guide — Colombia
documentTypeMString(16)CC / CE / NIT / PAS (case-insensitive) — Regional Payment Guide — Colombia
documentNoMString(100)ID number; length is not validated against documentType.
accountPhoneMString(32)Beneficiary phone; must be non-empty; no strict local-format validation.
accountEmailMString(255)Beneficiary email; must be a valid email format
accountNameMString(50)Beneficiary name; max 50; Unicode letters, digits, spaces
descriptionOString(255)Description
feeTypeMNumberFee type
0: Deducted from order amount (net = amount − fee)
1: Fee separate (net = amount)
downNotifyUrlMString(164)Callback URL
timestampMStringTimestamp (13 digits)
signMStringSee Signature

Request Body Example (BANCOLOMBIA + sample account; align with your gateway)

Content-type: application/json

Response

HTTP Response

FieldRequiredTypeDescription
Content-TypeMStringapplication/json

Response Body Parameters

FieldRequiredTypeDescription
successMBooleanRequest success
codeMString9999 = success; otherwise resolve via status codes before treating as final failure
msgOStringMessage
timeStampMNumberServer time (ms)
dataMObjectPayload
orderNumMStringMerchant order number
platOrderNumMStringPlatform order number
amountMNumberAmount
feeMNumberFee
feeTypeMNumberFee type
statusMNumberStatus — Transaction Status Codes
statusMsgMStringStatus message
bankCodeMStringBank code (Colombia) — Regional Payment Guide — Colombia
bankCardMStringAccount number (masked or echoed)
accountNameMStringAccount name
descriptionOStringDescription
Content-type: application/json

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
bankCodeMStringBank code (Colombia)
See Regional Payment Guide — Colombia
bankCardMStringBank card number/account number
accountNameMStringAccount name
descriptionOStringDescription
signMStringSignature
Digital signature of callback data

Response

Important response

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

{
    "platOrderNum": "TRANS2008812168572567552",
    "version": "v1",
    "orderNum": "COPAYOUT12345648",
    "amount": 111.00,
    "fee": 3,
    "feeType": 1,
    "status": 2,
    "statusMsg": "supplement success!",
    "bankCode": "BANCOLOMBIA",
    "bankCard": "1234567890123456",
    "accountName": "Maria Lopez",
    "description": "test",
    "sign": "…"
}