Integration Code Overview
Pick your integration path and language — PHP, Node.js, Python, or Java.
Copy-paste integration examples for every major path. Concept guides explain what to build; this section shows how in your language.
Prerequisites: Sandbox Setup, staging API key, and Environments Overview.
Staging uses
fin-api.digetpay.com/v1. Production usesapi.digetpay.com/v1. Never mix keys across environments.
Store API keys server-side only. Never expose
x-api-keyin browser JavaScript or mobile app bundles.
Choose your integration
flowchart LR HC[Hosted Checkout] --> HCCode[Hosted Checkout Code] EI[Embedded Integration] --> EICode[Embedded Integration Code] AP[Apple Pay Embedded] --> APCode[Apple Pay Code]
| Path | You build | Code section |
|---|---|---|
| Hosted Checkout | Server creates link → redirect | Hosted Checkout Code |
| Embedded Integration | Your checkout UI + server-side charge | Embedded Integration Code |
| Apple Pay (embedded) | Apple Pay button on your site | Apple Pay Code |
Hosted Apple Pay: No merchant code — DigetPay checkout handles Apple Pay. See Apple Pay on Hosted Checkout.
Languages
Each integration path has examples in:
Next steps
Updated about 1 month ago
Did this page help you?
