Payment Batches
Create a payment batch
Creates an empty batch. Add recipients with the recipient endpoints, then start the payouts with POST /api/v1/payment-batch/{batchId}/withdraw. Requires the PAYMENT_BATCH.CREATE key permission.
post/api/v1/payment-batch
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
{
"sourcePaymentMethod": {
"currencyCode": "USD"
}
}Response
The batch was created
Example response
{
"data": {
"sourcePaymentMethod": {
"currencyCode": "USD"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.