List All Disbursements
Changed onFetches all disbursements the organization has created. This endpoint supports pagination. The response includes basic aggregations on payments within the disbursement.
Request
- Base URL(relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header Authorization
Query parameters
The page requested.
Define how many results will be returned in the response.
A search term used to query through the disbursement names.
Comma-separated list of disbursement statuses to filter by.
Only return disbursements that are created after this date. Format: YYYY-MM-DD
Only return disbursements that are created before this date. Format: YYYY-MM-DD
Field used to sort disbursements
Direction for sorting disbursements.
Headers
Optional. Narrows the results to a single distribution account. Omit it to cover every account you have access to.
Response
A list of Disbursement details
Example response
{
"pagination": {
"next": "?page=3&page_limit=2",
"prev": "?page=1&page_limit=2",
"pages": 8,
"total": 16
},
"data": [
{
"id": "619da857-8725-4c58-933d-c120a458e0f5",
"name": "Disbursement Name",
"receiver_registration_message_template": "You have a payment waiting for you from {{.OrganizationName}}. Click {{.RegistrationLink}} to register.",
"wallet": {
"id": "5ada9ed5-455a-4782-a0ee-160767e0deb1",
"name": "Vibrant Assist",
"homepage": "https://vibrantapp.com",
"sep_10_client_domain": "api-dev.vibrantapp.com",
"deep_link_schema": "https://vibrantapp.com/sdp-dev",
"created_at": "2023-07-31T20:50:45.648Z",
"updated_at": "2023-07-31T20:50:45.648Z"
},
"asset": {
"id": "ffaec4b3-46b0-4db4-a4c4-6c3508057705",
"code": "USDC",
"issuer": "GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5",
"created_at": "2023-02-03T10:45:51Z",
"updated_at": "2023-02-03T10:45:51Z",
"deleted_at": "2023-06-03T10:55:51Z"
},
"source_wallet_id": "4c379f5e-09b5-4472-a286-b84e249a1512",
"status_history": [
{
"user_id": "3f351b9e-ed0f-40fa-a314-14757b42dab1",
"timestamp": "2023-02-03T10:45:51Z"
}
],
"file_name": "disbursement-feb-03-2023.csv",
"created_at": "2023-02-03T10:45:51Z",
"updated_at": "2023-02-03T10:45:51Z",
"total_payments": 10,
"total_payments_sent": 8,
"total_payments_failed": 1,
"total_payments_remaining": 1,
"amount_disbursed": "800.00",
"total_amount": "1000.00",
"average_amount": "100.00"
}
]
}Changes
- warning
added the new
CANCELEDenum value to the//response property for the response status - warning
added the new
CANCELEDenum value to the////response property for the response status - info
added the new optional
headerrequest parameterX-Wallet-Id - info
added the new enum value
CANCELEDto thequeryrequest parameterstatus - info
added the optional property
//to the response with the status
- warning
- breaking
for the
queryrequest parameterdirection, default value was changed fromasctodesc
- breaking