Simulate an incoming SEPA collection
This endpoint allows you to simulate an incoming SEPA collection to your account.
Body
Required
-
amount
integer(int64) Required Amount of the transfer, in cents. The currency is always EURO.
Minimum value is
1
. -
local_iban
string Required Existing IBAN to be used as the destination of the transfer. Can be the main IBAN of an account or a virtual IBAN.
Format should match the following pattern:
[A-Z]{2}[0-9]{2}[a-zA-Z0-9]{1,30}
. -
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}
. -
mandate
object The SEPA Direct Debit collection mandate. Allow you to provide mandate information that will be used for the transaction. If not provided, default values will be used.
Additional properties are allowed.
curl \
--request POST 'https://api.sandbox.memo.bank/v1/sandbox/incoming_collections' \
--header "Content-Type: application/json" \
--data '{"amount":500,"local_iban":"FR6430003000509825397888D64","message":"invoice no12345","end_to_end_id":"b0bfb42baa2642c2af0ca3e880fcd590","mandate":{"reference":"ABC123DEF","creditor":{"name":"John Doe","iban":"FR2512739000308553756377J95","sepa_identifier":"FR18ZZZ002305"}}}'
{
"amount": 500,
"local_iban": "FR6430003000509825397888D64",
"message": "invoice no12345",
"end_to_end_id": "b0bfb42baa2642c2af0ca3e880fcd590",
"mandate": {
"reference": "ABC123DEF",
"creditor": {
"name": "John Doe",
"iban": "FR2512739000308553756377J95",
"sepa_identifier": "FR18ZZZ002305"
}
}
}