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 uses api.digetpay.com/v1. Never mix keys across environments.

❗️

Store API keys server-side only. Never expose x-api-key in 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]
PathYou buildCode section
Hosted CheckoutServer creates link → redirectHosted Checkout Code
Embedded IntegrationYour checkout UI + server-side chargeEmbedded Integration Code
Apple Pay (embedded)Apple Pay button on your siteApple 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:

HostedEmbeddedApple PayWebhooks

Next steps



Did this page help you?