Skip to content

/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, parentMerchantNo, 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:

  1. 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.
  2. 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 ​

mermaid
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 = pendingReview

Integration ​

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 ​

ItemValue
MethodPOST
Path/merchant/psp/sub-merchant/open-partner
Content-Typeapplication/json
PurposeValidate and create a sub-merchant onboarding record in draft status

Request Fields ​

FieldLocationTypeLengthRequiredDescription
subMerchantNoBodystring64YesSub-merchant number. Must not duplicate an existing onboarding record under the same primary merchant.
subMerchantNameBodystring128YesSub-merchant name.
registrationCountryBodystring2YesRegistration country. ISO 3166-1 alpha-2. The mapping to documentType is in the enum below.
documentTypeBodystring32YesDocument type. See the enum below.
registrationNoBodystring64YesDocument number. A duplicate against an existing member still succeeds here. The conflict is recorded in statusCode on confirm.
registeredAddressBodystring1024YesFull registered company address, supported by the company address proof.
notifyEmailBodystring64ConditionalNotification email, not a login. Required for ISV sub-merchants; optional for PSP sub-merchants. Must be a valid email if supplied.
legalRepNameBodystring255YesLegal representative’s full name.
legalRepNationalityBodystring2YesLegal representative’s nationality as a two-letter country or region code.
legalRepDocumentTypeBodystring32YesPersonal document type. It must match the representative’s nationality; see below.
legalRepDocumentNoBodystring128YesLegal representative’s personal document number, not the company registration number.
partnersBodyobject[]–YesShareholders. Include at least one entry with all four fields listed below.
businessBodystring128NoName of the commercial contact responsible for the merchant. Not the business model or description.
remarkBodystring512NoAdditional onboarding notes.
industryBodystring32YesIndustry. See the enum below.
websiteUrlBodystring255YesWebsite.
bizDescriptionBodystring512YesBusiness description.
bizModelBodystring8YesBusiness model. See the enum below.
productsBodystring[]-YesApplied product codes. At least one item. See the enum below. Each item must also be within the products enabled for this primary merchant.
monthlyTransactionAmountBodystring32YesExpected monthly transaction amount, sent as a string, for example "100000.00".
accessModeInfoBodyobject-YesAccess-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.
monthlyTransactionCountBodystring19YesExpected monthly transaction count.
averageOrderAmountBodystring32YesAverage order amount.
collectionSceneBodystring16YesCollection scenario.
payoutSceneBodystring16YesPayout scenario.
bankBranchNoBodystring32NoBank branch number.
bankAccountNoBodystring64NoBank 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.

All nationalities may use passport. For other documents, use the representative’s nationality, not the company’s country of registration:

NationalityAccepted in addition to passport
BRrg, cnh
CNid_card
HKhk_pr
SGnric, fin
Otherother

partners[] shareholder fields ​

FieldJSON typeRequirement
namestringShareholder name, non-empty, up to 255 characters.
sharePercentagenumberOwnership percentage, 0 to 100 inclusive, up to two decimal places.
isUbobooleanWhether this shareholder is an ultimate beneficial owner. Send true or false; do not omit.
controlRelationshipstringdirect (direct ownership), indirect (indirect ownership), or other (other control relationship).

documentType enum ​

registrationCountry 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_NUMBER.

ValueDescriptionApplicable registrationCountry
CNPJBrazilian company registration numberBR
USCCUnified social credit codeCN
CRNCompany registration numberHK
BRNBusiness registrationHK
UENSingapore entity numberSG
REGISTRATION_NUMBERCompany registration numberCountries other than BR, CN, HK, and SG

industry enum ​

ValueDescription
ECOMMERCEE-commerce / retail
GAMINGGaming
DIGITAL_CONTENTDigital content / streaming
SAASSaaS / software / tools
TRADEB2B trade
PROFESSIONAL_SERVICESCorporate / professional services
TRAVELTravel / hotels / ticketing
EDUCATIONEducation
LOGISTICSLogistics / transportation
FINANCIAL_SERVICESFinance / fintech
ADVERTISINGAdvertising / marketing
OTHEROther

bizModel enum ​

ValueDescription
B2BBusiness to business
B2CBusiness to consumer
BOTHBoth B2B and B2C

products enum ​

ValueDescription
pix_cashinPix collection
pix_autoPix subscription collection
pix_cashoutPix payout
boletoBoleto
tedTED
walletWallet

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 ​

FieldTypeLengthRequiredDescription
pspKybStatusstring16YesPartner-side KYB. See the enum below.
kybCompletedDatestring10ConditionalKYB completion date, YYYY-MM-DD. Required when pspKybStatus is completed. Optional when the status is incomplete.
uboIdentifiedstring3YesWhether the ultimate beneficial owner has been identified. See the enum below.
pspRiskResultstring8YesRisk level assigned by the PSP, not an approval decision.
diligenceConfirmedint1YesDue-diligence declaration. See the enum below. This endpoint creates a sub-merchant, so the value must be 1.
pspKybStatus enum ​
ValueDescription
completedCompleted
incompleteIncomplete
uboIdentified enum ​
ValueDescription
yesUltimate beneficial owner identified
noUltimate beneficial owner not identified
pspRiskResult enum ​
ValueDescription
lowLow risk
mediumMedium risk
highHigh risk

Migration note: uboIdentified still takes yes or no. Neither value is valid for pspRiskResult.

diligenceConfirmed enum ​
ValueDescription
1Due-diligence declaration confirmed
0Not confirmed. This endpoint rejects it

ISV merchant ​

FieldTypeRequiredDescription
diligenceConfirmedintYesSend 1 to confirm the due-diligence declaration.

ISV does not require pspKybStatus, kybCompletedDate, 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.

http
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 ​

json
{
  "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 ​

json
{
  "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.

FieldTypeLengthAlways ReturnedDescription
statusint4YesResponse code.
msgstring128YesCorresponds to status.
data.onboardingNostring36YesOnboarding number. Pass it back unchanged on upload and confirm.
data.subMerchantNostring64YesThe sub-merchant number from the request.
data.statusstring16YesOnboarding status. See the enum below.

data.status enum ​

ValueDescription
draftDraft. The profile is persisted and has not entered review.

Response Example ​

json
{
  "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, kybCompletedDate is missing when accessModeInfo.pspKybStatus is completed, or diligenceConfirmed is not 1.
  • products is empty, contains an unknown product code, contains balance or cashier, or is outside the products enabled for the primary merchant.
  • This subMerchantNo already has an onboarding record under the same primary merchant.

Submitting the same subMerchantNo again after success is rejected. The saved profile is not overwritten.

Response Codes ​