# Payment Links

Payment links allow you to create a URL with a simple checkout. Customers who open the link can either make a single payment or start a subscription, without visiting your website.

A payment link can be reused until it expires or reaches its configured limit of successful charges. Every payment attempt made through a payment link opens a checkout session, which records the values the customer entered into any custom fields.

 - [POST /payment-links](https://matterhorn-api.redocly.app/docs/api/shift4-gateway/payment-links/createpaymentlink.md): Creates a new payment link. Every new payment link is active by default. An optional failed-payment limit can be set only at creation.
 - [GET /payment-links](https://matterhorn-api.redocly.app/docs/api/shift4-gateway/payment-links/listpaymentlinks.md): Lists payment link objects. Results are sorted by creation date, with the most recent objects first.
 - [GET /payment-links/{paymentLinkId}](https://matterhorn-api.redocly.app/docs/api/shift4-gateway/payment-links/getpaymentlink.md): Retrieves an existing payment link object.
 - [POST /payment-links/{paymentLinkId}](https://matterhorn-api.redocly.app/docs/api/shift4-gateway/payment-links/updatepaymentlink.md): Updates an existing payment link. Attributes not provided in the request are left unchanged.
 - [POST /payment-links/{paymentLinkId}/deactivate](https://matterhorn-api.redocly.app/docs/api/shift4-gateway/payment-links/deactivatepaymentlink.md): Deactivates an existing payment link. Every new payment link is active by default. Payment links with a limited number of charges are deactivated automatically the moment the limit is reached.
 - [POST /payment-links/{paymentLinkId}/reactivate](https://matterhorn-api.redocly.app/docs/api/shift4-gateway/payment-links/reactivatepaymentlink.md): Reactivates a deactivated payment link. A payment link cannot be reactivated once its limit of successful charges or failed payment attempts has been reached.
 - [GET /payment-links/{paymentLinkId}/charges](https://matterhorn-api.redocly.app/docs/api/shift4-gateway/payment-links/listpaymentlinkcharges.md): Lists the charges made through a given payment link. Results are sorted by creation date, with the most recent objects first. To read the custom field values a customer submitted for a given payment,
