Partner API — v4.3.0
Type: Minor Release · Previous version: v4.2.0
✅ New Endpoints
GET /onchain-preauth/{invoiceId}
Tag: Onchain Preauthorization
Summary: Get preauthorization details
Retrieves the current state and details of a preauthorization, including settlement status and transaction information.
Response Includes
Sender and receiver wallet addresses
Authorized and settled amounts
Current status (e.g., AUTHORIZED, SETTLED, EXPIRED)
Associated transaction hash (if settled)
Creation and last update timestamps
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
invoiceId |
string | Yes | e.g. INV-1001 |
Response Codes
| Code | Description |
|---|---|
| 200 | Preauthorization details |
| 401 | Authentication errors: |
| 403 | Authorization errors: |
| 404 | - Preauthorization not found |
200 — Preauthorization details
{
"transactionId": "b3f9c2a1-8d4e-4a5b-9c12-123456789abc",
"invoiceId": "INV-2026-0001",
"sender": "0x41c528683845350e9bfc937e0f6c72bc999b5cdc",
"receiver": "0xaec528683845350e9bfc937e0f6c72bc999b5123",
"authorizedAmount": "150.75",
"settledAmount": "120.50",
"status": "AUTHORIZED",
"transactionHash": "0xabc123def456...",
"contractAddress": "0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2",
"createdAt": "2026-03-25T10:15:30.000Z",
"updatedAt": "2026-03-25T10:20:45.000Z"
}
401 — Authentication errors:
- Access Denied → Missing or invalid authentication
403 — Authorization errors:
- Access Denied → Access denied for tenant/user
404 — - Preauthorization not found
GET /tenant/customer/pii-customer-details/{customerAccountId}
Tag: Tenant Customers
Summary: Fetch PII data with bank details and full change history
Fetches the user's current PII information and a complete history of changes made to PII data including old/new values, updated by, and timestamp for audit and compliance purposes.
Only the customerAccountId should be provided in the request.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
customerAccountId |
string | Yes | Unique identifier for the customer account. |
Response Codes
| Code | Description |
|---|---|
| 200 | Successfully fetched full PII data with history. |
| 400 | Bad request. Failed to fetch customer PII history. |
| 404 | Customer PII data not found for provided account ID. |
200 — Successfully fetched full PII data with history.
{
"message": "Customer full details fetched successfully",
"data": {
"customerAccountId": "c8abc8ff-8c56-4231-9e55-aaca9698a3d7",
"tenantId": "e1e9adb4-d3bd-4ba5-98b8-011c03a9d2b1",
"firstName": "amber",
"middleName": "donald",
"lastName": "wenny",
"taxId": "122-22-2332",
"ssn": "ssn",
"phone": "+15417543010",
"email": "amber.wenny@mail.com",
"dob": "1997-04-02",
"gidName": "",
"gidDob": "",
"address": {
"city": "New York",
"state": "KY",
"address1": "123 Main St",
"country": "US",
"postalCode": "10001",
"isoCountryCode": "US"
},
"occupation": "Engineer",
"ipAddress": "10.20.121.1",
"latLong": "{}",
"annualSalary": "50000-75000",
"accountPurpose": "Savings",
"gender": "<string>",
"expectedMonthlyVolume": "1000-5000",
"gidPhoto": "string",
"gidCountry": "USA",
"gidState": "California",
"gidIssueDate": "2012-12-12",
"gidExpirationDate": "2012-12-12",
"gidAddress": {
"fullAddress": "Lorem Ipsum 30, 13612 Tallinn, Estonia"
},
"verifiedGender": "string",
"denialCode": "<string>",
"denialReason": "<string>",
"govtIdVerification": "Not Verified",
"poaVerificationStatus": "Not Verified",
"ssnVerificationStatus": "Not Verified",
"bankVerificationStatus": "Not Verified",
"bankAccounts": [
{
"bankLegalName": "US Bank",
"bankAccountHolderName": "John Doe",
"bankAccountType": "Savings",
"bankAccountNumber": "XXXXXX0412",
"bankAbaRoutingNumber": "22440412"
}
],
"namespaces": [
{
"namespace": "<string>",
"isGlobal": "<boolean>",
"isPrimary": "<boolean>",
"customNamespace": "new_namespace"
}
],
"historyData": [
{
"oldDetails": {
"customerAccountId": "cbf2f17a-d0d1-42da-a6cc-cb28f99484ea",
"firstName": "John",
"middleName": "Wick",
"dateOfBirth": "1997-02-02",
"address": {
"city": "New York",
"state": "KY",
"address1": "123 Main St",
"country": "US",
"postalCode": "10001",
"isoCountryCode": "US"
},
"maritalStatus": "married",
"email": "lorem@mygmail.com",
"gender": "male",
"ssn": "<string>",
"selfieContent": "<string>",
"tax": {
"country": "BO",
"idNumber": "134567890",
"state": "US"
},
"governmentDocuments": [
{
"description": "National ID card of the user",
"fileName": "idCard.png",
"side": "front",
"type": "<string>",
"content": "<string>",
"number": "123455",
"issuedCountry": "India",
"expired": false,
"validFromDate": "2012-12-12",
"validTillDate": "2030-12-12"
}
],
"proofOfAddress": [
{
"description": "Credit card statement for Sep 2024",
"fileName": "cc1.png",
"side": "front",
"type": "Utility Bill",
"content": "<string>",
"number": "123455",
"issuedCountry": "India",
"expired": false,
"validFromDate": "2022-01-01",
"validTillDate": "2030-12-31"
}
],
"bankAccountDetails": {
"bankLegalName": "US Bank",
"bankAccountHolderName": "John Doe",
"bankAccountType": "<string>",
"bankAccountNumber": "Ul22440412",
"bankAccountHolderPhoneNumber": "+917347634906",
"bankAccountHolderEmail": "unknown@gmail.com",
"bankAccountHolderAddress": "Lorem Ipsum 30, 13612 Tallinn, Estonia"
},
"verifiedName": "John Wick",
"verifiedDOB": "2012-12-12",
"verifiedPhoto": "string",
"verifiedIDNumber": "string",
"verifiedCountry": "USA",
"verifiedState": "California",
"verifiedIDIssueDate": "2012-12-12",
"verifiedIDExpirationDate": "2012-12-12",
"verifiedAddress": {
"fullAddress": "Lorem Ipsum 30, 13612 Tallinn, Estonia"
},
"verifiedGender": "string",
"occupation": "RETIRED",
"annualSalary": "1000000",
"accountPurpose": "Trading",
"expectedMonthlyVolume": "10000",
"remarks": "Editing first name and date of birth",
"customNamespace": "custom-namespace-123"
},
"newDetails": {
"customerAccountId": "cbf2f17a-d0d1-42da-a6cc-cb28f99484ea",
"firstName": "John",
"middleName": "Wick",
"dateOfBirth": "1997-02-02",
"address": {
"city": "New York",
"state": "KY",
"address1": "123 Main St",
"country": "US",
"postalCode": "10001",
"isoCountryCode": "US"
},
"maritalStatus": "married",
"email": "lorem@mygmail.com",
"gender": "male",
"ssn": "<string>",
"selfieContent": "<string>",
"tax": {
"country": "BO",
"idNumber": "134567890",
"state": "US"
},
"governmentDocuments": [
{
"description": "National ID card of the user",
"fileName": "idCard.png",
"side": "front",
"type": "<string>",
"content": "<string>",
"number": "123455",
"issuedCountry": "India",
"expired": false,
"validFromDate": "2012-12-12",
"validTillDate": "2030-12-12"
}
],
"proofOfAddress": [
{
"description": "Credit card statement for Sep 2024",
"fileName": "cc1.png",
"side": "front",
"type": "Utility Bill",
"content": "<string>",
"number": "123455",
"issuedCountry": "India",
"expired": false,
"validFromDate": "2022-01-01",
"validTillDate": "2030-12-31"
}
],
"bankAccountDetails": {
"bankLegalName": "US Bank",
"bankAccountHolderName": "John Doe",
"bankAccountType": "<string>",
"bankAccountNumber": "Ul22440412",
"bankAccountHolderPhoneNumber": "+917347634906",
"bankAccountHolderEmail": "unknown@gmail.com",
"bankAccountHolderAddress": "Lorem Ipsum 30, 13612 Tallinn, Estonia"
},
"verifiedName": "John Wick",
"verifiedDOB": "2012-12-12",
"verifiedPhoto": "string",
"verifiedIDNumber": "string",
"verifiedCountry": "USA",
"verifiedState": "California",
"verifiedIDIssueDate": "2012-12-12",
"verifiedIDExpirationDate": "2012-12-12",
"verifiedAddress": {
"fullAddress": "Lorem Ipsum 30, 13612 Tallinn, Estonia"
},
"verifiedGender": "string",
"occupation": "RETIRED",
"annualSalary": "1000000",
"accountPurpose": "Trading",
"expectedMonthlyVolume": "10000",
"remarks": "Editing first name and date of birth",
"customNamespace": "custom-namespace-123"
},
"remarks": "Editing first name",
"updatedBy": "default.user@ul.com",
"createdAt": "2025-11-24T19:56:51.070Z"
}
]
}
}
400 — Bad request. Failed to fetch customer PII history.
{
"errors": [
{
"type": "catch",
"message": "Error while fetching full customer pii history."
},
{
"message": "Please provide valid customer id",
"type": "Invalid UUID"
}
]
}
404 — Customer PII data not found for provided account ID.
{
"errors": [
{
"type": "No data found",
"message": "Please provide valid tenant id"
},
{
"type": "No data available",
"message": "There is no such customer account in the given tenant id"
}
]
}
POST /onchain-preauth
Tag: Onchain Preauthorization
Summary: Create preauthorization
Creates a new on-chain preauthorization that reserves (locks) a specified token amount from the sender’s wallet for a future transaction.
The preauthorization can later be:
SETTLED
CANCELLED
EXPIRED (automatically after expiresAt)
Key Notes
The invoiceId must be unique.
The amount represents the maximum authorized amount, not the final settlement amount.
If expiresAt is not provided, a system default expiration is applied.
Sender must have approved sufficient token allowance.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
invoiceId |
string | Yes | Unique invoice identifier provided by the client system. Must be unique per preauthorization request. e.g. INV-2026 |
sender |
string | Yes | Ethereum wallet address of the sender authorizing the funds. e.g. 0x41c528683845350e9bfc937e0f6c72bc999b5cdc |
receiver |
string | Yes | Ethereum wallet address of the receiver who will receive funds upon settlement. e.g. 0xaec528683845350e9bfc937e0f6c72bc999b5123 |
amount |
string | Yes | Maximum amount (in token units) authorized for this preauthorization. Must be a numeric string. e.g. 150.75 |
contractAddress |
string | Yes | ERC20 token contract address used for the preauthorization. e.g. 0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2 |
expiresAt |
string | No | Optional expiration timestamp in ISO 8601 format. If not provided, a default TTL will be applied. e.g. 2026-03-30T12:00:00Z |
Example Request
{
"invoiceId": "INV-2026",
"sender": "0x41c528683845350e9bfc937e0f6c72bc999b5cdc",
"receiver": "0xaec528683845350e9bfc937e0f6c72bc999b5123",
"amount": "150.75",
"contractAddress": "0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2",
"expiresAt": "2026-03-30T12:00:00Z"
}
Response Codes
| Code | Description |
|---|---|
| 201 | Preauthorization created successfully |
| 400 | Possible errors: |
| 401 | Authentication errors: |
| 403 | Authorization errors: |
| 404 | - Wallet not registered |
| 409 | - Invoice already exists |
| 500 | Internal errors: |
201 — Preauthorization created successfully
{
"transactionId": "b3f9c2a1-8d4e-4a5b-9c12-123456789abc",
"invoiceId": "INV-2026-0001",
"amount": "150.75",
"sender": "0x41c528683845350e9bfc937e0f6c72bc999b5cdc",
"receiver": "0xaec528683845350e9bfc937e0f6c72bc999b5123",
"contractAddress": "0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2",
"status": "AUTHORIZED",
"expiresAt": "2026-03-30T12:00:00.000Z"
}
400 — Possible errors:
- Amount must be greater than zero (Provided amount is zero or negative)
- Sender and receiver cannot match (Both wallet addresses are the same)
- Token not active (Token used for preauthorization is inactive or unsupported)
- Invalid expires_at format (Expiry timestamp is invalid or not in proper format)
- Rule engine or approval aggregator errors (Request failed validation, fraud, or business rule checks)
401 — Authentication errors:
- Access Denied → Missing or invalid authentication
403 — Authorization errors:
- Access Denied → Access denied for tenant/user
404 — - Wallet not registered
409 — - Invoice already exists
500 — Internal errors:
- Preauth contract not available
- Insufficient Allowance
- Failed to check preapproval
POST /onchain-preauth/{invoiceId}/settle
Tag: Onchain Preauthorization
Summary: Settle preauthorization
Executes a settlement against an existing preauthorization by transferring tokens from the sender to the receiver.
The settlement amount:
Can be partial or full
Finalizes the preauthorization upon success
Key Notes
Only AUTHORIZED preauthorizations can be settled
Settlement triggers an on-chain transaction
Once settled, the preauthorization status becomes SETTLED
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
amount |
string | Yes | Final amount to be settled. Must be less than or equal to the authorized amount (within allowed limits). e.g. 120.50 |
Example Request
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
invoiceId |
string | Yes | e.g. INV-1001 |
Response Codes
| Code | Description |
|---|---|
| 200 | Settlement successful |
| 400 | Bad Request errors: |
| 401 | Authentication errors: |
| 403 | Authorization errors: |
| 409 | Settlement conflicts: |
| 500 | Internal errors: |
200 — Settlement successful
{
"transactionId": "b3f9c2a1-8d4e-4a5b-9c12-123456789abc",
"invoiceId": "INV-2026-0001",
"authorizedAmount": "150.75",
"settledAmount": "120.50",
"contractAddress": "0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2",
"status": "SETTLED",
"transactionHash": "0xabc123def456..."
}
400 — Bad Request errors:
- Errors occurred while initializing transaction on chain
{
"errors": [
{
"type": "onchain",
"message": "Errors occurred while initializing transaction on chain"
}
]
}
401 — Authentication errors:
- Access Denied → Missing or invalid authentication
403 — Authorization errors:
- Access Denied → Access denied for tenant/user
409 — Settlement conflicts:
- Pre-authorization expired
- Invalid settlement state: REJECTED
- Settlement exceeds authorized amount with allowed tip
- Amount must be greater than zero
500 — Internal errors:
- Settlement failed
✏️ Modified Endpoints
POST /tenant/business-user
Tag: Business User
Summary: Onboard a new business user
Registers a new business user under a tenant.
Used during the initial setup or provisioning of a business account by providing necessary business and contact details.
Added Fields
+ businessEntityId string # Business entity identifier sent to compliance.
+ taxId string # Tax ID for business user
Deprecated Fields
Current Request Example
{
"businessUserLegalName": "Jone Doe",
"domain": "jonedoe",
"accountAddress": "0x5179ba651a8ab0d2da5dc3e54ee6c8aa73272f5eac1",
"businessUserName": "Jone Doe",
"customNamespace": "jonedoebusiness",
"provider": "ens",
"businessUserAddress": {
"address1": "Mr John Smith. 132, 40ft Street, Kingston",
"city": "San Francisco",
"state": "CA",
"isoCountryCode": "US",
"postalCode": "90213"
},
"businessEntityName": "Not Applicable",
"businessEntityId": "BE-10001",
"incorporationDocs": {
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
},
"jurisdictionDocs": {
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
},
"otherDocs": [
{
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
}
],
"entityBeneficialOwners": [
{
"ownershipPercentage": 20,
"ownershipType": 1,
"entityBeneficialOwners": [
{}
],
"individualBeneficialOwners": [
{
"ownershipPercentage": 20,
"ownershipType": 1,
"title": "<string>",
"identification": {
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
},
"isControlPerson": "<boolean>",
"otherDocs": {
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
},
"dob": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"phoneNumber": "9822222",
"phoneType": "<string>",
"taxIdNumber": "122-22-2332",
"taxCountry": "US",
"taxState": "California",
"address": {
"address1": "Lorem Ipsum is simply dummy text",
"city": "Lorem",
"state": "CA",
"isoCountryCode": "US",
"postalCode": "90213"
},
"bankVerificationNumber": "<string>",
"proofOfAddress": {
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
}
}
],
"controlPersons": [
{
"title": "supervisor",
"identification": {
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
},
"documents": [
{
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
}
],
"dateOfBirth": "2000-12-01",
"emailAddress": "test@test.com",
"firstName": "First name",
"lastName": "Last name",
"phoneNumber": "9100000000",
"phoneNumberType": "0",
"taxIdNumber": "122-22-2332",
"address": {
"address1": "Lorem Ipsum is simply dummy text",
"city": "Lorem",
"state": "CA",
"isoCountryCode": "US",
"postalCode": "90213"
},
"bvn": "bn01910190",
"customAttributes": [
{
"name": "name",
"value": "value"
}
],
"proofOfAddress": {
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
}
}
],
"incorporationDocs": {
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
},
"jurisdictionDocs": {
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
},
"legalName": "<string>",
"taxIdNumber": "12-3123123",
"taxCountry": "US",
"taxState": "California",
"phoneNumber": "9800000",
"address": {
"address1": "Lorem Ipsum is simply dummy text",
"city": "Lorem",
"state": "CA",
"isoCountryCode": "US",
"postalCode": "90213"
},
"bvn": "<string>",
"proofOfAddress": {
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
}
}
],
"individualBeneficialOwners": [
{
"ownershipPercentage": 20,
"ownershipType": 1,
"title": "<string>",
"identification": {
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
},
"isControlPerson": "<boolean>",
"otherDocs": {
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
},
"dob": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"phoneNumber": "9822222",
"phoneType": "<string>",
"taxIdNumber": "122-22-2332",
"taxCountry": "US",
"taxState": "California",
"address": {
"address1": "Lorem Ipsum is simply dummy text",
"city": "Lorem",
"state": "CA",
"isoCountryCode": "US",
"postalCode": "90213"
},
"bankVerificationNumber": "<string>",
"proofOfAddress": {
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
}
}
],
"memoFields": {
"name": "<string>",
"value": "<string>"
},
"bankVerificationNumber": "bnk009198",
"businessUserEmail": "lorem@mygmail.com",
"taxId": "122-22-2332",
"phoneNumber": "123456789",
"controlPersons": {
"title": "supervisor",
"identification": {
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
},
"documents": [
{
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
}
],
"dateOfBirth": "2000-12-01",
"emailAddress": "test@test.com",
"firstName": "First name",
"lastName": "Last name",
"phoneNumber": "9100000000",
"phoneNumberType": "0",
"taxIdNumber": "122-22-2332",
"gender": "Male",
"address": {
"address1": "Mr John Smith. 132, 40ft Street, Kingston",
"city": "San Francisco",
"state": "CA",
"isoCountryCode": "US",
"postalCode": "90213"
},
"bvn": "bn01910199",
"customAttributes": [
{
"name": "name",
"value": "value"
}
],
"proofOfAddress": {
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
},
"tax": {
"idNumber": "134567890",
"country": "US",
"state": "NY"
}
},
"registeredOfficeAddress": {
"address1": "Lorem Ipsum is simply dummy text",
"address2": "Lorem Ipsum is simply dummy text",
"city": "Lorem",
"state": "CA",
"isoCountryCode": "US",
"postalCode": "90213"
},
"proofOfAddress": {
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
},
"signatories": [
{
"title": "supervisor",
"identification": {
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
},
"documents": [
{
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
}
],
"dateOfBirth": "2000-12-01",
"emailAddress": "test@test.com",
"firstName": "First name",
"lastName": "Last name",
"phoneNumber": "9100000000",
"phoneNumberType": "0",
"taxIdNumber": "122-22-2332",
"gender": "Male",
"address": {
"address1": "Mr John Smith. 132, 40ft Street, Kingston",
"city": "San Francisco",
"state": "CA",
"isoCountryCode": "US",
"postalCode": "90213"
},
"bvn": "bn01910199",
"customAttributes": [
{
"name": "name",
"value": "value"
}
],
"proofOfAddress": {
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
},
"tax": {
"idNumber": "134567890",
"country": "US",
"state": "NY"
}
}
],
"governingDocuments": [
{
"documentType": "8",
"fileName": "filename.png",
"content": "base64,iVBORw0KGgoAAAANSUhEUgAAAZ4AAAEDCAYAAAAFhGKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA",
"countryCode": "US"
}
],
"clientToken": "CLT",
"badgeId": "2852ea54-b77d-4853-96bb-e9e484765b35"
}
Response Examples
| Code | Description |
|---|---|
| 201 | Returns success when business user is onboarded |
| 400 | Returned when onboarding fails due to validation issues or bad request data |
201 — Returns success when business user is onboarded
{
"data": {
"domain": "jonedoe",
"business_user_name": "jone doe",
"business_user_metadata": {
"email": "lorem@mygmail.com",
"phone": "9540217306",
"legal_name": "jone doe",
"tax_id": "12345",
"businessUserId": "57b99458-f481-4822-b8b3-516d6bd611ca",
"businessUserMetadataId": "57b99458-f481-4822-b8b3-516d6bd611ca",
"business_entity_name": "Not Applicable",
"company_address": {
"address1": "Mr John Smith. 132, 40ft Street, Kingston",
"city": "San Francisco",
"state": "CA",
"isoCountryCode": "US",
"postalCode": "90213"
}
},
"is_active": true,
"created_at": "2022-11-11T09:47:44.007Z",
"start_date": "2022-11-11T09:47:44.007Z",
"end_date": "2022-11-11T09:47:44.007Z",
"tenant_id": "57b99458-f481-4822-b8b3-516d6bd611ca"
},
"message": "Business user onboarded successfully"
}
400 — Returned when onboarding fails due to validation issues or bad request data
[
{
"type": [
{
"type": "Duplicate",
"message": "Business domain already exists"
},
{
"message": "Business user is already registered with provided email id",
"type": "Duplicate"
},
{
"message": "Business's control person is already registered with provided email id",
"type": "Duplicate"
},
{
"type": "onboard",
"message": "error"
},
{
"type": "onboard",
"message": "Business name already exists"
},
{
"type": "onboard",
"message": "Not able to create account"
},
{
"type": "onboard/Identity",
"message": "publicMint.errors[0].message"
},
{
"type": "onboard",
"message": "Not able to onboard business"
}
],
"message": "some error message"
}
]