Disbursements
Get past runs for a disbursement
Changed onget/v1/companies/{company_id}/disbursements/{disbursement_id}/runs/past
Request
- Base URLhttps://api.newmoneycompany.com
- AuthHTTP basic
Path parameters
company_idstring required
Company ID (c_xxxxxxxx)
disbursement_idstring required
Disbursement ID (ds_xxxxxxxx)
Response
Array of past runs of the disbursement
Example response
{
"data": [
{
"id": "dss_2si6ycfa",
"disbursement_id": "ds_d8so1dsf",
"scheduled_time": "2024-11-21 17:30:36.233+00",
"actual_start_time": "2024-11-21 17:32:03.995384+00",
"payees": [
{
"result_id": "dsr_d4so1dsf",
"id": "dss_d4so1dsf",
"disbursement_id": "ds_d8so1dsf",
"schedule_id": "dss_2si6ycfa",
"company_id": "c_43o5nb06",
"amount": 801,
"currency": "USD",
"result": "SUCCESS",
"invoice_id": "i_nx7uwzkz",
"run_time": "2024-11-21 17:32:04.314+00"
}
],
"total_amount": {
"USD": 801
}
}
]
}Changes
- info
endpoint added
- info