Create Mandate Flow

Mandate Management Flow

Overview

Once the accounts have been associated together, the newly created instrument can be used for creating mandates, which will set up an automatic payment schedule on the user's account.

How the flow works

The diagram below shows a mandate creation on an already existing association.

Create Mandate - Existing Association

Create Mandate flow

The objects in the diagram include the following:

  • User: This is the person who wants to purchase something through Google.
  • Google UI: The interface, where the customer begins to make a purchase.
  • Google Server: The backend server at Google that sends the capture command to the Payment Integrator Server.
  • Payment Integrator Server: The backend server of the integrator that accepts the request for a funds capture.

In this create mandate flow, the user is in session. They begin the flow by starting to start a subscription.

  1. The User begins to start a subscription through the Google UI.
  2. The subscription information is sent to the Google Server.
  3. Google’s Server sends the SendOtp request (GPT, CREATE_MANDATE) to the Payment Integrator Server.
  4. The Payment Integrator Server sends back a Success response to the Google Server, denoting OTP is sent to the user.
  5. The Google Server sends back a Success response to the Google UI.
  6. The Google UI asks the user to enter the received OTP.
  7. The User enters the OTP in the UI.
  8. The OTP is passed on to the Google Server.
  9. Google’s Server sends the CreateMandate request (OTP, mandateDetails) to the Payment Integrator Server.
  10. The Payment Integrator Server sends back a Success response to the Google Server.
  11. The Google Server sends back a Success response to the Google UI.
  12. The subscription is set up for the user.