post
https://api.durianpay.id/v1.0/global/customers
The following endpoint registers a customer. A customer is your end customer who sends a payout.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
- A customer is the sender of a payout (the originator). It is not the beneficiary, which receives the payout. See Customer Object.
- This call checks only the base fields. The API checks the values of the corridor's
customer.fieldswhen you create the payout. See When the API checks the requirements. - Use this endpoint only in a setup with customers. In a setup without customers, the API returns
CUSTOMER_NOT_ALLOWED(4030025). See Customers. - Send
customerType:individualorbusiness. Use the samecustomerTypethat you sent to the Fetch Corridor Requirements API. - Both types send
partnerReferenceNo,customerTypeandaddress. For anindividual, also sendfullName. For abusiness, also sendbusinessName,registrationNumber,incorporationCountry,incorporationDateandassociates. - For an
individual, senddateOfBirthandnationalitywhen the corridor'scustomer.fieldsrequires them. - The main example is a
businesscustomer (US/USDb2b). The alternative example is anindividualcustomer (US/USDc2c). It assumes that the corridor'scustomer.fieldsforcustomerType=individuallistsfullName,dateOfBirth,sourceOfIncomeandaddress.country. - For the fields, the associates, the statuses and the lifecycle, see Customer Object.
- If you send the same
partnerReferenceNoand the same request body again, the API returns the existing customer withadditionalInfo.replayed: true. With a different request body, the API returnsPARTNER_REFERENCE_NO_CONFLICT(4090001). See Idempotency and repeated requests.
