Payment Batches
Update a recipient in a batch
Replaces the recipient's account details and amount. Pass paymentMethodId to update that saved account in place. A recipientId that is not in this batch is refused with 400, not 404. Requires the PAYMENT_BATCH.UPDATE key permission.
patch/api/v1/payment-batch/{batchId}/recipients/{recipientId}
Request
- Base URLhttps://sandbox.api.afriex.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"channel": "BANK_ACCOUNT",
"countryCode": "NG",
"amount": {
"value": "15000",
"currencyCode": "NGN"
}
}Response
The saved account. The full recipient shape comes from the recipient list.
Changes
No recorded changes to this operation across all 1 revision of this API.