Make sure you've registered to begin using Payment Links. Contact your Solution Engineer or [email protected]. During integration, you can specify your payment capture and 3D Secure settings.
You can set up webhooks to be notified when the payment has been approved, so you can continue the sales fulfillment flow.
When requesting a payment from a customer using Payment Links solution, you can create a Payment Links session. This can be sent to the customer through a method that best suits you.
To display a button that redirects the customer after their payment is approved, make sure your API request includes a return_url parameter with your chosen URL value.
To get a detailed view of all required and optional fields, see our API reference.
Note
Checkout.com does not support Payment Links embedded within an iframe.
If you've enabled Remember Me to let customers save and reuse their details for faster checkout:
To display Remember Me on the checkout screen, you must provide the display_name and customer.email fields in the request
To help with profile creation and retrieval, request a phone number from the customer and provide it in the customer.phone field
Note
http://localhost/ can only be used for the URL fields during testing and does not work in production.
post
https://api.checkout.com/payment-links
post
https://api.sandbox.checkout.com/payment-links
The fields you're required to supply in your request vary depending on the payment method used. To see which fields are required, refer to the Payment methods table.
Some payment methods may require you to provide additional fields or specific values when you perform a payment request. Refer to the API reference for more details.
Retrieve the Payment Link from _links.redirect.href to send to your customer.
This could be by email, text message, social media, live chat – wherever your customer wants to pay.
When they visit the link, they're presented with a Hosted Payments Page to complete their payment. Once they complete the payment, they're redirected to a Checkout.com-hosted confirmation page.
To keep track of the payments you request through Payment Links, you can check the status using the id returned when you created the session. For example, pl_ELqQJXdXzabU.
There are three statuses:
Active – The Payment Link can accept a payment from the customer. A payment may have been attempted by the customer but not completed successfully.
Payment Received – A payment has been received successfully using this Payment Link.
Expired – The Payment Link has expired and can no longer be accessed.
For a full explanation of the fields, see our API reference.