Returns the complete state transition history for a payment, including each status change and its timestamp. Use this to audit payment progress or debug processing issues.
Security
Bearer
- Mock serverhttps://docs.ripple.com/_mock/products/payments-direct-2/api-docs/payments-direct-api/payments-direct-2-api/v3/payments/{paymentId}/states
- UAT environment with simulated currencyhttps://api.test.ripple.com/v3/payments/{paymentId}/states
- Production environmenthttps://api.ripple.com/v3/payments/{paymentId}/states
curl -i -X GET \
https://docs.ripple.com/_mock/products/payments-direct-2/api-docs/payments-direct-api/payments-direct-2-api/v3/payments/7ea3399c-1234-5678-8d8f-d320ea406630/states \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
{ "stateTransitions": [ { … } ] }