Learn Center has been sunset. Visit our new Docs site at: docs.canopyservicing.com
logo

Payment Split

Get details on specific line item

Endpoint: /accounts/{account_id}/line_items/{line_item_id}
{ "paging": { "starting_after": "VTJGc2RHVmtYMS9nRC82UitoS2x2NlZiN09Tc2FETGxXZDJkYm40WjFLVW44QVRlb0JnT1dqYWhQZGRpNlBTYWVlcmxMV2c3c3pVMmtBVlNqZEdORFEyMFBDQmJQV2lGSzJaMU43TTh1cU09", "ending_before": "VTJGc2RHVmtYMS9KNkFDa0p0T3FLNmxna0VlVTR2S2xDSnVFdXlUbjJFVlpGVVpWbXYycDBXN1JsSytQTS9zUXJjckR2N3JwQzlOdzdBZTZOcWJWOXRwQUprNElVZmJyN1FkcHRiUTUxRmc9", "has_more": false }, "results": [ { "account_id": "can_163", "line_item_id": "0x1234f13dn0", "effective_at": "2022-10-06T05:11:28-04:00", "created_at": "2022-10-05T17:20:55-04:00", "updated_at": "2022-10-05T17:21:04-04:00", "product_id": "product-2beaf6db-43c1-4485-b960-3f20acafe0e5", "line_item_overview": { "line_item_status": "VALID", "line_item_type": "PAYMENT", "description": "paid am loan: 97000, di 0, am_fee0" }, "line_item_summary": { "original_amount_cents": -100000, "balance_cents": 0, "principal_cents": 0, "interest_balance_cents": 0, "deferred_interest_balance_cents": 0, "am_deferred_interest_balance_cents": 0, "am_interest_balance_cents": 0, "am_fees_balance_cents": 0, "total_interest_paid_to_date_cents": 0 }, "merchant_data": null, "issuer_processor_details": null, "external_fields": null, "line_item_relationships": [ { "type": "PAYMENT_SPLIT", "line_item_id": "can_535", "split_amount_cents": -97000, "paid_down_line_item_id": "test-novo-541", "paid_down_line_item_type": "LOAN" }, { "type": "PAYMENT_SPLIT", "line_item_id": "can_534", "split_amount_cents": -3000, "paid_down_line_item_id": "can_533", "paid_down_line_item_type": "MANUAL_FEE" } ] } ] }