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:
- Call Query Payment Links or Search Payment Links to retrieve all payment links.
- Display all payment links.
- When the Wix user selects a specific payment link, call either of the following and specify the requested
paymentLinkId
:
- Display the returned data.
You can issue a receipt for a payment made using a payment link by completing the following steps:
- Call Query Payment Link Payments or Search Payment Link Payments to retrieve all payments.
- Display all payments.
- When the Wix user selects a payment to create a receipt, call Issue Receipt.
- If relevant, send the receipt to the buyer. Call Get Contact with the buyer's contact ID to get their email address.