Overview
User management
- Users
- User regulatory status
- User e-money
User verification
- User data format
- KYC documents
- UBO declarations
Wallets
- User wallets
- Client wallets
Cards
- Card registrations
- Cards
- Metadata
- Card validations
Card pay-ins
- Direct card pay-ins
- Recurring card pay-ins
- Preauthorizations
- Deposit preauthorizations
- Web card pay-ins
Banking pay-ins
- Bank wires
- Virtual IBAN
- Direct debits
- Web direct debits
APM pay-ins
- Apple Pay
- Bancontact
- BLIK
- Giropay
- Google Pay
- iDEAL
- Klarna
- MB WAY
- Multibanco
- Payconiq
- PayPal
- Satispay
- Swish
- TWINT
Transfers
- Transfers
Refunds
- Refunds
Disputes
- Disputes
- Dispute documents
- Repudiations
- Dispute settlement
Payouts
- Bank accounts
- Payouts
FX conversions
- Conversion rates
- Quotes
- Conversions
Transactions
- Transactions
Helpers
- API responses
- Country authorizations
- Webhooks
- Events
- Reports
Platform account
- Client
- Dashboard permissions
Create a BLIK PayIn (with code)
{
"AuthorId": "user_m_01HWSRS7HK6S0XKKD4CJM3PQ04",
"CreditedWalletId": "wlt_m_01HWSSQV8W6550FJ5NTJQE1DE1",
"DebitedFunds": {
"Currency": "PLN",
"Amount": 100
},
"Fees": {
"Currency": "PLN",
"Amount": 0
},
"Code" : "777365",
"IpAddress" : "159.180.248.187",
"ReturnUrl": "https://www.mangopay.com/docs/please-ignore",
"BrowserInfo": {
"UserAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148",
"JavascriptEnabled": true
},
"Tag": "Created using Mangopay API Collection Postman",
"StatementDescriptor" : "May2024"
}
{
"Id": "wt_54874ce5-751d-4616-b7f0-7cee68aee39d",
"Tag": "Created using Mangopay API Collection Postman",
"CreationDate": 1718178213,
"AuthorId": "user_m_01HWSRS7HK6S0XKKD4CJM3PQ04",
"DebitedFunds": {
"Currency": "PLN",
"Amount": 100
},
"CreditedFunds": {
"Currency": "PLN",
"Amount": 100
},
"Fees": {
"Currency": "PLN",
"Amount": 0
},
"Status": "CREATED",
"ResultCode": null,
"ResultMessage": null,
"ExecutionDate": null,
"Type": "PAYIN",
"Nature": "REGULAR",
"CreditedWalletId": "wlt_m_01HWSSQV8W6550FJ5NTJQE1DE1",
"CreditedUserId": "user_m_01HWSRS7HK6S0XKKD4CJM3PQ04",
"PaymentType": "BLIK",
"ExecutionType": "WEB",
"ReturnURL": "https://www.mangopay.com/docs/please-ignore?transactionId=wt_54874ce5-751d-4616-b7f0-7cee68aee39d",
"RedirectURL": "https://r3.girogate.de/ti/dumbdummy?tx=2263480064&rs=It3FPwW1ezPJlRIb84DFwDj2S7pk8n80&cs=2b704ceaa038b2519137369f883d4b560e63cf490adcc8e2426ae45524c965e9",
"StatementDescriptor": "May2024",
"Code": "777365",
"BrowserInfo": null,
"IpAddress": "159.180.248.187"
}
Note – Timeout after 55 seconds
The payment session lasts for 55 seconds, at which point the pay-in fails automatically if no action has been taken by the user.
Note – Minimum amount in Production
In Production, the minimum accepted amount for BLIK is 0.01 PLN (1
).
Body parameters
The unique identifier of the user at the source of the transaction.
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.
The unique identifier of the credited wallet.
The 6-digit code from the user’s banking application.
The IP address of the end user initiating the transaction, in IPV4 or IPV6 format.
Max. length: 255 characters
The URL to which the user is returned after the payment, whether the transaction is successful or not.
Note: This parameter is only returned if it is sent.
Max. length: 10 characters; only alphanumeric and spaces
Custom 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
The unique identifier of the object.
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.
The date and time at which the object was created.
The unique identifier of the user at the source of the transaction.
Information about the credited funds (CreditedFunds
= DebitedFunds
- Fees
).
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.
Returned values: BLIK
The type of pay-in.
Returned values: WEB
, DIRECT
, EXTERNAL_INSTRUCTION
The type of execution for the pay-in.
Max. length: 255 characters
The URL to which the user is returned after the payment, whether the transaction is successful or not.
Note: This parameter is only returned if it is sent.
The URL to which to redirect the user to complete the payment.
Caution: This variable URL is specific to each payment. You must rely on the returned URL in full (host, path, and queries) and not hardcode any part of it.
Max. length: 10 characters; only alphanumeric and spaces
Custom 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.
The 6-digit code from the user’s banking application.
The IP address of the end user initiating the transaction, in IPV4 or IPV6 format.
{
"Id": "wt_54874ce5-751d-4616-b7f0-7cee68aee39d",
"Tag": "Created using Mangopay API Collection Postman",
"CreationDate": 1718178213,
"AuthorId": "user_m_01HWSRS7HK6S0XKKD4CJM3PQ04",
"DebitedFunds": {
"Currency": "PLN",
"Amount": 100
},
"CreditedFunds": {
"Currency": "PLN",
"Amount": 100
},
"Fees": {
"Currency": "PLN",
"Amount": 0
},
"Status": "CREATED",
"ResultCode": null,
"ResultMessage": null,
"ExecutionDate": null,
"Type": "PAYIN",
"Nature": "REGULAR",
"CreditedWalletId": "wlt_m_01HWSSQV8W6550FJ5NTJQE1DE1",
"CreditedUserId": "user_m_01HWSRS7HK6S0XKKD4CJM3PQ04",
"PaymentType": "BLIK",
"ExecutionType": "WEB",
"ReturnURL": "https://www.mangopay.com/docs/please-ignore?transactionId=wt_54874ce5-751d-4616-b7f0-7cee68aee39d",
"RedirectURL": "https://r3.girogate.de/ti/dumbdummy?tx=2263480064&rs=It3FPwW1ezPJlRIb84DFwDj2S7pk8n80&cs=2b704ceaa038b2519137369f883d4b560e63cf490adcc8e2426ae45524c965e9",
"StatementDescriptor": "May2024",
"Code": "777365",
"BrowserInfo": null,
"IpAddress": "159.180.248.187"
}
{
"AuthorId": "user_m_01HWSRS7HK6S0XKKD4CJM3PQ04",
"CreditedWalletId": "wlt_m_01HWSSQV8W6550FJ5NTJQE1DE1",
"DebitedFunds": {
"Currency": "PLN",
"Amount": 100
},
"Fees": {
"Currency": "PLN",
"Amount": 0
},
"Code" : "777365",
"IpAddress" : "159.180.248.187",
"ReturnUrl": "https://www.mangopay.com/docs/please-ignore",
"BrowserInfo": {
"UserAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148",
"JavascriptEnabled": true
},
"Tag": "Created using Mangopay API Collection Postman",
"StatementDescriptor" : "May2024"
}
Was this page helpful?
{
"AuthorId": "user_m_01HWSRS7HK6S0XKKD4CJM3PQ04",
"CreditedWalletId": "wlt_m_01HWSSQV8W6550FJ5NTJQE1DE1",
"DebitedFunds": {
"Currency": "PLN",
"Amount": 100
},
"Fees": {
"Currency": "PLN",
"Amount": 0
},
"Code" : "777365",
"IpAddress" : "159.180.248.187",
"ReturnUrl": "https://www.mangopay.com/docs/please-ignore",
"BrowserInfo": {
"UserAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148",
"JavascriptEnabled": true
},
"Tag": "Created using Mangopay API Collection Postman",
"StatementDescriptor" : "May2024"
}
{
"Id": "wt_54874ce5-751d-4616-b7f0-7cee68aee39d",
"Tag": "Created using Mangopay API Collection Postman",
"CreationDate": 1718178213,
"AuthorId": "user_m_01HWSRS7HK6S0XKKD4CJM3PQ04",
"DebitedFunds": {
"Currency": "PLN",
"Amount": 100
},
"CreditedFunds": {
"Currency": "PLN",
"Amount": 100
},
"Fees": {
"Currency": "PLN",
"Amount": 0
},
"Status": "CREATED",
"ResultCode": null,
"ResultMessage": null,
"ExecutionDate": null,
"Type": "PAYIN",
"Nature": "REGULAR",
"CreditedWalletId": "wlt_m_01HWSSQV8W6550FJ5NTJQE1DE1",
"CreditedUserId": "user_m_01HWSRS7HK6S0XKKD4CJM3PQ04",
"PaymentType": "BLIK",
"ExecutionType": "WEB",
"ReturnURL": "https://www.mangopay.com/docs/please-ignore?transactionId=wt_54874ce5-751d-4616-b7f0-7cee68aee39d",
"RedirectURL": "https://r3.girogate.de/ti/dumbdummy?tx=2263480064&rs=It3FPwW1ezPJlRIb84DFwDj2S7pk8n80&cs=2b704ceaa038b2519137369f883d4b560e63cf490adcc8e2426ae45524c965e9",
"StatementDescriptor": "May2024",
"Code": "777365",
"BrowserInfo": null,
"IpAddress": "159.180.248.187"
}