Overview
Pay-ins are transactions that credit funds to a user’s wallet. Mangopay supports multiple payment methods:- Card payments (direct and web)
- Bank wire
- Direct debit
- PayPal
- Google Pay
- Alternative payment methods (Payconiq, Klarna, iDEAL, etc.)
Pay-in Structure
Every pay-in consists of:- Payment Type: How the user pays (card, bank wire, etc.)
- Execution Type: How the payment is processed (web, direct, etc.)
- Payment Details: Specific to the payment type
- Execution Details: Specific to the execution type
Card Direct Pay-in
Process a card payment directly using card details:Card Web Pay-in
Redirect users to a secure payment page:Bank Wire Pay-in
Accept payments via bank transfer:PayPal Pay-in
Process PayPal payments:Google Pay
Process Google Pay payments:Retrieving Pay-ins
Get a Specific Pay-in
Recurring Pay-ins
Set up recurring payments:Refunding Pay-ins
Create refunds for pay-ins:Using Idempotency
Prevent duplicate payments:3D Secure Handling
Handle 3D Secure authentication:Best Practices
Use Idempotency Keys
Always use idempotency keys to prevent duplicate charges.
Handle Webhooks
Set up webhooks for payment status updates.
Store Transaction IDs
Save pay-in IDs for reconciliation and support.
Validate Amounts
Ensure amounts are in cents and non-negative.
Error Handling
Next Steps
Card Payments
Learn more about card payment integration
Webhooks
Set up webhooks for payment notifications