Linking to a transfer in the UI
To link to a specific message in the Notabene UI, you need to know the ID and which "box" it is located in based on the status:
Message Status | Box | Example |
---|---|---|
NEW | OUTBOX | pageType=outgoing_outbox&transaction_id_details={{messageID}} |
MISSING_BENEFICIARY_DATA | WAITING FOR DATA | pageType=outgoing_waiting&transaction_id_details={{messageID}} |
WAITING_FOR_INFORMATION | WAITING FOR DATA | pageType=outgoing_waiting&transaction_id_details={{messageID}} |
CANCELLED | COMPLETED | pageType=outgoing_completed&transaction_id_details={{messageID}} |
INCOMPLETE | WAITING FOR DATA | pageType=incoming_waiting&transaction_id_details={{messageID}} pageType=outgoing_waiting&transaction_id_details={{messageID}} |
SENT | PENDING RESPONSE | pageType=outgoing_pending&transaction_id_details={{messageID}} |
ACK | PENDING RESPONSE | pageType=outgoing_pending&transaction_id_details={{messageID}} |
ACCEPTED | COMPLETED | pageType=outgoing_completed&transaction_id_details={{messageID}} |
DECLINED | COMPLETED | pageType=outgoing_completed&transaction_id_details={{messageID}} |
REJECTED | COMPLETED | pageType=outgoing_completed&transaction_id_details={{messageID}} |
NOT_READY | COMPLETED | pageType=outgoing_completed&transaction_id_details={{messageID}} |
SAVED | COMPLETED | pageType=outgoing_completed&transaction_id_details={{messageID}} |
For example, in the webhook, you recieve a message that you want to link to:
{
"message": "notification.transactionUpdated",
"payload": {
"beneficiaryVASPdid": "did:ethr:0x049fc13a4f1e79d4d03f082ca96758179a91da29",
"originatorVASPdid": null,
"id": "b0d2adc2-216f-4d93-986f-1e323527a1c1",
"status": "INCOMPLETE",
...
}
},
"version": "1.0.0"
}
Incomplete is in two directions: outgoing and incoming, so you need to know if you're sending or receiving it. My VASP DID did:ethr:0x049fc13a4f1e79d4d03f082ca96758179a91da29
so I know I am receiving
it, it's incoming
It is incomplete
, so waiting + incoming = pageType=incoming_waiting
The ID is b0d2adc2-216f-4d93-986f-1e323527a1c1
Updated about 1 month ago