Run in Apifox
Collection and payout amounts in Colombia do not support decimal values.
Colombian mobile numbers must be exactly 10 digits after removing the +57 country code.
For collections in Colombia, the user’s full name, email, and identity ID must be real and verifiable.
If the payment method is NET_BANKING, both phone number and email must be real; otherwise, the transaction may fail, as many banks send verification info via SMS or email. amount not support decimal
Request Body Params application/json
{
"mchOrderId" : "string" ,
"amount" : "string" ,
"firstname" : "string" ,
"currency" : "string" ,
"lastname" : "string" ,
"productinfo" : "string" ,
"email" : "string" ,
"phone" : "string" ,
"callbackUrl" : "string" ,
"redirectUrl" : "string" ,
"noPayPage" : "string" ,
"paymentType" : "NET_BANKING" ,
"ipAddress" : "string" ,
"beneficiaryType" : "CC" ,
"beneficiaryId" : "string" ,
"productUrl" : "string" ,
"paymentMethod" : "string" ,
"bankCode" : "001"
} Request Code Samples
curl --location --request POST '/gateway/base/biz' \
--header 'method: pay' \
--header 'signType: SHA512' \
--header 'serviceName: api.pay' \
--header 'mchId: 1416010331032883200' \
--header 'timestamp: 1631671670' \
--header 'sign: 32554324534545432543' \
--header 'Content-Type: application/json' \
--data-raw '{
"mchOrderId": "string",
"amount": "string",
"firstname": "string",
"currency": "string",
"lastname": "string",
"productinfo": "string",
"email": "string",
"phone": "string",
"callbackUrl": "string",
"redirectUrl": "string",
"noPayPage": "string",
"paymentType": "NET_BANKING",
"ipAddress": "string",
"beneficiaryType": "CC",
"beneficiaryId": "string",
"productUrl": "string",
"paymentMethod": "string",
"bankCode": "001"
}' Responses application/json Generate Code
{
"data" : [
{
"orderId" : "76" ,
"checkoutUrl" : "https://elegant-sushi.biz/"
}
] ,
"resultCode" : "63" ,
"errorCode" : "24" ,
"errorMsg" : "mollit irure veniam Excepteur"
} Modified at 2025-12-05 12:56:10