Hosted Checkout Code
PHP, Node.js, Python, and Java examples for hosted checkout integration.
Server-side examples for Hosted Checkout: create a payment link, redirect the customer, confirm payment, handle webhooks, and process refunds.
Concept guide: Hosted Checkout Integration Overview — API flow and diagrams without code.
Use
POST /payment/checkout/intiate(not/session). Base URL:https://api.digetpay.com/v1, the same for Test and Live. Send your Test API Key for demo payments or your Live API Key for real payments in thex-api-keyheader.
Apple Pay: No merchant code for hosted checkout — send
customerPhonewhen creating the link. See Apple Pay on Hosted Checkout.
Next steps
Updated about 2 months ago
Did this page help you?

