Create reclaim request
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/processors/{id}/reclaim \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "1000.00"
}
'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({amount: '1000.00'})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/processors/{id}/reclaim', 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}/reclaim"
payload = { "amount": "1000.00" }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{}{}{}Processors
Create Reclaim Request
Submit a request to reclaim funds
POST
/
processors
/
{id}
/
reclaim
Create reclaim request
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/processors/{id}/reclaim \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "1000.00"
}
'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({amount: '1000.00'})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/processors/{id}/reclaim', 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}/reclaim"
payload = { "amount": "1000.00" }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{}{}{}Create Reclaim Request
Submit a request to reclaim (withdraw) funds from processor account. Admin will review.Endpoint
POST /api/v1/processors/:id/reclaim
Authentication
string
required
Bearer token (Processor JWT)
Path Parameters
string
required
Processor UUID
Request Body
string
required
Amount to reclaim (e.g., “1000.00”)
string
Reason for reclaim request
Response
{
"success": true,
"request_id": "reclaim_abc123",
"message": "Reclaim request submitted successfully"
}
Workflow
- Processor submits reclaim request
- Request status is
pending - Admin reviews and approves/rejects
- On approval, funds are transferred
Errors
| Code | Description |
|---|---|
| 400 | Invalid amount or exceeds balance |
| 404 | Processor not found |
| 401 | Unauthorized |
Authorizations
JWT token from admin login for administrative operations. Format: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'
Path Parameters
Processor ID
Body
application/json
Reclaim request details
Response
Reclaim request created successfully
The response is of type object.
⌘I