Payments to your configurations
GET/agent/payments
Newest first. status: processing, delivering, completed, failed (the order failed and its cost was refunded to your balance; the customer's TRX is not returned automatically) or skipped (no Energy; see skip_reason, which is null when the TRX transfer was reversed on-chain before Energy was ordered). units/energy are what the payment buys under the configuration at detection time. A sale whose TRX transfer was later reversed on-chain stays completed here but is left out of your totals. With slow-delivery compensation on your account, a late sale can be refunded to your balance while it stays completed with its original cost_sun.
Request
Responses
- 200
- 422
Successful Response
Validation Error