Customer account creation
The customer account creation comprises of two API calls. One API endpoint creates a customer bank account using a minimum data needed. The second API calls creates a KYC applicant and extends the amount of personal data stored for the customer. Use the following API requests.
These APIs are required to be used only once. No need to trigger them before each withdrawal request creation.
Create a customer bank account
Creates a bank transfer user profile for a specified customer.
Access to this endpoint requires a valid API key. The API key is sent in the x-api-key
header on requests.
- The external identifier for the customer.
- Request body containing user details.
User successfully created
Bad request
Unauthorized
Conflict
Unprocessable content
Internal server error
POST /api/v2/customer/{id}/bank-transfer/user HTTP/1.1
Host: localhost:8000
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 96
{
"country": "GB",
"currency": "EUR",
"email": "[email protected]",
"firstName": "John",
"lastName": "Doe"
}
{
"data": "User successfully created",
"success": true
}
Create a KYC applicant
Submits KYC applicant information for a customer to the KYC provider.
Access to this endpoint requires a valid API key. The API key is sent in the x-api-key
header on requests.
- Unique identifier of the customer.
- The request body containing applicant information.
KYC applicant was created successfully
Bad Request
Unauthorized
Unprocessable content
Internal server error
POST /api/v2/customer/{id}/bank-transfer/kyc/applicant HTTP/1.1
Host: localhost:8000
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 160
{
"address1": "45 Pitt Street",
"address2": "Level 2, Suite 3",
"postCode": "2000",
"city": "Sydney",
"country": "AU",
"dateOfBirth": "1990-12-25",
"sourceOfFunds": "SALARY"
}
{
"data": "KYC applicant was created successfully",
"success": true
}
Last updated