Update Payment
Endpoint Not Available
The PATCH /payments/{id}/ and PUT /payments/{id}/ endpoints do not exist. Payments are immutable once created and cannot be updated.
Why Payments Are Immutable
- Blockchain Security — Once a payment address is generated, it cannot be changed
- Audit Trail — Immutable payments provide a clear transaction history
- Rate Locking — Fixed rates are locked at creation time
- Customer Trust — Prevents confusion from changing payment details
Alternative Approaches
If you need different payment parameters, create a new payment:
curl -X POST {{BASE_URL}}/payments/ \
-H "Authorization: Bearer your_access_token" \
-H "Content-Type: application/json" \
-d '{
"amount": 150.00,
"currency": "USDTTRC20",
"order_id": "order_12345_v2"
}'
Available Payment Endpoints
The Payments API (/payments/) provides the following actions:
- Create Payment —
POST /payments/ - List Payments —
GET /payments/ - Get Payment Status —
POST /payments/status/ - Get Minimum Amount —
GET /payments/min-amount/