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"
}
'{}Register a new payment processor (merchant) with associated subscriber account
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"
}
'{}JWT token from admin login for administrative operations. Format: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'
Processor details
Processor created successfully
The response is of type object.