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

Authorizations

Authorization
string
header
required

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

Body

application/json

Processor details

email
string
required
Example:

"merchant@smartpay.sl"

name
string
required
Example:

"Smart PAY Merchant"

password
string
required
Minimum string length: 6
Example:

"SecurePass123"

phone_number
string
required
Example:

"0771234567"

Response

Processor created successfully

The response is of type object.