create_payment_link
Create a payment link in EUR for Luxembourg via Stripe (Checkout Sessions). Buyer pays with cards, Apple Pay / Google Pay — whatever is enabled on the Stripe account. Returns a hosted checkout URL the buyer opens to pay — payment completes automatically, no confirm step. Bring your own credentials via HTTP header (x-stripe-secret-key; free test credentials from dashboard.stripe.com never move real money). Money always flows buyer→Stripe→merchant; this service never touches funds. Optional: issue_invoice=true auto-creates a VAT-ready invoice (PDF + hosted page, emailed to the buyer) after payment; collect_tax_id=true collects the buyer's business tax ID (e.g. EU VAT number) at checkout and puts it on the invoice.
Parameters6
| amount_eur | number | required | Amount in EUR (decimals allowed), e.g. 5.0. Minimum 0.5. |
| description | string | required | What this payment is for (shown to the buyer, ≤200 chars) |
| customer_email | string | optional | Optional buyer email. |
| success_url | string | optional | Optional https URL to send the buyer to after payment. |
| issue_invoice | boolean | optional | true = Stripe automatically creates and emails a post-payment invoice (PDF + hosted invoice page). Ideal for B2B / VAT bookkeeping. Note: Stripe charges a small Invoicing fee per invoice issued. |
| collect_tax_id | boolean | optional | true = ask the buyer for their business tax ID (e.g. EU VAT number) on the checkout page; it appears on the invoice. Combine with issue_invoice for a VAT-compliant receipt. |
Raw schema
{
"type": "object",
"properties": {
"amount_eur": {
"type": "number",
"minimum": 0.5,
"maximum": 1000000,
"description": "Amount in EUR (decimals allowed), e.g. 5.0. Minimum 0.5."
},
"description": {
"type": "string",
"description": "What this payment is for (shown to the buyer, ≤200 chars)"
},
"customer_email": {
"type": "string",
"description": "Optional buyer email."
},
"success_url": {
"type": "string",
"description": "Optional https URL to send the buyer to after payment."
},
"issue_invoice": {
"type": "boolean",
"description": "true = Stripe automatically creates and emails a post-payment invoice (PDF + hosted invoice page). Ideal for B2B / VAT bookkeeping. Note: Stripe charges a small Invoicing fee per invoice issued."
},
"collect_tax_id": {
"type": "boolean",
"description": "true = ask the buyer for their business tax ID (e.g. EU VAT number) on the checkout page; it appears on the invoice. Combine with issue_invoice for a VAT-compliant receipt."
}
},
"required": [
"amount_eur",
"description"
]
}