ClientId and an API key – if you don’t have these, contact Sales to get access to the Mangopay DashboardVALID or registered less than 24 hours ago, to make the paymentsPOST /v2.01/{ClientId}/recurringpayinregistrations
Id of the Recurring PayIn Registration for the next steps.
API response
Id returned in the previous step as the RecurringPayinRegistrationId.
In our example, the first transaction amounts have been defined at the registration level. Because of this, we don’t need to define the DebitedFunds or Fees at the pay-in level.
POST /v2.01/{ClientId}/payins/recurring/card/direct
API response
SecureModeNeeded value is set to true), so you need to redirect the end user to the SecureModeRedirectURL value to complete the authentication.
For more information on how to handle 3DS redirection, see Steps 6 and 7 of the How to process a card payment guide.
DebitedFunds and Fees parameters at the pay-in level.
POST /v2.01/{ClientId}/payins/recurring/card/direct
API response
CardId - Changing this will require a new CIT for SCABilling and ShippingCardId in the Recurring PayIn Registration (see Step 4).
The need for re-authentication is indicated by the registration object’s Status changing to AUTHENTICATION_NEEDED.
You can be notified of this by setting up webhook notifications for the following event type:
RECURRING_REGISTRATION_AUTH_NEEDEDCurrentState of the Recurring PayIn Registration provides key information about the recurring payments:
GET /v2.01/{ClientId}/recurringpayinregistrations/{RecurringPayinRegistrationId}
API response
EndDate was defined) or because the end user requests it.
To end the recurring payments manually, use the Update a Recurring Registration endpoint to change the Status to ENDED.
PUT /v2.01/{ClientId}/recurringpayinregistrations/{RecurringPayinRegistrationId}
RECURRING_REGISTRATION_ENDED