v1

latestOpenAPI 3.0.02026-07-2691259477.2 KB
MoneyOuts

External Fund Transfer from a Payment Account to a Bank Account

How does it work? Select an IBAN if multiple IBAN exist for the wallet. Select an amount, not greater than the balance of the wallet. Call the moneout method, and the system performs the fund transfer to the IBAN if everything is clear, or returns an error message.

<ul><li>The payment account is debited immediately and the money is then received by the owner, in their bank account between 1 to 3 days after, depending on the interbanking system and on the banks (SEPA is faster).</li><li>You can ask us to configure your platform so that your comment is included in the bank transfer message so your customer will see it on the bank statement.</li><li><ul><li>The full message will be in the following format "XXXX-YYYY ZZZZ", where : </li><li>XXXX is the name of your environment</li><li>YYYY is the ID of the Money-Out operation as you see it in the Dashboard</li><li>ZZZZ is your comment.</li></ul></li><li>The full message cannot be longer than 35 characters (if longer, it will be cut), and only alphanumeric characters will be allowed(other characters will be replaced by spaces before it's sent to the bank).</li></ul>
post/v2/moneyouts

Headers

Authorizationstring required

Authorization bearer (OAuth 2)

PSU-Accept-Languagestring

Response language accepted by final client (PSU). English by default

PSU-IP-Addressstring required

IP address of the final client (PSU).

PSU-User-Agentstring

User-agent of the final client (PSU).

Request body

accountIdstring required

Payment Account ID to be debited

ibanIdinteger

IBAN ID If no IBAN is specified, the last verified(validated) IBAN will be used.

totalAmountinteger required

Total amount to debit from the Wallet The client will receive on his bank account[totalAmount] minus[commissionAmount]. Amounts are given as integer numbers in cents

commissionAmountinteger

Your fee Amounts are given as integer numbers in cents

commentstring

Payment Comment

autoCommissionboolean

This should be set to No (0) for most sites If true:

  1. [amountCom] will be ignored and will be replaced with Lemonway's fee.
  2. You will not receive any fee.
referencestring

Unique ID of the call, generated by your server. This ID can be used as a search field when looking for operation details

Example request

{
  "accountId": "33612345678",
  "ibanId": 253,
  "totalAmount": 1500,
  "commissionAmount": 300,
  "comment": "Order number 2457765AX2",
  "autoCommission": false,
  "reference": "Dze8778"
}

Response

OK