Skip to main content

Api Payout

smilepayz teamsAbout 2 min

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

Header Parameters

FieldAttributeTypeDescription
Content-TypeMStringapplication/json
X-TIMESTAMPMStringyyyy-MM-ddTHH:mm:ss[zoneOffset] eg: 2020-12-17T10:55:00+07:00
X-SIGNATUREMStringsignature, How to signature
X-PARTNER-IDMStringmerchant ID

Body Parameters

FieldAttributeTypeDescription
orderNoMString(32)unique no. Focus OrderNumber Rule
purposeMString(64)purpose
moneyMObjectObject Model Money
merchantMObjectObject Model Merchant
paymentMethodMString(6)Model Object PaymentMethod
cashAccountMString(32)CPF/CPNJ/phone/email/EVP account number
areaMNumberFixed value : 13
receiverCReceiverObject Trading beneficiaries. Refer to Data Receiver
callbackUrlOString(256)notify address
productDetailOString(128)production description

Example Body – Disbursement Request:

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

Response

HTTP Request

FieldAttributeTypeDescription
Content-TypeMStringapplication/json
X-TIMESTAMPMStringyyyy-MM-ddTHH:mm:ss[zoneOffset] eg: 2020-12-17T10:55:00+07:00

Body Parameters

FieldAttributeTypeDescription
codeMStringsuccess = "00"
messageMStringResponse message
orderNoMStringtransaction unique no
merchantMMerchantObject Model Merchant
disbursementTimeMStringyyyy-MM-ddTHH:mm:ss-03:00 eg: 2020-12-17T10:55:00-03:00
moneyMMoneyObject Model Money
channelMPayerchannel
tradeNoOStringsmilepayz order no
statusOStringObject Model Status

Example Body – Transaction Request:

Content-type: application/json
X-TIMESTAMP: 2020-12-17T10:55:00+07:00

Notification

HTTP Request

FieldAttributeTypeDescription
Content-TypeMStringapplication/json
X-TIMESTAMPMStringyyyy-MM-ddTHH:mm:ss[zoneOffset] eg: 2020-12-17T10:55:00+07:00
X-SIGNATUREMStringhow to check this value

Body Parameters

FieldAttributeTypeDescription
orderNoMStringmerchant transaction unique no
tradeNoMStringsmilepayz trade no.
merchantIdMStringmerchant id
merchantNameMStringmerchant name
subMerchantIdOStringsub merchant id
subMerchantNameOStringsub merchant name
paymentMethodMStringpayment method. eg:BCA
transactionTimeMStringyyyy-MM-ddTHH:mm:ss
statusMStringObject Model Status
moneyMObjectObject Model Money

Return

Important

Notification please return only string SUCCESS

{
  "merchantId": "20001",
  "merchantName": "test",
  "money": {
    "amount": 10000.0000,
    "currency": "BRL"
  },
  "orderNo": "2000102900000000000001",
  "status": "SUCCESS",
  "tradeNo": "1022000109e998347483949",
  "transactionTime": "2020-12-17T10:55:00+07:00"
}
Last update: