Checkout links give you a hosted payment page that you can share with customers via email, SMS, or your website. When a customer clicks the link, they see a branded payment page and can complete their payment without you needing to build any frontend. Dubu automatically reconciles the payment against your account and, if the link is tied to an invoice, marks that invoice as paid. All routes require authentication.Documentation Index
Fetch the complete documentation index at: https://docs.dubupay.com/llms.txt
Use this file to discover all available pages before exploring further.
Checkout link object
Unique checkout link identifier (UUID).
Display title shown on the hosted payment page.
Optional description shown to the customer.
null if not set.The hosted checkout URL your customers visit to complete payment. Share this link directly.
URL-friendly identifier used in the hosted page URL. Lowercase alphanumeric with dashes.
one_time for a standalone payment or invoice for a link tied to an existing invoice.Payment amount for
one_time links.Payment currency:
NGN or USD.active or inactive. Inactive links cannot be used for new payments.URL customers are redirected to after a successful payment.
null if not set.Custom message shown to customers after payment.
null if not set.UUID of the linked invoice, if
type is invoice. null otherwise.ISO 8601 creation timestamp.
Create a checkout link
- One-time amount — set
type: "one_time"and provideamountandcurrency. - Invoice-linked — set
type: "invoice"and provideinvoice_idto link an existing invoice. - Inline invoice — provide
customer_name,customer_email, andline_itemsto create a new invoice and checkout link in one call.
Request body
Title shown on the checkout page. Maximum 255 characters.
Optional description shown to the customer. Maximum 2,000 characters.
one_time or invoice. Defaults to one_time.Custom URL slug for the checkout page (e.g.
my-product-payment). Must be lowercase alphanumeric with dashes, 3–100 characters. Auto-generated if omitted.NGN or USD. Defaults to your account currency.URL to redirect the customer to after successful payment.
Custom message displayed after payment completes. Maximum 500 characters.
Fixed payment amount. Required for
one_time links without line_items.UUID of an existing invoice to link. Use this for
invoice type links.Customer name for inline invoice creation.
Customer email for inline invoice creation.
Line items for inline invoice creation. Each item requires
description, quantity, and unit_price. Optionally include product_id to link a catalog product.Example — one-time payment
Example response
List checkout links
Query parameters
Filter by status:
active or inactive.Page number (1-indexed).
Results per page. Maximum
100.Example
Get a checkout link
UUID of the checkout link.
Update a checkout link
amount, currency, or linked invoice after creation.
UUID of the checkout link to update.
New title.
New description. Pass
null to clear.New redirect URL. Pass
null to remove.New success message. Pass
null to clear.Set to
inactive to disable the link, or active to re-enable it.Example
Delete a checkout link
UUID of the checkout link to delete.