Skip to main content
Search

Report TXID

This POST /api/verify/v2/notify_tx_id endpoint is for Pre-transaction Travel Rule to update GTR with the actual tx_id after asset transfer has been executed on the blockchain.

By calling this API, you are notifying GTR and your counterparty about the mapping of tx_id to requestId. So when they receive an incoming deposit from blockchain, they will check:

  • Any Travel Rule request_id associated with this specific tx_id?
  • What is the status of this Travel Rule request_id, Passed or Failed?

For further details of this endpoint, see API Reference: /api/verify/v2/notify_tx_id.

Request & Response

curl --silent --location --request POST "/api/verify/v2/notify_tx_id" \
--cert-type P12 --cert ./certificate.p12:'[MY_PASSWORD_OF_CERT]' \
--header 'Content-Type: application/json' \
--header "Authorization: Bearer [YOUR LOGIN TOKEN]" \
--header "Connection: keep-alive" \
--data-raw "{
\"requestId\": \"[REQUEST ID]\",
\"txId\": \"[On chain TX ID]\"
}"

You can expect to receive response as below. GTR will forward your tx_id to your counterparty.

{
"verifyMessage": "success",
"verifyStatus": 100000
}