Pular para o conteúdo

Get event trail for payment

Requisição

Gets an audit trail of a payment's state changes on a local RippleNet instance.

Segurança
Bearer
Caminho
idstring, (uuid)obrigatório

Unique identifier of a payment.

curl -i -X GET \
  'https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/reference/openapi/audit/payment/{id}' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Respostas

Payment state change event trail.

Corpoapplication/json
Array [
featureNamestring

Feature name associated with the entityId. Possible values are payment.

Exemplo:"payment"
eventDetailstring

Detailed description of the event.

Exemplo:"Updated Payment to state PREPARED"
entityIdstring, (uuid)

UUID representing an event.

Exemplo:"d485f100-2af7-4e48-9ab1-3c7e28775691"
messageActionstring

String representation of the action being taken, where DS = downstream and US = upstream in the messaging processing pipeline.

Enum:"DS_STARTED""DS_COMPLETED""US_STARTED""US_COMPLETED""STATE_CHANGE""FAILURE"
Exemplo:"STATE_CHANGE"
createdAtstring

Timestamp of the audit event.

Exemplo:"2019-10-01T18:24:28.040000Z"
messageSenderstring, (RippleNetAddress)

The RippleNetAddress of the originator of the message that triggered the creation of this event.

Exemplo:"default"
messageTypestring

The type of message that was being processed that triggered the creation of this event.

Exemplo:"SETTLEMENT_PREPARE"
]
Resposta
[ { "featureName": "payment", "eventDetail": "Updated Payment to state PREPARED", "entityId": "d485f100-2af7-4e48-9ab1-3c7e28775691", "messageAction": "STATE_CHANGE", "createdAt": "2019-10-01T18:24:28.040000Z", "messageSender": "default", "messageType": "SETTLEMENT_PREPARE" } ]