Create bulk transfers
This endpoint allows to create up to 5000 transfers with a single call. It acts exactly as if you called the POST /v2/transfers
endpoint 5000 times yourself, except you don't need to worry about rate limiting. It also allows you to get an aggregated state for this bulk.
This endpoint does not perform the transfers synchronously, a 200 OK
response means the bulk will be handled in the near future. You can either poll the GET
endpoint or use the webhooks to follow its progress.
Note that the completion of a bulk does not mean all transfers are settled, it only means the transfers were initiated (the equivalent of a call to POST /v2/transfers
).
POST
/v2/transfers/bulks
curl \
-X POST https://api.memo.bank/v2/transfers/bulks \
-H "Content-Type: application/json" \
-d '{"transfers":[{"amount":500,"beneficiary_name":"John Doe","beneficiary_iban":"FR2512739000308553756377J95","local_iban":"FR6430003000509825397888D64","type_strategy":"instant_if_available","scheduled_date":"2022-12-05","message":"invoice no12345","end_to_end_id":"b0bfb42baa2642c2af0ca3e880fcd590","internal_note":"phone bill","custom_id":"637406efda8534de8c0e","custom_metadata":"This is some metadata"}]}'
Request examples
{
"transfers": [
{
"amount": 500,
"beneficiary_name": "John Doe",
"beneficiary_iban": "FR2512739000308553756377J95",
"local_iban": "FR6430003000509825397888D64",
"type_strategy": "instant_if_available",
"scheduled_date": "2022-12-05",
"message": "invoice no12345",
"end_to_end_id": "b0bfb42baa2642c2af0ca3e880fcd590",
"internal_note": "phone bill",
"custom_id": "637406efda8534de8c0e",
"custom_metadata": "This is some metadata"
}
]
}
Response examples (200)
{
"id": "fe98f29d-5165-45ff-83f9-d7aa83e970b5",
"transfers_total": 3000,
"transfers_confirmed": 1552,
"transfers_canceled": 2,
"transfers_failed": 57,
"status": "pending"
}