This API allows partners to initiate and manage payments, payouts, check statuses, and interact with the payment form. It also provides access to balance and refund operations.
1Payment API (1.0.0)
https://doc.nova.1payment.com/_mock/apis/
https://api.test.nova.1payment.com/
- Mock server
https://doc.nova.1payment.com/_mock/apis/init_payment/{type}
- Test server
https://api.test.nova.1payment.com/init_payment/{type}
- cURL
- JS
- PHP
- Java
- Python
curl -i -X POST \
'https://doc.nova.1payment.com/_mock/apis/init_payment/{type}' \
-H 'Content-Type: application/json' \
-H 'signature: YOUR_API_KEY_HERE' \
-H 'timestamp: YOUR_API_KEY_HERE' \
-d '{
"partner_id": 1234,
"project_id": 5678,
"user_data": "uda-123",
"amount": 100
}'Unified response for all outcomes. On success, the response contains payment initialization details including the transaction ID and status. On error, the response includes an error code and message describing the issue.
Unique identifier of the payment.
{ "order_id": "8p3brmb19gfg0sg8gcwhws8kgc748s87", "status": 2, "status_code": 0, "redirect_url": "https://qr.nspk.ru/XXX" }
- Mock server
https://doc.nova.1payment.com/_mock/apis/status_payment
- Test server
https://api.test.nova.1payment.com/status_payment
- cURL
- JS
- PHP
- Java
- Python
curl -i -X POST \
https://doc.nova.1payment.com/_mock/apis/status_payment \
-H 'Content-Type: application/json' \
-H 'signature: YOUR_API_KEY_HERE' \
-H 'timestamp: YOUR_API_KEY_HERE' \
-d '{
"order_id": "string",
"partner_id": 1234,
"project_id": 5678
}'{ "partner_id": 1234, "project_id": 5678, "amount": 50, "description": "Payment for order #42", "user_data": "abc-123", "order_id": "abc-123" }
Recipient's account identifier, such as card number, phone number, or other destination depending on payout type.
- Mock server
https://doc.nova.1payment.com/_mock/apis/init_payout
- Test server
https://api.test.nova.1payment.com/init_payout
- cURL
- JS
- PHP
- Java
- Python
curl -i -X POST \
https://doc.nova.1payment.com/_mock/apis/init_payout \
-H 'Content-Type: application/json' \
-H 'signature: YOUR_API_KEY_HERE' \
-H 'timestamp: YOUR_API_KEY_HERE' \
-d '{
"partner_id": 1234,
"project_id": 5678,
"amount": 50,
"destination": "79001234567",
"user_data": "abc-123"
}'{ "order_id": "abc-123", "status": 2, "status_code": 0 }
- Mock server
https://doc.nova.1payment.com/_mock/apis/status_payout
- Test server
https://api.test.nova.1payment.com/status_payout
- cURL
- JS
- PHP
- Java
- Python
curl -i -X POST \
https://doc.nova.1payment.com/_mock/apis/status_payout \
-H 'Content-Type: application/json' \
-H 'signature: YOUR_API_KEY_HERE' \
-H 'timestamp: YOUR_API_KEY_HERE' \
-d '{
"order_id": "string",
"partner_id": 1234,
"project_id": 5678
}'{ "partner_id": 1234, "project_id": 5678, "amount": 50, "description": "Payment for order #42", "user_data": "abc-123", "order_id": "abc-123" }
- Mock server
https://doc.nova.1payment.com/_mock/apis/init_form
- Test server
https://api.test.nova.1payment.com/init_form
- cURL
- JS
- PHP
- Java
- Python
curl -i -X POST \
https://doc.nova.1payment.com/_mock/apis/init_form \
-H 'Content-Type: application/json' \
-H 'signature: YOUR_API_KEY_HERE' \
-H 'timestamp: YOUR_API_KEY_HERE' \
-d '{
"partner_id": 1234,
"project_id": 5678,
"user_data": "uda-123",
"amount": 100
}'{ "redirect_url": "https://pay.example.com/form/xyz" }
- Mock server
https://doc.nova.1payment.com/_mock/apis/init_invoice
- Test server
https://api.test.nova.1payment.com/init_invoice
- cURL
- JS
- PHP
- Java
- Python
curl -i -X POST \
https://doc.nova.1payment.com/_mock/apis/init_invoice \
-H 'Content-Type: application/json' \
-H 'signature: YOUR_API_KEY_HERE' \
-H 'timestamp: YOUR_API_KEY_HERE' \
-d '{
"partner_id": 1234,
"project_id": 5678,
"user_data": "uda-123",
"amount": 100
}'{ "invoice_url": "https://invoice.example.com/i/abc123", "order_id": "inv_123456789" }
- Mock server
https://doc.nova.1payment.com/_mock/apis/get_balance
- Test server
https://api.test.nova.1payment.com/get_balance
- cURL
- JS
- PHP
- Java
- Python
curl -i -X POST \
https://doc.nova.1payment.com/_mock/apis/get_balance \
-H 'Content-Type: application/json' \
-H 'signature: YOUR_API_KEY_HERE' \
-H 'timestamp: YOUR_API_KEY_HERE' \
-d '{
"partner_id": 1234,
"project_id": 5678
}'{ "payout_balance": 1200.5, "expected_balance": 1350, "currency": "RUB" }