NapoleonPay payment gateway API for creating payments
NapoleonPay API Docs (1.1.0)
Bodyapplication/jsonrequired
Enum"APPLEPAY""GOOGLEPAY""BLIK""CARD""ONRAMP""ONRAMP_PAYID""ONRAMP_PIX""ONRAMP_ZAR""ONRAMP_PSE""ONRAMP_KHIPU"
Example: "APPLEPAY"
Discriminator
- https://api.napoleonpay.com/api/v1/payments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.napoleonpay.com/api/v1/payments \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Signature: string' \
-d '{
"paymentType": "DEPOSIT",
"paymentMethod": "APPLEPAY",
"amount": 20,
"currency": "EUR",
"reference": "YOUR-SYSTEM-TRX-ID",
"billingAddress": {
"countryCode": "LT"
},
"returnUrl": "https://example.com/return",
"webhookUrl": "https://example.com/webhook"
}'Response
application/json
{ "id": "01990efa-5437-70c6-8244-85546f382bb3", "paymentStatus": "PENDING", "created": { "date": "2025-09-03 12:48:31.020712", "timezone_type": 3, "timezone": "Europe/Vilnius" }, "paymentType": "DEPOSIT", "description": "Test GooglePay payment for order order-45c721ca", "paymentMethod": "APPLEPAY", "reference": "order-45c721ca", "amount": 10.23, "currency": "EUR", "customer": null, "billingAddress": { "address1": null, "city": null, "countryCode": "GB", "postalCode": null, "state": null } }