Customer Decisions Schemas
API endpoints for monitoring customer authorization decisions and billing permissions.Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/merchant/customer-decisions | Get customer decisions with filters |
| GET | /v1/customer-decisions/:id | Get specific customer decision by ID |
GET /v1/merchant/customer-decisions
Retrieve customer decisions with optional filtering parameters.Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
agreementPhrase | string | No | Filter by agreement phrase |
customerId | string | No | Filter by customer ID |
lookupPhrase | string | No | Filter by lookup phrase |
limit | number | No | Number of results to return |
skip | number | No | Number of results to skip |
Response Schema
Customer Decision Schema
| Field | Type | Description |
|---|---|---|
id | string | Decision identifier |
customerId | string | Customer identifier |
entityId | string | Merchant identifier |
agreementPhrase | string | Encrypted agreement phrase |
decision | string | Customer decision type |
spendingLimits | object | Customer spending limits |
spendingLimits.single | number | Single transaction limit |
spendingLimits.daily | number | Daily spending limit |
spendingLimits.weekly | number | Weekly spending limit |
spendingLimits.monthly | number | Monthly spending limit |
blockMerchant | boolean | Whether merchant is blocked |
createdAt | string | Decision creation timestamp |
lastUsed | string | Last usage timestamp |
GET /v1/customer-decisions/:id
Get detailed information about a specific customer decision.Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Customer decision ID |
Response Schema
Decision Types
| Decision | Description |
|---|---|
approve_once | Customer approves each transaction individually |
approve_recurring | Automatic approval for future transactions |
deny | Customer declined billing agreement |
suspended | Decision is temporarily suspended |