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"
}
'const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
email: 'merchant@smartpay.sl',
name: 'Smart PAY Merchant',
phone_number: '0771234567'
})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/processors/{id}', 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/{id}"
payload = {
"email": "merchant@smartpay.sl",
"name": "Smart PAY Merchant",
"phone_number": "0771234567"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){}{}{}{}Processors
Update processor details
Update name, phone number, or email of an existing processor
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"
}
'const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
email: 'merchant@smartpay.sl',
name: 'Smart PAY Merchant',
phone_number: '0771234567'
})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/processors/{id}', 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/{id}"
payload = {
"email": "merchant@smartpay.sl",
"name": "Smart PAY Merchant",
"phone_number": "0771234567"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){}{}{}{}Authorizations
JWT token from admin login for administrative operations. Format: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'
Path Parameters
Processor ID
Body
application/json
Updated processor details
Response
Processor updated successfully
The response is of type object.
⌘I