Debit and credit card payments are authorized by the card issuer through the card network and processor.
A card transaction sends an authorization request through the acquiring processor and card network to the issuer. The issuer approves or declines it, often using risk checks or an additional cardholder authentication step. A hosted payment page keeps card entry outside the merchant's own application.
The customer enters card details on a payment page and confirms the purchase; additional authentication may be requested by the issuer. Merchants should not collect or store card numbers or security codes unless they meet the applicable security requirements.
The payment service handles the card entry and authorization flow. The merchant should act on a confirmed payment result and handle a return to the configured URL as navigation, not as proof of payment.
The public payment-method catalog is the live authority for whether a method is enabled, the supported currencies, and the fields required in the current environment. Read it before displaying or submitting this method. A listed method is not necessarily enabled.
Use the method code and required fields returned by the live catalog. The documented card channel includes `customer_email` and may include an HTTPS `return_url`. EDPay routes card processing to the environment-specific Paystack credentials server-side (test in Sandbox, live in Production); credentials are never sent by the merchant. A return URL is not a payment confirmation.
/v1/payments/{id}/private-checkoutThe example shows the documented method shape. Replace the method with the code returned by the live catalog and include its current required fields. Partner keys stay on your server. A 202 response means processing was accepted, not that the payment succeeded.
curl -X POST "https://api-pay.edutecka.com/v1/payments/pay_0123456789abcdef0123456789abcdef/private-checkout" \
-H "X-EDPay-Public-Key: <PUBLIC_KEY>" \
-H "X-EDPay-Private-Key: <PRIVATE_KEY>" \
-H "Accept: application/json" \
-H "Idempotency-Key: order-2026-001-private-checkout" \
-H "Content-Type: application/json" \
-d '{
"method": "card",
"channel": {
"type": "card",
"customer_email": "[email protected]"
}
}'