Getting Started with DGS-Pay: A Complete Integration Guide
Learn how to integrate DGS-Pay payment gateway into your application. Complete guide covering authentication, payment methods, and first API call.
Read more →By DGS-Pay Team | April 4, 2026
Processing card payments requires strict adherence to security standards. DGS-Pay handles the heavy lifting by encrypting card data at the source.
All sensitive card data is encrypted using military-grade AES-256-GCM encryption before it leaves the customer browser. Your server never sees raw card numbers.
Cards are tokenized after the first transaction, allowing you to charge returning customers without storing card details.
Retrieve your encryption key from the merchant dashboard under Settings → API Settings.
const encrypted = await encryptCard("4532123456789010", "12", "2028", "123");
// Use encrypted fields in your API requestSome transactions require additional verification:
Use these scenario keys for testing:
"scenario_key": "scenario:auth_pin&issuer:approved" // Success
"scenario_key": "scenario:auth_pin&issuer:insufficient_funds" // DeclineLearn how to integrate DGS-Pay payment gateway into your application. Complete guide covering authentication, payment methods, and first API call.
Read more →Discover how to accept Mobile Money payments (MTN and Airtel) in Rwanda using DGS-Pay API. Complete integration guide with code examples.
Read more →Complete guide to setting up DGS-Pay webhooks. Learn how to receive real-time payment notifications and verify webhook signatures securely.
Read more →