Retrieves amounts from a transaction that are allocated as invoice payments.
Retrieves amounts from a transaction that are allocated as invoice payments.
$service = new \Rebilly\Sdk\CoreService($client); $transactionAllocations = $service->invoices()->getAllTransactionAllocations('invoiceId');
200
List of allocations retrieved.
401
Unauthorized access. Invalid credentials used.
403
Access forbidden.
404
Resource not found.
[ { "invoiceId": "in_0YVF9605RKC62BP14NE2R7V2XT", "transactionId": "txn_0YVDTQJ8YWDGQACV2N2N5SPWQ0", "amount": 0.1, "currency": "USD", "_links": [ { "href": "string", "rel": "invoice" } ] } ]