Get the status of individual collection in a bulk
Path parameters
-
ID of the bulk.
Query parameters
-
status array[string]
Filter collections by status.
Values are
pending
,scheduled
,confirmed
,canceled
, orfailed
. -
page integer(int32)
Index of the requested page.
Minimum value is
1
. Default value is1
. -
size integer(int32)
Number of elements per page in response.
Minimum value is
1
, maximum value is100
. Default value is10
.
GET /v2/collections/bulks/{id}/collections
curl \
-X GET https://api.memo.bank/v2/collections/bulks/6ba07619-24ff-43f3-b1f0-cdc9b06bf8a7/collections
Response examples (200)
{
"results": [
{
"id": "61b05c4f-3f72-4951-8c30-a2a9faaa5184",
"reference": "ab004cfc-99fb-4ba9-bc9c-70982f853cb1",
"amount": 500,
"currency": "EUR",
"mandate": {
"reference": "ABC123DEF",
"scheme": "core"
},
"scheduled_date": "2022-12-05",
"local_iban": "FR6430003000509825397888D64",
"account_id": "708683cb-60f6-464a-a62f-be2e339c34aa",
"status": "failed",
"failure_code": "invalid_mandate_iban",
"message": "invoice no12345",
"end_to_end_id": "b0bfb42baa2642c2af0ca3e880fcd590",
"internal_note": "phone bill",
"custom_id": "637406efda8534de8c0e",
"custom_metadata": "This is some metadata"
}
],
"has_prev": true,
"has_next": true
}