POST
/
v2.01
/
{ClientId}
/
payins
/
payment-methods
/
twint
{
    "AuthorId": "user_m_01HSDQD2RPPQ8NMM36EDGYBMEY",
    "CreditedWalletId": "wlt_m_01JAA5Q2ZY72H0PNWPK1Z3DX74",
    "DebitedFunds": {
        "Currency": "CHF",
        "Amount": 1267
    },
    "Fees": {
        "Currency": "CHF",
        "Amount": 372
    },
    "ReturnURL": "http://docs.mangopay.com/please-ignore",
    "Tag": "Created using the Mangopay API Postman collection",
    "StatementDescriptor": "Example123"
}
{
    "Id": "wt_c84feed5-6a5e-4a58-b1f5-3433aac9a699",
    "Tag": "Created using the Mangopay API Postman collection",
    "CreationDate": 1729065886,
    "AuthorId": "user_m_01HSDQD2RPPQ8NMM36EDGYBMEY",
    "DebitedFunds": {
        "Currency": "CHF",
        "Amount": 1267
    },
    "CreditedFunds": {
        "Currency": "CHF",
        "Amount": 895
    },
    "Fees": {
        "Currency": "CHF",
        "Amount": 372
    },
    "Status": "CREATED",
    "ResultCode": null,
    "ResultMessage": null,
    "ExecutionDate": null,
    "Type": "PAYIN",
    "Nature": "REGULAR",
    "CreditedWalletId": "wlt_m_01JAA5Q2ZY72H0PNWPK1Z3DX74",
    "CreditedUserId": "user_m_01HSDQD2RPPQ8NMM36EDGYBMEY",
    "PaymentType": "TWINT",
    "ExecutionType": "WEB",
    "ReturnURL": "http://docs.mangopay.com/please-ignore?transactionId=wt_c84feed5-6a5e-4a58-b1f5-3433aac9a699",
    "RedirectURL": "https://r3.girogate.de/ti/dumbdummy?tx=140301405018&rs=Ff5U3DihmCenOh5x3pS1HYmeITxf7dtz&cs=cd782c761b30125b86bc9727b5fb32a988248ae0eafbcae62ab9cec05a27c2f1",
    "StatementDescriptor": "Example123"
}
Note – Session timeoutThe TWINT session times out after:
  • 15 minutes for the hosted webpage
  • 3 minutes once the user scans the QR code
Note – Minimum amount 0.01 CHFOn TWINT pay-ins, the minimum amount is 0.01 CHF (DebitedFunds.Amount value 1).

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.
ReturnURL
string
required
Max. length: 255 charactersThe URL to which the user is returned after the payment, whether the transaction is successful or not.
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.

Responses

{
    "Id": "wt_c84feed5-6a5e-4a58-b1f5-3433aac9a699",
    "Tag": "Created using the Mangopay API Postman collection",
    "CreationDate": 1729065886,
    "AuthorId": "user_m_01HSDQD2RPPQ8NMM36EDGYBMEY",
    "DebitedFunds": {
        "Currency": "CHF",
        "Amount": 1267
    },
    "CreditedFunds": {
        "Currency": "CHF",
        "Amount": 895
    },
    "Fees": {
        "Currency": "CHF",
        "Amount": 372
    },
    "Status": "CREATED",
    "ResultCode": null,
    "ResultMessage": null,
    "ExecutionDate": null,
    "Type": "PAYIN",
    "Nature": "REGULAR",
    "CreditedWalletId": "wlt_m_01JAA5Q2ZY72H0PNWPK1Z3DX74",
    "CreditedUserId": "user_m_01HSDQD2RPPQ8NMM36EDGYBMEY",
    "PaymentType": "TWINT",
    "ExecutionType": "WEB",
    "ReturnURL": "http://docs.mangopay.com/please-ignore?transactionId=wt_c84feed5-6a5e-4a58-b1f5-3433aac9a699",
    "RedirectURL": "https://r3.girogate.de/ti/dumbdummy?tx=140301405018&rs=Ff5U3DihmCenOh5x3pS1HYmeITxf7dtz&cs=cd782c761b30125b86bc9727b5fb32a988248ae0eafbcae62ab9cec05a27c2f1",
    "StatementDescriptor": "Example123"
}
{
    "AuthorId": "user_m_01HSDQD2RPPQ8NMM36EDGYBMEY",
    "CreditedWalletId": "wlt_m_01JAA5Q2ZY72H0PNWPK1Z3DX74",
    "DebitedFunds": {
        "Currency": "CHF",
        "Amount": 1267
    },
    "Fees": {
        "Currency": "CHF",
        "Amount": 372
    },
    "ReturnURL": "http://docs.mangopay.com/please-ignore",
    "Tag": "Created using the Mangopay API Postman collection",
    "StatementDescriptor": "Example123"
}