Merchants
GET /v1/merchants - List merchants
Query parameters
Parameter
Type
Description
Example request
Example response
POST /v1/merchants - Create merchant
Request body
Field
Type
Required
Validation
Description
Example request
Example response
GET /v1/merchants/{merchant_id} - Get merchant by ID
URL parameters
Parameter
Type
Description
Example request
Example response
PATCH /v1/merchants/{merchant_id} - Update merchant
URL parameters
Parameter
Type
Description
Request body
Field
Type
Required
Validation
Description
Example request
Example response
DELETE /v1/merchants/{merchant_id} - Delete merchant
URL parameters
Parameter
Type
Description
Example request
Example response
Common error responses
401 Unauthorised
403 Forbidden (missing ability)
404 Not found
422 Unprocessable Entity (merchant type change restricted)
422 Unprocessable Entity (merchant deletion restricted)
Code
Meaning
Was this helpful?