Payment links and invoices
Collect payments without building a checkout page.
Payment links
A payment link is a reusable hosted page, for a fixed or customer-entered amount. Create it with POST /payment-links (payment-links:manage) and share its URL anywhere: WhatsApp, Instagram, email, a QR code. Each payment fires transaction.success.
GET /payment-links/{id}shows the link with its payments and progress.PATCH /payment-links/{id}changes an active link;POST /payment-links/{id}/disablestops it.POST /payment-links/{id}/offline-paymentsrecords money you received outside Creddot, so totals stay right.
Use a checkout session instead when each payment belongs to one order in your system.
Invoices
- Create a draft with
POST /invoices(invoices:manage): customer, line items, due date. - Send it with
POST /invoices/{id}/send. Creddot emails the customer and creates the link they pay with. - When they pay, you get
transaction.successand the invoice shows as paid inGET /invoices/{id}and the dashboard.
Customers you invoice can be managed with the /customers endpoints (customers:manage).