Skip to main content

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

  1. Blockchain Security — Once a payment address is generated, it cannot be changed
  2. Audit Trail — Immutable payments provide a clear transaction history
  3. Rate Locking — Fixed rates are locked at creation time
  4. 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: