Register a merchant
shop.merchant.registerRegisters a merchant with pending status by verifying a wallet-signed sign-in message and returns the terms documents to accept.
Instructions
Register a merchant (status pending). Sign the sign-in message (purpose register, nonce from GET /api/v1/shop/auth/nonce) with the merchant wallet. Returns the documents to accept via shop.merchant.accept_terms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| slug | Yes | ||
| wallet | Yes | ||
| country | Yes | ISO 3166-1 alpha-2 | |
| message | Yes | Signed sign-in message (purpose register). | |
| category | Yes | ||
| site_url | Yes | ||
| signature | Yes | ||
| contact_email | Yes | ||
| payout_wallet | No | ||
| encryption_key | Yes | ||
| recovery_wallet | No | ||
| payout_wallet_base | No | ||
| payout_wallet_tempo | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| status | Yes | ||
| merchant_id | Yes | ||
| docs_to_accept | Yes |