Accept bKash, Nagad, Rocket, card and bank payments with one clean API. Create a request, redirect the customer, verify the result — Nagorikpay handles the rest.
# Create a payment and redirect the customer
curl -X POST \
'https://secure-pay.nagorikpay.com/api/payment/create' \
-H 'API-KEY: YOUR_BRAND_KEY' \
-H 'Content-Type: application/json' \
-d '{
"amount": "100",
"success_url": "https://yoursite.com/success",
"cancel_url": "https://yoursite.com/cancel",
"webhook_url": "https://yoursite.com/webhook"
}'
Pick the part of the platform you are working with. Each page is short, practical and kept in step with the live API.
Use the raw API from any language, or start from a ready-made module and skip the boilerplate.
Create a brand, generate an API key and send your first request. The sandbox is there whenever you want to test without moving money.