Create payment link
checkout_create_payment_linkCREATES a hosted Payment Link the customer can pay through — this sets up a way to COLLECT MONEY. Checkout.com: POST /payment-links. Returns a URL to share with the customer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount in MINOR units (e.g. 1000 = $10.00). Required. | |
| billing | No | Billing object, e.g. { address: { country: 'GB' } }. | |
| currency | Yes | 3-letter ISO currency code, e.g. 'USD'. Required. | |
| customer | No | Customer object, e.g. { email, name }. | |
| metadata | No | Arbitrary key/value metadata to attach to the payment link. | |
| products | No | Line items, each e.g. { name, quantity, unit_price }. | |
| reference | No | Your reference for the payment link (e.g. order id). | |
| expires_in | No | Seconds until the link expires. | |
| return_url | No | URL the customer is returned to after paying. | |
| description | No | Description shown to the customer on the payment page. | |
| idempotency_key | No | Idempotency key — sent as the Cko-Idempotency-Key header. |