- All card types
Process
Processing a one-time card payment is a multi-step process:1
Card tokenization
Register the card to tokenize its sensitive data so it can be used for payment.
2
Payment request
Call the POST Create a Direct Card PayIn endpoint to initiate the payment.
3
3DS redirection
If required by the issuer, redirect the user to the issuer’s Access Control Server (ACS) to complete .
4
Payment outcome
Mangopay updates the
Status
of the pay-in from CREATED
to SUCCEEDED
or FAILED
to indicate the result.Set up webhooks for the following event types:PAYIN_NORMAL_SUCCEEDED
PAYIN_NORMAL_FAILED
5
Card deactivation
Call the PUT Deactivate or edit a Card endpoint to disable the
CardId
if you don’t have the user’s permission to save their payment details.How to
Process a one-time card payment