Skip to content

Get a disbursement batch​

GET
/v2/payments/bulk-withdrawals/batches/{id}

Requires DISBURSEMENTS_READ, granted by PAYMENTS_READ or DISBURSEMENTS_WRITE (bundles)

Returns a disbursement batch with its status and totals. While withdrawals in the batch are still pending, feeQuote shows the fees they will incur.

Parameters​

Path Parameters

id*

Batch ID.

Type
string
Required
Example"5b9a3c1e-2f4d-4a7b-9c8e-1d2f3a4b5c6d"
Format
"uuid"

Responses​

OK

application/json
JSON
{
"id": "string",
"label": "string",
"currency": "string",
"totalAmount": "string",
"withdrawalCount": 0,
"status": "string",
"uploadedBy": "string",
"uploadedByName": {
"name": "string",
"surname": "string"
},
"approvedBy": "string",
"approvedByName": {
"name": "string",
"surname": "string"
},
"approvedAt": "string",
"createdAt": "string",
"updatedAt": "string",
"completedAt": "string",
"feeQuote": {
"fee": "string",
"currency": "string",
"withdrawalCount": 0,
"grossTotal": "string",
"requiredTotal": "string",
"feeGroups": [
{
"actionType": "string",
"withdrawalCount": 0,
"grossTotal": "string"
}
]
}
}

Samples​

Errors

HTTPErrorWhen
400BAD_REQUESTA query parameter or field is invalid.
400-11INVALID_REQUESTThe batch ID isn't a valid UUID.
403-16098PAYMENTS_USER_ACCESS_NOT_CONFIGUREDPayments haven't been set up for your business yet.
404NOT_FOUNDNo batch with this ID exists on your account.
500INTERNAL_ERRORUnexpected error in the payments service.
502-16097EXCHANGE_API_ERRORThe payments service failed to process the request.
502EXCHANGE_API_ERRORThe payments service couldn't complete the request. Try again later.
503-16099PAYMENTS_BACKEND_PROXY_DISABLEDPayments endpoints are temporarily unavailable.

Plus the errors common to all signed endpoints.