Start

Quickstart

From signup to a successful test payment in 5 minutes. One curl, one webhook.

  1. Register a merchant in the dashboard.
  2. Create a shop and an sk_test_… API key.
  3. Create a payment and grab the payment_url.
  4. Redirect the customer to that URL and wait for the payment.succeeded webhook.
  5. After KYC, enable live mode and switch keys to sk_live_….

Via an SDK

Eight official clients: Node.js, Python, PHP, Ruby, Java, .NET, Go, Flutter / Dart. Full list with install commands and samples is in the SDKs section.

npm install @nerezpay/sdk          # Node.js
pip install nerezpay               # Python
composer require nerezpay/sdk      # PHP
gem install nerezpay               # Ruby
go get github.com/nerezpay/sdk-go  # Go
flutter pub add nerezpay           # Dart / Flutter
curl -X POST https://api.nerezpay.ru/v1/public/payments \
  -H 'Authorization: Bearer sk_test_x9k…' \
  -H 'Content-Type: application/json' \
  -d '{
  "amount":      150000,
  "currency":    "RUB",
  "method":      "sbp",
  "order_id":    "ORDER-1042",
  "customer_id": "user-7821",
  "return_url":  "https://example.com/order/1042/done"
}'