NaaS — Submerchant Management
Create Static Link
POST /v2/naas/submerchants/static_link — create a permanent static payment link for a sub-merchant.
Creates a static payment link for a sub-merchant. The link resolves the sub-merchant’s slug automatically and routes checkout through their account.
Response
The
The sub-merchant must have completed KYB and have a portal account.
link_path must be unique per sub-merchant and is permanent once created.Payload fields
| Field | Type | Required | Description |
|---|---|---|---|
correlation_id | string (UUID) | Yes | UUID returned by Enroll Sub-merchant. |
link_path | string | Yes | URL path segment. Letters, numbers, _ and - only. Max 32 characters. Must be unique per sub-merchant. |
currency_code | string | Yes | Currency code for this link (e.g. USDT_POLYGON, BTC). |
amount_fiat | number | No | Fixed BRL amount. Omit to allow the payer to enter the amount. |
amount_crypto | number | No | Fixed crypto amount. Mutually exclusive with amount_fiat. |
webhook | string | No | URL that receives a POST notification when the payment completes. |
return_url | string | No | URL the payer is redirected to after checkout. |
Response 201 Created
link is constructed from the sub-merchant’s alias (set via Set Alias). If no alias has been set, an auto-generated slug is used.
400 — missing required fields; link_path format invalid; or link_path already exists for this sub-merchant.
404 — correlation_id not found or does not belong to this master merchant.
422 — sub-merchant has no portal account yet (KYB not completed).

