For the complete documentation index, see llms.txt. This page is also available as Markdown.

Business Use Cases

In all of the following cases, we encourage you to store Coda information and link them to your own customer identifier: Shopper ID, Payment Method ID, Token ID, and Subscription ID.

Registering New Shopper

When registering a new shopper and generating a token for the first time, you will need to perform the following actions,

  1. Create a new Shopper using your customer ID

  2. Create a Payment Method depending on the customer's payment choice

  3. Generate a Token for that payment method

  4. Monitor Coda notification for token validation, which partner can config Subscription Notification URL

  5. Charge the customer using the generated token

Returning Shoppers and Reusing the Same Payment Method

If you already have a token linked to your customer, then you simply need to initiate the customer charge using the generated token:

  1. Charge the customer using the generated token

Returning Shopper with Expired Payment Token

If you’re an existing shopper that needs to re-generate a token, follow these steps:

  1. Generate a new Token for your customer’s payment method

  2. Charge the customer using the newly generated token

Generating a Token for New Payment Method for Existing Customers

If you’re an existing shopper that needs to generate a new token for an alternative payment method, follow these steps:

  1. Create a Payment Method according to the shopper’s payment choice (ex: Go-Pay) using existing Shopper ID linked to your customer ID

  2. Generate a Token for the selected payment method

  3. Charge the customer using the generated token

Initiating a Subscription with Coda Scheduler

To set up a recurring charge for your shopper using Coda scheduler, follow the steps:

  1. Create a new subscription plan (This step is required only once per plan)

  2. Create a new Shopper using your shopper ID

  3. Create a Payment Method according to the shopper’s payment choice (ex: Go-Pay)

  4. Generate a Token for the selected payment method

  5. Launch the subscription by utilizing the subscription plan and the generated token

Cancelling a Subscription

To cancel a shopper’s subscription, follow these steps:

  1. Cancel an existing subscription using the ID generated

Last updated

Was this helpful?