Skip to main content
POST
/
api
/
v1
/
processors
/
:id
/
suspend
Suspend Processor
curl --request POST \
  --url https://api.example.com/api/v1/processors/:id/suspend \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "<string>"
}
'

Suspend Processor

Suspend a processor to prevent them from processing transactions.

Endpoint

POST /api/v1/processors/:id/suspend

Authentication

Authorization
string
required
Bearer token (Admin JWT)

Path Parameters

id
string
required
Processor UUID

Request Body

reason
string
Suspension reason (e.g., “Suspected fraudulent activity”)

Response

{
  "success": true,
  "message": "Processor suspended successfully"
}

Effects

  • Processor status changes to suspended
  • All POS transactions are rejected
  • Dashboard access is blocked
  • API key is deactivated

Errors

CodeDescription
400Invalid request
404Processor not found
401Unauthorized