Endpoint
PUT /clients/business/payouts/{payoutAccountId}
Path parameters
The unique ID of the payout account to update.
Request body
Updated name on the bank account.
Updated bank account number.
Updated name of the bank.
Response
Code examples
curl -X PUT https://stella-thirdparty-api.herokuapp.com/api/v1/clients/business/payouts/PAYOUT_ID \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "SECRET_KEY: YOUR_SECRET_KEY" \
-H "businessId: YOUR_BUSINESS_ID" \
-H "Content-Type: application/json" \
-d '{
"accountName": "Ada Lovelace",
"accountNumber": "9876543210",
"bankName": "Access Bank",
"bankCode": "044"
}'
Example response
{
"status": true,
"message": "Payout account updated successfully"
}