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"
}
'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
email: 'merchant@smartpay.sl',
name: 'Smart PAY Merchant',
password: 'SecurePass123',
phone_number: '0771234567'
})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/processors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://olive-gateway-a6ba.onrender.com/api/v1/processors"
payload = {
"email": "merchant@smartpay.sl",
"name": "Smart PAY Merchant",
"password": "SecurePass123",
"phone_number": "0771234567"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{}{}Processors
Create new payment processor
Register a new payment processor (merchant) with associated subscriber account
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"
}
'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
email: 'merchant@smartpay.sl',
name: 'Smart PAY Merchant',
password: 'SecurePass123',
phone_number: '0771234567'
})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/processors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://olive-gateway-a6ba.onrender.com/api/v1/processors"
payload = {
"email": "merchant@smartpay.sl",
"name": "Smart PAY Merchant",
"password": "SecurePass123",
"phone_number": "0771234567"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{}{}Authorizations
JWT token from admin login for administrative operations. Format: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'
Body
application/json
Processor details
Response
Processor created successfully
The response is of type object.
⌘I