Merchant Management Schemas
API endpoints for onboarding and managing merchants within your provider platform.Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/provider/merchant | Get specific merchant details |
| GET | /v1/provider/merchants | List merchants with filters |
| POST | /v1/provider/merchants | Create merchants in batch |
| PATCH | /v1/provider/merchant | Update merchant information |
GET /v1/provider/merchant
Retrieve details for a specific merchant under your provider account.Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
entityId | string | Yes | Merchant entity identifier |
Response Schema
GET /v1/provider/merchants
List all merchants under your provider account with optional filters.Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
ids | string[] | No | Filter by merchant IDs |
trusted | boolean | No | Filter by trust status |
limit | number | No | Number of results to return |
offset | number | No | Number of results to skip |
Response Schema
POST /v1/provider/merchants
Create multiple merchants in batch for your provider platform.Request Body
Request Schema
| Field | Type | Required | Description |
|---|---|---|---|
merchants | array | Yes | Array of merchant objects |
merchants[].name | string | Yes | Merchant business name |
merchants[].email | string | Yes | Merchant email address |
merchants[].phone | string | No | Merchant phone number |
merchants[].address | string | No | Merchant business address |
merchants[].website | string | No | Merchant website URL |
merchants[].description | string | No | Merchant description |
Response Schema
PATCH /v1/provider/merchant
Update information for an existing merchant.Request Body
Request Schema
| Field | Type | Required | Description |
|---|---|---|---|
entityId | string | Yes | Merchant entity identifier |
name | string | No | Updated merchant name |
email | string | No | Updated email address |
phone | string | No | Updated phone number |
address | string | No | Updated business address |
website | string | No | Updated website URL |
description | string | No | Updated description |
icon | string | No | Updated icon URL |
Response Schema
Merchant Schema (Sensitive Fields Hidden)
When retrieving merchant information as a provider, sensitive fields are hidden for security:| Field | Type | Description |
|---|---|---|
id | string | Merchant identifier |
ref | string | Merchant reference code |
name | string | Business name |
email | string | Contact email |
phone | string | Contact phone |
code | string | Merchant code |
providerId | string | Provider identifier |
userType | string | Always “merchant” |
country | string | Country code |
state | string | State/region |
website | string | Website URL |
description | string | Business description |
icon | string | Business icon URL |
trusted | boolean | Trust status |
trustLevel | string | Trust level |