Create Customer

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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
  • 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.fields when 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: individual or business. Use the same customerType that you sent to the Fetch Corridor Requirements API.
  • Both types send partnerReferenceNo, customerType and address. For an individual, also send fullName. For a business, also send businessName, registrationNumber, incorporationCountry, incorporationDate and associates.
  • For an individual, send dateOfBirth and nationality when the corridor's customer.fields requires them.
  • The main example is a business customer (US/USD b2b). The alternative example is an individual customer (US/USD c2c). It assumes that the corridor's customer.fields for customerType=individual lists fullName, dateOfBirth, sourceOfIncome and address.country.
  • For the fields, the associates, the statuses and the lifecycle, see Customer Object.
  • If you send the same partnerReferenceNo and the same request body again, the API returns the existing customer with additionalInfo.replayed: true. With a different request body, the API returns PARTNER_REFERENCE_NO_CONFLICT (4090001). See Idempotency and repeated requests.
Body Params
string
required

Your stable reference for this customer, 1–64 characters. The customer and its events return it.

string
required

individual or business. Use the customerType of your requirements read.

string

2–140 characters. Required: For a business.

registrationDocument
object

The business registration document: type (a code of enum type registration_document_type), number, issuingCountry and issueDate. Send it when the corridor's customer.fields requires it. In the example, NIB is the Indonesian business identification number. Required: Per requirements.

string

Company registration number. Required: For a business.

string

Incorporation country, as an ISO 3166-1 alpha-2 code. Required: For a business.

string

Incorporation date. Required: For a business.

address
object
required

line1, city, country, postalCode. The corridor's customer.fields give the required subfields.

string

Codes from their published enum types. Send them when the corridor's customer.fields requires them. The US/USD sample requires both. Required: Per requirements.

string

Codes from their published enum types. Send them when the corridor's customer.fields requires them. The US/USD sample requires both. Required: Per requirements.

associates
array of objects

The associates, including ultimate beneficial owners (UBOs). See Associates. Required: For a business.

associates
string

The full legal name, 2–140 characters. Required: For an individual.

string

For an individual. Send it when the corridor's customer.fields requires it. Required: Per requirements.

string

For an individual, as an ISO 3166-1 alpha-2 code. Send it when the corridor's customer.fields requires it. Required: Per requirements.

string

Send it when the corridor's customer.fields requires it. Required: Per requirements.

Headers
string
required

The request time, RFC 3339 with an offset.

string
required

HMAC-SHA512 of the string to sign, with your client secret as the key, in standard base64.

string
required

Your SNAP client key. It must match the token.

string
required

Required. Use a unique ID for each request. It is not an idempotency key: see Idempotency.

string
required

Required. Any non-empty value is accepted, for example 95221.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json