Skip to main content
PUT
/
processors
/
{id}
Update processor details
curl --request PUT \
  --url https://olive-gateway-a6ba.onrender.com/api/v1/processors/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "merchant@smartpay.sl",
  "name": "Smart PAY Merchant",
  "phone_number": "0771234567"
}
'
{}

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

Updated processor details

email
string
Example:

"merchant@smartpay.sl"

name
string
Example:

"Smart PAY Merchant"

phone_number
string
Example:

"0771234567"

Response

Processor updated successfully

The response is of type object.