Api Payout Request Payout API integration paves the way for streamlined, secure, efficient money transfers to various stakeholders, including employees, customers, vendors, and partners.
Request Path: {Base URL}/v2.0/disbursement/pay-out
Field Attribute Type Description Content-Type
M String application/json
X-TIMESTAMP
M String yyyy-MM-ddTHH:mm:ss[zoneOffset]
eg: 2020-12-17T10:55:00+07:00
X-SIGNATURE
M String signature, How to signature X-PARTNER-ID
M String merchant ID
Body Parameters Field Attribute Type Description orderNo M String(32) unique no. Focus OrderNumber Rule purpose M String(64) purpose money M Object Object Model Money merchant M Object Object Model Merchant paymentMethod M String(6) Model Object PaymentMethod cashAccount M String(32) the bank card number of Colombia cashAccountType M String(32) the type of cashAccount ,CORRIENTE
or AHORROS
area M Number Fixed value : 16 receiver C Receiver Object Trading beneficiaries. Refer to Data Receiver callbackUrl O String(256) notify address productDetail O String(128) production description
Example Body – Disbursement Request: Header Min Body
POST {Base URL}/v2.0/disbursement/pay-out HTTP/1.2
Content-type: application/json
X-TIMESTAMP: 2020-12-17T10:55:00+07:00
X-SIGNATURE: 7MHd9v5/m9JeqmDZVwWBZUZ5J5...7120QnFEny7Qm7uQR1G0TWCh10fsU6nVxiRoeoQ==
X-PARTNER-ID: 20001
{
"additionalParam" : { } ,
"area" : 16 ,
"cashAccount" : "12532481501" ,
"cashAccountType" : "CORRIENTE" ,
"receiver" : {
"idType" : "CC" ,
"identity" : "12345678909" ,
"name" : "test" ,
"phone" : "12345678909" ,
"email" : "[email protected] "
} ,
"merchant" : {
"merchantId" : "20001"
} ,
"money" : {
"amount" : 10000 ,
"currency" : "COP"
} ,
"orderNo" : "2000102900000000000001" ,
"paymentMethod" : "BCP" ,
"purpose" : "Purpose For Disbursement from Java SDK"
}
Response HTTP Request Field Attribute Type Description Content-Type M String application/json
X-TIMESTAMP M String yyyy-MM-ddTHH:mm:ss[zoneOffset]
eg: 2020-12-17T10:55:00+07:00
Body Parameters Field Attribute Type Description code M String success = "00" message M String Response message orderNo M String transaction unique no merchant M Merchant Object Model Merchant disbursementTime M String yyyy-MM-ddTHH:mm:ss-03:00
eg: 2020-12-17T10:55:00-03:00
money M Money Object Model Money channel M Payer channel tradeNo O String smilepayz order no status O String Object Model Status
Example Body – Transaction Request: Header Body
Content-type: application/json
X-TIMESTAMP: 2020-12-17T10:55:00+07:00
{
"code" : "00" ,
"message" : "successful" ,
"orderNo" : "2000102900000000000001" ,
"tradeNo" : "1622000109e998347483949" ,
"status" : "PROCESSING" ,
"disbursementTime" : "2020-12-17T10:55:00-03:00" ,
"merchant" : {
"merchantId" : "20001" ,
"merchantName" : "test" ,
"accountNo" : "2000124234782342"
} ,
"money" : {
"currency" : "COP" ,
"amount" : 10000
} ,
"channel" : {
"paymentMethod" : "BCP" ,
"cashAccount" : "12532481501" ,
"accountName" : "Betty"
}
}
Notification HTTP Request Field Attribute Type Description Content-Type M String application/json
X-TIMESTAMP M String yyyy-MM-ddTHH:mm:ss[zoneOffset]
eg: 2020-12-17T10:55:00+07:00
X-SIGNATURE M String how to check this value
Body Parameters Field Attribute Type Description orderNo M String merchant transaction unique no tradeNo M String smilepayz trade no. merchantId M String merchant id merchantName M String merchant name subMerchantId O String sub merchant id subMerchantName O String sub merchant name paymentMethod M String payment method. transactionTime M String yyyy-MM-ddTHH:mm:ss
status M String Object Model Status money M Object Object Model Money
Return Important
Notification please return only string SUCCESS
Request Response
{
"merchantId" : "20001" ,
"merchantName" : "test" ,
"money" : {
"amount" : 10000.0000 ,
"currency" : "COP"
} ,
"orderNo" : "2000102900000000000001" ,
"status" : "SUCCESS" ,
"tradeNo" : "1622000109e998347483949" ,
"transactionTime" : "2020-12-17T10:55:00+07:00"
}
Prev
Api Payin
Next
Api Refund