/merchant/submit Confirm Submission
Background
/merchant/submit is the third step of sub-merchant creation. It does not accept new profile fields or file ids. The platform reads the profile persisted by Submit sub-merchant profile and the files attached by Upload onboarding file, then runs the checks again. On success the status becomes pendingReview.
Each of the five required document categories must have at least one file. A missing category prevents submission. Every fileId already attached must belong to this onboarding record.
After pendingReview, both the profile endpoint and the upload endpoint reject this onboarding number. A second confirm is also rejected. The partner keeps the first successful response. The notification after approval or rejection is Sub-merchant creation webhook.
Integration
The request headers X-Merchant-Id, X-Timestamp, X-Nonce, Digest, and Authorization are required. This endpoint does not accept seqNo.
Endpoint
| Item | Value |
|---|---|
| Method | POST |
| Path | /merchant/submit |
| Content-Type | application/json |
| Purpose | Confirm the onboarding record and move it to pending review |
Request Fields
| Field | Location | Type | Length | Required | Description |
|---|---|---|---|---|---|
onboardingNo | Body | string | 36 | Yes | Onboarding number returned by the profile endpoint. |
Request Example
POST /merchant/submit HTTP/1.1
Content-Type: application/json
X-Merchant-Id: 92315566000120
X-Timestamp: 1790200000
X-Nonce: 550e8400-e29b-41d4-a716-446655440002
Digest: SHA-256=<Base64 digest>
Authorization: Signature keyId="v1",alg="ES256",headers="(request-target) x-timestamp x-nonce digest",signature="<ES256_SIGNATURE_BASE64>"{
"onboardingNo": "6f1c0e3a-1b2c-4d5e-8f90-a1b2c3d4e5f6"
}Response Fields
status 200 means the record is 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. |
data. | string | 64 | Yes | Sub-merchant number. |
data. | string | 16 | Yes | Onboarding status. See the enum below. |
data. | string | 32 | Yes | Document situation. See the enum below. |
data.status enum
| Value | Description |
|---|---|
pendingReview | Pending review. |
data.statusCode enum
| Value | Description |
|---|---|
normal | No duplicate was flagged. This does not guarantee uniqueness. |
document | An enterprise customer with the same document already existed at submission time. This confirmation is not rejected. |
Response Example
{
"status": 200,
"msg": "sucesso",
"data": {
"onboardingNo": "6f1c0e3a-1b2c-4d5e-8f90-a1b2c3d4e5f6",
"subMerchantNo": "S10001",
"status": "pendingReview",
"statusCode": "normal"
}
}Business Rules
The checks use the persisted data:
- The onboarding record belongs to this primary merchant, and the current status is
draft. - Verify the saved registered address, company details, the four legal representative fields and at least one complete shareholder entry. The company document must match its registration country; the personal document must match the representative’s nationality.
- Validate the inherited access mode. Both modes require
diligenceConfirmed = 1. PSP requires valid KYB status, UBO identification and risk level, plus a completion date if KYB is complete. ISV requires a validnotifyEmailbut not the four PSP due-diligence fields. productsis still non-empty and still within the products currently enabled for the primary merchant.- Every
fileIdalready attached belongs to this onboarding record. Eachcategoryhas at most 5 files. subMerchantNois still not used by another onboarding record.- The platform checks for a matching document type and number. A match sets
statusCodetodocument; no match or a lookup failure sets it toDuplicate normal. This flag is not an approval decision.
On success the status becomes pendingReview. Confirming again when the status is already pendingReview is rejected, and the status does not change.