POST
/
v2.01
/
{ClientId}
/
payins
/
bankwire
/
direct
/

This call declares the payment to be made by the end user and returns the BankAccount details and WireReference they must use.

Caution – Retrieve the returned bank details dynamically

In addition to the WireReference, ensure you implement the BankAccount object parameter dynamically so the IBAN, BIC, and other response values appear as returned in for each pay-in.

Mangopay may change the underlying bank account without prior notice and mismatched data my lead to delays. See the bank wire pay-in guide for more details.

Body parameters

Tag
string

Max. length: 255 characters

Custom data that you can add to this object.
For transactions (pay-in, transfer, payout), you can use this parameter to identify corresponding information regarding the user, transaction, or payment methods on your platform.

AuthorId
string
required

The unique identifier of the user at the source of the transaction.

CreditedUserId
string

Default value: The unique identifier of the owner of the credited wallet.

The unique identifier of the user whose wallet is credited.

CreditedWalletId
string
required

The unique identifier of the credited wallet.

DeclaredDebitedFunds
object
required

Information about the declared funds to be wired by the end user to the returned bank account.

DeclaredFees
object
required

Information about the fees to be taken by the platform for this transaction (and hence transferred to the Fees Wallet).

ProfilingAttemptReference
string

The unique reference generated for the profiling session, used by the fraud prevention solution to produce recommendations for the transaction using the profiling data.

Note: Parameter not returned by the API. Profiling feature available on request – contact Mangopay from the Hub for more information.

Responses