Skip to main content
POST
/
processors
/
{id}
/
suspend
Suspend a processor
curl --request POST \
  --url https://olive-gateway-a6ba.onrender.com/api/v1/processors/{id}/suspend \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "Suspected fraudulent activity"
}
'
{}

Authorizations

Authorization
string
header
required

JWT token from admin login for administrative operations. Format: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'

Path Parameters

id
string
required

Processor ID

Body

application/json

Suspension reason

reason
string
Example:

"Suspected fraudulent activity"

Response

Processor suspended successfully

The response is of type object.