Skip to main content

Payout request for buyer and seller

Notes
  • There is additional fee Rp 2.500 in this page, but at the time we test, there is no additional cuts to recipient nor from xendit.
Endpoint
Endpoint Source Method
Authentication
/payout/request
USAPI
POST Yes
Authentication
Type
Token source
Usage
Bearer

argon2id encryption

vlskdfgn>iow358u2rlwnfe!@23q58qwegdf

"Bearer <string>"

Body request
{
  "username": <string>,
  "amount": <integer>,
  "platform" : <string>,
  "bank_channel": <string>,
  "bank_account_name": <string>,
  "bank_account_number": <string>
}
Properties
Properties of Data type Required notes
username
string yes Username affiliated for payout from USAPI
amount
integer yes minimum amount is 50000
platform
string yes Platform lists:
  • ONDELIVERY
  • ONMARKET
bank_channel
string yes

ID of Bank channel. Click the provided link for the list

Bank List Link

bank_account_name
string yes Bank account holder name.
bank_account_number
string yes Bank account number.
Request example
{
    "username": "usernew1",
    "amount": 60000,
    "platform": "ONMARKET",
    "bank_channel": "ID_BCA",
    "bank_account_name": "TEST",
    "bank_account_number": "000000"
}


Result example

200 (OK)

{
    "message": "PAYOUT PROCESSED"
}
Error example

400 Bad Request

User balance is less than requested amount

{
    "message": "Insufficient Fund"
}

Requested amount is less than minimum amount

{
    "message": "must be >= 10000"
}

Parameter(s) required

{
    "message": "Must have required property <parameter>"
}

500 Internal Server Error

{
    "message": "Internal Error"
}