Skip to main content
A checkout link is a shareable URL that opens a Dubu Pay-hosted payment page. You create the link once through the API, share it with your customer by any channel (email, SMS, chat), and Dubu Pay handles the entire payment experience — bank transfer instructions, status updates, and receipts. No custom frontend required. Use checkout links when you want to start collecting payments without building any UI. Use virtual bank accounts when you need a fully custom payment flow embedded in your own product.
Response:
The url field is the link you share with your customer. Link a checkout link to an invoice you’ve already created. Dubu Pay will show the invoice line items on the payment page and mark the invoice as paid when the payment clears.
Create a checkout link and define the line items inline without first creating a standalone invoice:
All request fields: Once created, the url in the response is ready to share. You can:
  • Embed it as a button or hyperlink in your own emails
  • Copy it into an SMS or WhatsApp message
  • Display it as a QR code in a physical location
  • Add it to a PDF invoice as a “Pay now” link
Use a custom slug to create memorable links like https://pay.dubupay.com/c/your-brand-name instead of the auto-generated URL.
You can update the title, description, redirect URL, success message, or status (active / inactive) of any link:
Setting status to inactive disables the link so new visitors see an error page instead of the payment form. Existing payments in progress are not affected.
Filter by status (active or inactive). Supports page and limit (max 100).
cURL
Deleting a checkout link is permanent. Any customer who visits the URL after deletion will see an error. Prefer setting status: "inactive" if you may want to reactivate the link later.

Receive payment notifications

When a customer pays through a checkout link, Dubu Pay fires a checkout.payment.completed webhook event to all of your registered endpoints. Subscribe to this event to fulfil orders automatically. See the Webhooks guide for setup details.