Bulk payment allocations
Adding allocations to a Bulk payment
Additional allocations can be added via:
POST /api/batchpayment/
(io)/allocations
[
{
"DocId": "PIN3",
"AllocAmountCurrency": 300
}
]
Note: If a previous allocation exists on PIN3, the allocated amount will be updated to 300.
Updating all allocations to a Bulk payment
All allocations can be replaced (discarding any current allocations):
PUT /api/batchpayment/
(batchPaymentId)/allocations
[
{
"DocId": "PIN3",
"AllocAmountCurrency": 300
}
]
Removing an allocation
An allocation can be deleted by it's ID:
DELETE /api/batchpayment/
{batchPaymentId}/allocations/
{allocationId}