POST
/
v2.01
/
{ClientId}
/
payins
/
payment-methods
/
mbway
{
    "AuthorId": "204068024",
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 5000
    },
    "Fees": {
        "Currency": "EUR",
        "Amount": 0
    },
    "CreditedWalletId": "204089031",
    "StatementDescriptor": "Mangopay",
    "Tag": "Created using the Mangopay API Postman collection",
    "Phone": "33#652317567"
}  
{
    "Id": "wt_9fb9e538-7a0b-417e-af6e-196d2a7ffb5b",
    "Tag": "Created using the Mangopay API Postman collection",
    "CreationDate": 1696930998,
    "AuthorId": "204068024",
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 5000
    },
    "CreditedFunds": {
        "Currency": "EUR",
        "Amount": 5000
    },
    "Fees": {
        "Currency": "EUR",
        "Amount": 0
    },
    "Status": "CREATED",
    "ResultCode": null,
    "ResultMessage": null,
    "ExecutionDate": null,
    "Type": "PAYIN",
    "Nature": "REGULAR",
    "CreditedWalletId": "204089031",
    "CreditedUserId": "204068024",
    "PaymentType": "MBWAY",
    "ExecutionType": "WEB",
    "StatementDescriptor": "Mangopay",
    "Phone": "33#652317567"
}  
Note – Timeout after 4 minutesThe payment session lasts for 4 minutes, at which point the pay-in fails automatically if no action has been taken by the user.
Caution – No phone number validationIf the phone number provided is of an accepted format but not valid or not attributed to the corresponding MB WAY user, then the pay-in is created but will fail because the user will not receive a push notification from the MB WAY app.

Body parameters

Tag
string
Max. length: 255 charactersCustom 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.
DebitedFunds
object
required
Information about the debited funds.
Fees
object
required
Information about the fees.
CreditedWalletId
string
required
The unique identifier of the credited wallet.
StatementDescriptor
string
Max. length: 10 characters; only alphanumeric and spacesCustom description to appear on the user’s bank statement along with the platform name. Different banks may show more or less information. See the Customizing bank statement references article for details.
Phone
string
required
Format: Country code without plus symbol, followed by hash symbol (#), followed by the number; only numeric characters and hash symbolThe phone number of the end user to which the MB WAY push notification is sent to authenticate the transaction.
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 via the Dashboard for more information.

Responses

{
    "Id": "wt_9fb9e538-7a0b-417e-af6e-196d2a7ffb5b",
    "Tag": "Created using the Mangopay API Postman collection",
    "CreationDate": 1696930998,
    "AuthorId": "204068024",
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 5000
    },
    "CreditedFunds": {
        "Currency": "EUR",
        "Amount": 5000
    },
    "Fees": {
        "Currency": "EUR",
        "Amount": 0
    },
    "Status": "CREATED",
    "ResultCode": null,
    "ResultMessage": null,
    "ExecutionDate": null,
    "Type": "PAYIN",
    "Nature": "REGULAR",
    "CreditedWalletId": "204089031",
    "CreditedUserId": "204068024",
    "PaymentType": "MBWAY",
    "ExecutionType": "WEB",
    "StatementDescriptor": "Mangopay",
    "Phone": "33#652317567"
}  
{
    "AuthorId": "204068024",
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 5000
    },
    "Fees": {
        "Currency": "EUR",
        "Amount": 0
    },
    "CreditedWalletId": "204089031",
    "StatementDescriptor": "Mangopay",
    "Tag": "Created using the Mangopay API Postman collection",
    "Phone": "33#652317567"
}