/merchant/psp/sub-merchant/open-partner Submit Sub-merchant Profile
Background
A primary PSP or ISV uses this call to create the secondary onboarding record and save its profile. The platform identifies the parent from the signed request’s X-Merchant-Id, inherits its access mode, and sets the merchant level to 2. Do not create an empty draft first or send onboardingNo, parent, accessMode, or merchantLevel in the body. A valid request returns onboardingNo in draft status. A failed check creates no record.
After a successful call, the profile cannot be changed through the API. Under the same primary merchant, each subMerchantNo can succeed only once.
The next two steps:
- Upload onboarding file: may be called more than once, and only while the status is
draft. Upload at least one file in each of the five required categories. - Confirm submission: runs the checks again. On success the status becomes
pendingReview.
After approval or rejection, the result is sent to the configured callback URL. See Sub-merchant creation webhook. This endpoint does not accept notifyUrl.
Call Sequence
sequenceDiagram
autonumber
participant M as Primary merchant
participant A as adopay
M->>A: Submit the sub-merchant profile
A-->>M: status = draft, return onboardingNo
loop Upload each required document
M->>A: Upload an onboarding file, repeatable
A-->>M: Return fileId
end
M->>A: Confirm submission
A-->>M: status = pendingReviewIntegration
The request headers X-Merchant-Id, X-Timestamp, X-Nonce, Digest, and Authorization are required. They are not repeated in the business field table below. X-Merchant-Id is the primary merchant number. Request replay protection uses X-Nonce. This endpoint does not accept seqNo.
Endpoint
| Item | Value |
|---|---|
| Method | POST |
| Path | /merchant/psp/sub-merchant/open-partner |
| Content-Type | application/json |
| Purpose | Validate and create a sub-merchant onboarding record in draft status |
Request Fields
| Field | Location | Type | Length | Required | Description |
|---|---|---|---|---|---|
subMerchantNo | Body | string | 64 | Yes | Sub-merchant number. Must not duplicate an existing onboarding record under the same primary merchant. |
subMerchantName | Body | string | 128 | Yes | Sub-merchant name. |
registration | Body | string | 2 | Yes | Registration country. ISO 3166-1 alpha-2. The mapping to documentType is in the enum below. |
documentType | Body | string | 32 | Yes | Document type. See the enum below. |
registrationNo | Body | string | 64 | Yes | Document number. A duplicate against an existing member still succeeds here. The conflict is recorded in statusCode on confirm. |
registered | Body | string | 1024 | Yes | Full registered company address, supported by the company address proof. |
notifyEmail | Body | string | 64 | Conditional | Notification email, not a login. Required for ISV sub-merchants; optional for PSP sub-merchants. Must be a valid email if supplied. |
legalRepName | Body | string | 255 | Yes | Legal representative’s full name. |
legal | Body | string | 2 | Yes | Legal representative’s nationality as a two-letter country or region code. |
legal | Body | string | 32 | Yes | Personal document type. It must match the representative’s nationality; see below. |
legal | Body | string | 128 | Yes | Legal representative’s personal document number, not the company registration number. |
partners | Body | object[] | – | Yes | Shareholders. Include at least one entry with all four fields listed below. |
business | Body | string | 128 | No | Name of the commercial contact responsible for the merchant. Not the business model or description. |
remark | Body | string | 512 | No | Additional onboarding notes. |
industry | Body | string | 32 | Yes | Industry. See the enum below. |
websiteUrl | Body | string | 255 | Yes | Website. |
bizDescription | Body | string | 512 | Yes | Business description. |
bizModel | Body | string | 8 | Yes | Business model. See the enum below. |
products | Body | string[] | - | Yes | Applied product codes. At least one item. See the enum below. Each item must also be within the products enabled for this primary merchant. |
monthly | Body | string | 32 | Yes | Expected monthly transaction amount, sent as a string, for example "100000.00". |
accessModeInfo | Body | object | - | Yes | Access-mode review data. Its structure depends on the merchant access mode. See accessModeInfo fields below. Materials are not in this object. Upload them by category with Upload onboarding file. |
monthly | Body | string | 19 | Yes | Expected monthly transaction count. |
average | Body | string | 32 | Yes | Average order amount. |
collectionScene | Body | string | 16 | Yes | Collection scenario. |
payoutScene | Body | string | 16 | Yes | Payout scenario. |
bankBranchNo | Body | string | 32 | No | Bank branch number. |
bankAccountNo | Body | string | 64 | No | Bank account number. |
This endpoint does not accept onboardingNo, files, file ids, seqNo, notifyUrl, subjectType, or taxNo.
Do not send primary-merchant fields such as login credentials, service region, funds-flow and settlement description, or institutional licences.
Legal representative document types by nationality
All nationalities may use passport. For other documents, use the representative’s nationality, not the company’s country of registration:
| Nationality | Accepted in addition to passport |
|---|---|
BR | rg, cnh |
CN | id_card |
HK | hk_pr |
SG | nric, fin |
| Other | other |
partners[] shareholder fields
| Field | JSON type | Requirement |
|---|---|---|
name | string | Shareholder name, non-empty, up to 255 characters. |
sharePercentage | number | Ownership percentage, 0 to 100 inclusive, up to two decimal places. |
isUbo | boolean | Whether this shareholder is an ultimate beneficial owner. Send true or false; do not omit. |
control | string | direct (direct ownership), indirect (indirect ownership), or other (other control relationship). |
documentType enum
registration uses ISO 3166-1 alpha-2 two-letter country or region codes, for example BR (Brazil) and CN (mainland China). The table lists the document-type mapping. It does not list every country code. For a country that does not appear in the third column, documentType is REGISTRATION_.
| Value | Description | Applicable registration |
|---|---|---|
CNPJ | Brazilian company registration number | BR |
USCC | Unified social credit code | CN |
CRN | Company registration number | HK |
BRN | Business registration | HK |
UEN | Singapore entity number | SG |
REGISTRATION_ | Company registration number | Countries other than BR, CN, HK, and SG |
industry enum
| Value | Description |
|---|---|
ECOMMERCE | E-commerce / retail |
GAMING | Gaming |
DIGITAL_CONTENT | Digital content / streaming |
SAAS | SaaS / software / tools |
TRADE | B2B trade |
PROFESSIONAL_ | Corporate / professional services |
TRAVEL | Travel / hotels / ticketing |
EDUCATION | Education |
LOGISTICS | Logistics / transportation |
FINANCIAL_ | Finance / fintech |
ADVERTISING | Advertising / marketing |
OTHER | Other |
bizModel enum
| Value | Description |
|---|---|
B2B | Business to business |
B2C | Business to consumer |
BOTH | Both B2B and B2C |
products enum
| Value | Description |
|---|---|
pix_cashin | Pix collection |
pix_auto | Pix subscription collection |
pix_cashout | Pix payout |
boleto | Boleto |
ted | TED |
wallet | Wallet |
A product code that is not enabled for the primary merchant is rejected, and nothing is persisted. balance and cashier cannot be applied for.
accessModeInfo fields
Both modes require accessModeInfo. Use the parent merchant’s access mode; do not send accessMode.
PSP merchant
| Field | Type | Length | Required | Description |
|---|---|---|---|---|
pspKybStatus | string | 16 | Yes | Partner-side KYB. See the enum below. |
kyb | string | 10 | Conditional | KYB completion date, YYYY-MM-DD. Required when pspKybStatus is completed. Optional when the status is incomplete. |
uboIdentified | string | 3 | Yes | Whether the ultimate beneficial owner has been identified. See the enum below. |
pspRiskResult | string | 8 | Yes | Risk level assigned by the PSP, not an approval decision. |
diligence | int | 1 | Yes | Due-diligence declaration. See the enum below. This endpoint creates a sub-merchant, so the value must be 1. |
pspKybStatus enum
| Value | Description |
|---|---|
completed | Completed |
incomplete | Incomplete |
uboIdentified enum
| Value | Description |
|---|---|
yes | Ultimate beneficial owner identified |
no | Ultimate beneficial owner not identified |
pspRiskResult enum
| Value | Description |
|---|---|
low | Low risk |
medium | Medium risk |
high | High risk |
Migration note: uboIdentified still takes yes or no. Neither value is valid for pspRiskResult.
diligenceConfirmed enum
| Value | Description |
|---|---|
1 | Due-diligence declaration confirmed |
0 | Not confirmed. This endpoint rejects it |
ISV merchant
| Field | Type | Required | Description |
|---|---|---|---|
diligence | int | Yes | Send 1 to confirm the due-diligence declaration. |
ISV does not require pspKybStatus, kyb, uboIdentified, or pspRiskResult. If supplied, their values must be valid. The notification email (notifyEmail) is required at the top level of the request, not inside accessModeInfo.
Request Example
Both modes use the same endpoint and signing rules. Set X-Merchant-Id to the calling primary merchant’s ID and compute the digest and signature for the actual request body.
POST /merchant/psp/sub-merchant/open-partner HTTP/1.1
Content-Type: application/json
X-Merchant-Id: 92315566000120
X-Timestamp: 1790200000
X-Nonce: 550e8400-e29b-41d4-a716-446655440000
Digest: SHA-256=<Base64 digest>
Authorization: Signature keyId="v1",alg="ES256",headers="(request-target) x-timestamp x-nonce digest",signature="<ES256_SIGNATURE_BASE64>"PSP sub-merchant request body
{
"subMerchantNo": "S10001",
"subMerchantName": "Example Sub Merchant Ltda.",
"registrationCountry": "BR",
"documentType": "CNPJ",
"registrationNo": "12345678000190",
"registeredAddress": "Rua Exemplo 100, São Paulo, BR",
"legalRepName": "Ana Silva",
"legalRepNationality": "BR",
"legalRepDocumentType": "passport",
"legalRepDocumentNo": "EX123456",
"partners": [
{
"name": "Ana Silva",
"sharePercentage": 100,
"isUbo": true,
"controlRelationship": "direct"
}
],
"industry": "SAAS",
"websiteUrl": "https://merchant.example.com",
"bizDescription": "Provide online software and payment services.",
"bizModel": "B2B",
"products": [
"pix_cashin",
"pix_cashout"
],
"monthlyTransactionAmount": "100000.00",
"monthlyTransactionCount": "1000",
"averageOrderAmount": "100.00",
"collectionScene": "ONLINE",
"payoutScene": "SUPPLIER",
"accessModeInfo": {
"pspKybStatus": "completed",
"kybCompletedDate": "2024-12-01",
"uboIdentified": "yes",
"pspRiskResult": "medium",
"diligenceConfirmed": 1
}
}ISV sub-merchant request body
{
"subMerchantNo": "S10002",
"subMerchantName": "Example Sub Merchant Ltda.",
"registrationCountry": "BR",
"documentType": "CNPJ",
"registrationNo": "12345678000190",
"registeredAddress": "Rua Exemplo 100, São Paulo, BR",
"notifyEmail": "onboarding@example.com",
"legalRepName": "Ana Silva",
"legalRepNationality": "BR",
"legalRepDocumentType": "passport",
"legalRepDocumentNo": "EX123456",
"partners": [
{
"name": "Ana Silva",
"sharePercentage": 100,
"isUbo": true,
"controlRelationship": "direct"
}
],
"industry": "SAAS",
"websiteUrl": "https://merchant.example.com",
"bizDescription": "Provide online software and payment services.",
"bizModel": "B2B",
"products": [
"pix_cashin",
"pix_cashout"
],
"monthlyTransactionAmount": "100000.00",
"monthlyTransactionCount": "1000",
"averageOrderAmount": "100.00",
"collectionScene": "ONLINE",
"payoutScene": "SUPPLIER",
"accessModeInfo": {
"diligenceConfirmed": 1
}
}Response Fields
status 200 means the profile has been persisted. The onboarding record is still a draft. It is not approved, and it is not yet pending review.
| Field | Type | Length | Always Returned | Description |
|---|---|---|---|---|
status | int | 4 | Yes | Response code. |
msg | string | 128 | Yes | Corresponds to status. |
data. | string | 36 | Yes | Onboarding number. Pass it back unchanged on upload and confirm. |
data. | string | 64 | Yes | The sub-merchant number from the request. |
data. | string | 16 | Yes | Onboarding status. See the enum below. |
data.status enum
| Value | Description |
|---|---|
draft | Draft. The profile is persisted and has not entered review. |
Response Example
{
"status": 200,
"msg": "sucesso",
"data": {
"onboardingNo": "6f1c0e3a-1b2c-4d5e-8f90-a1b2c3d4e5f6",
"subMerchantNo": "S10001",
"status": "draft"
}
}Business Rules
The following cases do not create an onboarding record. The partner may correct the payload and retry:
- A required field is empty, or an enum or the document type does not match the country.
- For PSP sub-merchants,
kybis missing whenCompleted Date accessModeInfo.ispspKybStatus completed, ordiligenceis notConfirmed 1. productsis empty, contains an unknown product code, containsbalanceorcashier, or is outside the products enabled for the primary merchant.- This
subMerchantNoalready has an onboarding record under the same primary merchant.
Submitting the same subMerchantNo again after success is rejected. The saved profile is not overwritten.