The Payout object
Description
Mangopay relies on the Payout object to transfer funds from a Wallet to an external bank account (which means you need to have created the Bank Account object first).
Mangopay provides two modes to wire funds outside Mangopay:
- Standard – A bank wire with a processing time of up to 48 hours.
- Instant Payout – A bank wire with a processing time of about 25 seconds
Attributes
Returned 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 theSTANDARD
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.
Returned values: STANDARD
, INSTANT_PAYMENT
, INSTANT_PAYMENT_ONLY
The value set for the PayoutModeRequested
parameter when making the request.
Returned values: STANDARD
, INSTANT_PAYMENT
, INSTANT_PAYMENT_ONLY
, PENDING_RESPONSE
The payout mode actually applied for the transaction. The payout mode can revert to standard if some of the prerequisites for an instant payment are not met.
STANDARD
– A standard bank wire is requested and the processing time of the funds is about 48 hours.INSTANT_PAYMENT
– An instant payment bank wire is requested and the processing time is within 25 seconds (subject to prerequisites); if the prerequisites are not met, then the payment will fall back to theSTANDARD
mode.INSTANT_PAYMENT_ONLY
– An instant payment bank wire is requested and the processing time is within 25 seconds, but if any prerequisite is not met or another problem occurs, there is no fallback: the wallet is automatically refunded and the payout is not completed.PENDING_RESPONSE
– Temporary state to accommodate the short latency between the moment the request is sent and the moment the mode is applied (or a fallback occurs).
Information regarding the reason for the refusal of the instant payout request.
The unique identifier of the object.
Max. length: 255 characters
Custom data that you can add to this object.
The date and time at which the object was created.
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.
Information about the debited funds.
Information about the funds being credited to the target of the transaction (CreditedFunds
= DebitedFunds
- Fees
).
Information about the fees taken by the platform for this transaction (and hence transferred to the Fees Wallet).
Returned values: CREATED
, SUCCEEDED
, FAILED
The status of the transaction.
The code indicating the result of the operation. This information is mostly used to handle errors or for filtering purposes.
The explanation of the result code.
The date and time at which the status changed to SUCCEEDED
, indicating that the transaction occurred. The statuses CREATED
and FAILED
return an ExecutionDate
of null
.
Returned values: PAYIN
, TRANSFER
, CONVERSION
, PAYOUT
The type of the transaction.
Returned values: REGULAR
, REPUDIATION
, REFUND
, SETTLEMENT
The nature of the transaction, providing more information about the context in which the transaction occurred:
REGULAR
– Relative to most of the transactions (pay-ins, payouts, and transfers) in a usual workflow.REPUDIATION
– Automatic withdrawal of funds from the platform’s repudiation wallet as part of the dispute process (when the user has requested a chargeback).REFUND
– Reimbursement of a transaction to the user (pay-in refund), to a wallet (transfer refund), or of a payout (payout refund, only initiated by Mangopay).SETTLEMENT
– Transfer made to the repudiation wallet by the platform to settle a lost dispute.
The unique identifier of the credited wallet.
In the specific case of the Payout object, this value is always null
since there is no credited wallet.
The unique identifier of the debited wallet.
Returned values: CARD
, DIRECT_DEBIT
, PREAUTHORIZED
, BANK_WIRE
The type of pay-in.
The unique identifier of the bank account.
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.
Information about the payment reference provided for the payout. This object is returned null
if not provided.
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.
Allowed values: PAYIN_REFUND
The reason for the reference being provided:
PAYIN_REFUND
– The payout serves to reimburse a pay-in.
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
– TheReferenceId
value provided is the same as theId
of the initial pay-in being refunded.
Related resources
Guide
Was this page helpful?