v1

latestOpenAPI 3.0.02026-07-2691259477.2 KB
MoneyIns | Pay by Bank

Initiate Pay by Bank

post/v2/moneyins/paybybank/transfer/init

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

returnUrlstring

returnUrl in case of success

cancelUrlstring

cancelUrl in case of cancellation

errorUrlstring

errorUrl in case of error

countryCodestring required

The country code associated with the payment bank. ISO Alpha-2 codes accepted: (FR) France, (ES) Spain, (IT) Italy, (DE) Germany, and (PT) Portugal

bankIdstring

If you use the bankId in the call, the end-user will be redirected to their bank. They will not have to select a bank from a list provided. To get a comprehensive list of bankIds call the GET v2/moneyins/paybybank/transfer/banks specifying the ISO Alpha-2 Country Code for example FR for France.

transferType0 | 1 | 2

The type of bank transfer, this field is optional. If not provided, the default value is 'Classic'. The 'TransferType' can be set to two different values:

  • 'Classic': Represents a classic bank transfer with a processing time.<br/>0 = Undefined.<br/>1 = Instant.<br/>2 = Classic.<br/>
referencestring

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

accountIdstring required

Payment Account ID to Credit

totalAmountinteger required

Amount to Debit Amounts are given as integer numbers in cents

commissionAmountinteger

Your Fee Amounts are given as integer numbers in cents

commentstring

Comment Regarding the Transaction

autoCommissionboolean

If true:

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

Example request

{
  "returnUrl": "https://fr.wikipedia.org/wiki/OK",
  "cancelUrl": "https://fr.wikipedia.org/wiki/Cancel",
  "errorUrl": "https://fr.wikipedia.org/wiki/Error",
  "countryCode": "FR",
  "bankId": "the-bank-id",
  "transferType": 2,
  "reference": "Dze8778",
  "accountId": "1234",
  "totalAmount": 10000,
  "commissionAmount": 100,
  "comment": "Comment the transaction request",
  "autoCommission": false
}

Response

OK

redirectUrlstring
idinteger