代收 金额最低5000COP 最大3000000COP
当选 TRANSFIYA 支付方式时,phone 手机号必须是真实手机号,不然交易一定失败
当选NET_BANKING支付方式时,phone 手机号和 email 邮箱必须真实,不然有概率失败,因为大部分银行会发验证信息到手机号邮箱
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 {
"data": [
{
"orderId": "76",
"checkoutUrl": "https://elegant-sushi.biz/"
}
],
"resultCode": "63",
"errorCode": "24",
"errorMsg": "mollit irure veniam Excepteur"
}
Modified at 2025-12-05 13:03:25