Praqor Developer API
Praqor is payment infrastructure for USDT on TRON. It delivers deterministic address allocation, continuous TRC20 event monitoring for verification, and signed webhook notifications.
Quick Start Integration
Follow these 3 standard steps to accept payments in your application.
Create a Payment Intent
Present the payment address to the user
The API returns a dedicated TRON wallet address with 60 minutes settlement window.
Fulfill Order on Webhook Confirmation
When on-chain transfer is confirmed, Praqor sends an authenticated HMAC webhook to your server.
Authentication
All API requests must be transmitted over HTTPS. Authentication is achieved via standard Bearer tokens in the HTTP Authorization header.
/api/v1/payments
Creates a new payment intent and reserves an HD wallet deposit address from the pool.
| Parameter | Type | Required | Description |
|---|---|---|---|
| amount | float | Required | Amount of USDT to accept (e.g. 150.00). Must be greater than 0. |
| reference | string | Required | Your internal system identifier for the order or invoice. |
/api/v1/payments/{id}
Retrieves the details of an existing payment intent.
/api/v1/payments
Returns a list of all payments associated with your API key. Supports pagination and status filtering.
/api/v1/payments/{id}/events
Returns an audit trail of all events (creation, detection, confirmation, expiry) for a specific payment.
Cryptographic Webhooks
Praqor signs all webhook payloads with HMAC-SHA256 to guarantee origin authenticity.
Error Handling
All errors return a consistent JSON body with a machine-readable code field.
| HTTP Status | Code | Description |
|---|---|---|
| 400 | invalid_request | Missing or invalid parameters in the request body. |
| 401 | unauthorized | Invalid, expired, or missing API key. |
| 404 | not_found | The requested resource does not exist or does not belong to your partner account. |
| 409 | conflict | Idempotency key conflict - the key was used with a different request body. |
| 422 | payment_limit_exceeded | Your account has reached the maximum number of concurrent pending payments. |
| 429 | rate_limited | Request rate exceeded. Implement exponential backoff and retry. |
| 500 | internal_error | Unexpected server-side failure. Contact [email protected] if this persists. |