POST
/
v2.01
/
{ClientId}
/
payouts
/
bankwire

Body parameters

Tag
string

Max. length: 255 characters

Custom data that you can add to this object.

AuthorId
string
required

The unique identifier of the user at the source of the transaction.
Best practice: When the payout author is different from the bank account owner, the Payout AuthorId value must be different from the Bank Account UserId value as well. Otherwise, Mangopay’s Compliance team will reject the payout.

DebitedFunds
object
required

Information about the debited funds.

Fees
object
required

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

DebitedWalletId
string
required

The unique identifier of the debited wallet.

BankAccountId
string
required

The unique identifier of the bank account.

BankWireRef
string

Max. length: 255 characters (< 12 recommended)

Custom description to appear on the user’s bank statement along with the platform name. The recommended length is 12 characters – strings longer than this may be truncated depending on the bank.

For the full structure of the string, see the Customizing bank statement references article.

PayoutModeRequested
string

Allowed values: STANDARD, INSTANT_PAYMENT, INSTANT_PAYMENT_ONLY

Default value: STANDARD

The mode of the payout:

  • STANDARD – A standard bank wire is requested and the processing time of the funds is up to 48 hours.
  • INSTANT_PAYMENT – An instant payment bank wire is requested and the processing time is within 25 seconds. The payment will fall back to the STANDARD mode if any of the prerequisites are not met or if another problem occurs.
  • INSTANT_PAYMENT_ONLY – An instant payment bank wire is requested and the processing time is within 25 seconds. There is no fallback if the prerequisites are not met or another problem occurs: the wallet is automatically refunded and the payout is not completed.
PaymentRef
object

Information about the payment reference provided for the payout.

This object must be used to provide the reference of a bank wire pay-in or a pay-in to virtual IBAN, if the payout is being used to refund it.

For more details, see the payouts guide.

ReasonType
string

Allowed values: PAYIN_REFUND

The reason for the reference being provided:

  • PAYIN_REFUND – The payout serves to reimburse a pay-in.
ReferenceId
string

Allowed values: The valid Id of a successful pay-in.

The unique identifier associated with the reference. The expected value differs according to the ReasonType:

  • PAYIN_REFUND – The ReferenceId value provided is the same as the Id of the initial pay-in being refunded.

Responses