Skip to main content
POST
/
processors
/
{id}
/
transfer
Transfer funds from processor to account
curl --request POST \
  --url https://olive-gateway-a6ba.onrender.com/api/v1/processors/{id}/transfer \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "account_id": "acc_xyz123",
  "amount": "500.00"
}
'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Processor ID

Body

application/json

Transfer details

account_id
string
required

Account ID from accounts table

Example:

"acc_xyz123"

amount
string
required
Example:

"500.00"

description
string
Example:

"Payment for goods"

Response

Transfer completed successfully

The response is of type object.