Retrieves amounts from a transaction that are allocated as invoice payments.
List of allocations retrieved.
Unauthorized access. Invalid credentials used.
Access forbidden.
Resource not found.
$service = new Rebilly\Sdk\CoreService($client); $transactionAllocations = $service->invoices()->getAllTransactionAllocations('invoiceId');
[- {
- "invoiceId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "transactionId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "amount": 0,
- "currency": "USD",
- "_links": [
- {
- "href": "string",
- "rel": "invoice"
}
]
}
]