Merchant Trust Management Schemas
API endpoints for establishing and managing merchant trust levels and capabilities.Endpoints
| Method | Endpoint | Description |
|---|---|---|
| PATCH | /v1/provider/merchant/trust | Update merchant trust settings |
| GET | /v1/provider/merchant/trust | Verify merchant trust status |
| GET | /v1/provider/merchant/trust/multiple | List merchants with trust filters |
| GET | /v1/provider/merchant/trust/device-permission | Check device lookup permission |
| POST | /v1/provider/merchant/trust/validate | Validate trust level for operation |
PATCH /v1/provider/merchant/trust
Update trust settings for a merchant to enable advanced features.Request Body
Request Schema
| Field | Type | Required | Description |
|---|---|---|---|
entityId | string | Yes | Merchant entity identifier |
trusted | boolean | Yes | Whether merchant is trusted |
trustLevel | string | No | Trust level (basic, enhanced, premium) |
deviceLookupEnabled | boolean | No | Enable device lookup capability |
Response Schema
GET /v1/provider/merchant/trust
Verify current trust status for a merchant.Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
entityId | string | Yes | Merchant entity identifier |
Response Schema
GET /v1/provider/merchant/trust/multiple
List merchants with trust level filters.Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
trusted | boolean | No | Filter by trust status |
trustLevel | string | No | Filter by trust level |
deviceLookupEnabled | boolean | No | Filter by device lookup capability |
limit | number | No | Number of results to return |
offset | number | No | Number of results to skip |
Response Schema
GET /v1/provider/merchant/trust/device-permission
Check if merchant has permission for device lookup operations.Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
entityId | string | Yes | Merchant entity identifier |
Response Schema
POST /v1/provider/merchant/trust/validate
Validate if merchant meets required trust level for specific operations.Request Body
Request Schema
| Field | Type | Required | Description |
|---|---|---|---|
entityId | string | Yes | Merchant entity identifier |
requiredTrustLevel | string | Yes | Required trust level for operation |
Response Schema
Trust Levels
| Level | Description | Capabilities |
|---|---|---|
basic | Standard payment processing | Basic billing operations |
enhanced | Additional capabilities | Device lookup, higher limits |
premium | Full feature access | Recurring billing, priority support |
Trust Status Schema
| Field | Type | Description |
|---|---|---|
entityId | string | Merchant identifier |
trusted | boolean | Whether merchant is trusted |
trustLevel | string | Current trust level |
deviceLookupEnabled | boolean | Device lookup capability |
lastVerified | string | Last verification timestamp |