# NapoleonPay API Docs

NapoleonPay payment gateway API for creating payments

Version: 1.1.0

## Servers

```
https://api.napoleonpay.com
```

## Security

### Bearer

API Key used as a Bearer token

Type: http
Scheme: bearer

### Signature

HMAC SHA-256 signature of the request payload

Type: apiKey
In: header
Name: Signature

## Download OpenAPI description

[NapoleonPay API Docs](https://docs.napoleonpay.com/_bundle/api.yaml)

## Deposits

Operations related to creating and managing deposits

### Create a payment

 - [POST /api/v1/payments](https://docs.napoleonpay.com/api/deposits/createpayment.md): Create a payment via Apple Pay, Google Pay, BLIK, CARD, ONRAMP or PAYID using a single endpoint. Keep in mind, when making an NFT purchase only the methods APPLEPAY, GOOGLEPAY, OPENBANKING, CARD are available. 
The request schema depends on paymentMethod.

### Get payment by ID

 - [GET /api/v1/payments/{id}](https://docs.napoleonpay.com/api/deposits/getpaymentbyid.md): Retrieve a single payment by its unique ID.
Only Bearer token authentication is required.

