ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiPayment links

Request an invoice for a payment link (public) — offers auto-apply; couponCode optional

POST
/api/v1/payment-links/public/{shortId}/invoice

Path Parameters

shortId*string

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Response Body

Example Request
curl -X POST 'http://localhost:3001/api/v1/payment-links/public/string/invoice'
Example Response201
Empty