Sample Use Cases and Flows

This article shares some possible use cases you can support, as well as a sample flow that could support each use case. This can be a helpful jumping off point as you plan your implementation.

You can display all payment data for a specified payment link by completing the following steps:

  1. Call Query Payment Links or Search Payment Links to retrieve all payment links.
  2. Display all payment links.
  3. When the Wix user selects a specific payment link, call either of the following and specify the requested paymentLinkId:
  4. Display the returned data.

Issue a receipt for payment

You can issue a receipt for a payment made using a payment link by completing the following steps:

  1. Call Query Payment Link Payments or Search Payment Link Payments to retrieve all payments.
  2. Display all payments.
  3. When the Wix user selects a payment to create a receipt, call Issue Receipt.
  4. If relevant, send the receipt to the buyer. Call Get Contact with the buyer's contact ID to get their email address.
Did this help?