Create a link
From the merchant dashboard: Payments → Payment links. The create API uses a merchant session, not the secret key:data.paymentLinkUrl. Omit amount for a customer-enters-amount link.
metadata on a link is a form schema, not the opaque object on initialize.
What the customer does
- Opens the link.
- Fills any prompts you configured.
- We initialize checkout:
POST /v1/merchants/payment-links/:slug/pay. - They pay on hosted checkout.
- Confirm with webhooks and verify.
GET /v1/merchants/payment-links/:slug/display.