Initiate a SEPA transfer
This endpoint allows you to initiate a SEPA transfer from your account.
Body Required
-
Amount of the transfer, in cents. The currency is always EURO.
Minimum value is
1
. -
beneficiary_name string
Name of the beneficiary. Will be used to create the beneficiary if one doesn't already exist with the same
beneficiary_iban
, will be ignored otherwise. If you know the beneficiary exists, you don't need to provide a name here. -
IBAN of the beneficiary. Note that when you perform a transfer between your own accounts, you can't use a virtual IBAN.
Format should match the following pattern:
[A-Z]{2}[0-9]{2}[a-zA-Z0-9]{1,30}
. -
Existing IBAN to be used as the source of the transfer. Can be the main IBAN of an account or a virtual IBAN. Note that when you perform a transfer between your own accounts, you can't use a virtual IBAN.
Format should match the following pattern:
[A-Z]{2}[0-9]{2}[a-zA-Z0-9]{1,30}
. -
type_strategy string
Determines whether to use an instant transfer (available in a few seconds on the beneficiary account), or a standard transfer (1-3 business days). By default, use an instant transfer if available for the given beneficiary, use a standard transfer otherwise.
Values are
standard_only
,instant_only
, orinstant_if_available
. Default value isinstant_if_available
. -
scheduled_date string(date)
The ISO8601 formatted date on which the transfer will be executed. This date must not be in the past. If not set, the transfer is executed immediately. Setting this date is incompatible with
instant_only
strategy. -
message string
Message attached to this transfer, visible to all involved parties.
-
end_to_end_id string
Unique identification to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain. It can be used for reconciliation or to link tasks relating to the transaction.
Minimum length is
1
, maximum length is35
. Format should match the following pattern:[a-zA-Z0-9\-\?\:\(\)\.\,\'\+\ ]{1,35}
. -
internal_note string
Internal note attached to this transfer, visible only in your Memo Bank workspace.
-
custom_id string
Custom identifier that will be attached to the transaction resulting from this transfer. It will not be transmitted nor visible in your Memo Bank workspace. It can only be retrieved or used to search for transactions via Memo Bank API.
Minimum length is
1
, maximum length is256
. -
custom_metadata string
Custom metadata that will be attached to the transaction resulting from this transfer. It will not be transmitted nor visible in your Memo Bank workspace and can only be retrieved via API.
Minimum length is
1
, maximum length is2048
.
curl \
-X POST https://api.memo.bank/v2/transfers \
-H "Content-Type: application/json" \
-d '{"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"}'
{
"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"
}
{
"id": "61b05c4f-3f72-4951-8c30-a2a9faaa5184",
"reference": "ab004cfc-99fb-4ba9-bc9c-70982f853cb1",
"amount": 500,
"currency": "EUR",
"local_iban": "FR6430003000509825397888D64",
"account_id": "708683cb-60f6-464a-a62f-be2e339c34aa",
"beneficiary_iban": "FR2512739000308553756377J95",
"transfer_type": "standard",
"type_strategy": "standard_only",
"status": "failed",
"failure_code": "insufficient_funds",
"scheduled_date": "2024-05-04",
"message": "invoice no12345",
"end_to_end_id": "b0bfb42baa2642c2af0ca3e880fcd590",
"internal_note": "phone bill",
"custom_id": "637406efda8534de8c0e",
"custom_metadata": "This is some metadata"
}