redirectUrl from the matching issue API — do not assemble the URL on the client except when swapping the host for QA.| Page | URL | Issued by |
|---|---|---|
| Pending list | /{lng}/deposit-travel-rule?token={token} | POST /v1/wallet/deposit-whitelist/travel-rule-link |
| Single deposit detail | /{lng}/deposit-travel-rule-detail?token={token}&id={id} | POST /v1/wallet/deposit-whitelist/transactions/{transactionId}/travel-rule-detail-link |
id is the deposit transactionId (the same value used when opening Submit from the list page, and the title ID #). The detail page has no pending list: it opens the Submit form for that transaction.allow (do not use allow-same-origin)| Attribute | Description |
|---|---|
allow="clipboard-write" | Allows clipboard write inside the iframe (e.g. copy Transaction ID); otherwise the browser may block copy. |
allow-same-origin in sandbox: otherwise the iframe would be treated as same-origin with the embedder, allowing our page to access the embedder’s document and creating a security risk. Without sandbox, the iframe loads under our domain normally; cookies, storage, and canvas export/download work; the parent only needs to grant clipboard via allow="clipboard-write".postMessage to the parent window so the parent can hide the iframe, close a modal, or run other logic.| Field | Type | Description |
|---|---|---|
type | string | Always 'DEPOSIT_TRAVEL_RULE_CLOSED'; use this to identify the close event. |
source | string | Always 'deposit-travel-rule'; identifies the sending page. |
{
"type": "DEPOSIT_TRAVEL_RULE_CLOSED",
"source": "deposit-travel-rule"
}window.parent !== window).window.parent; targetOrigin is determined by env or default.Open item (§0.3): whether to also emit DEPOSIT_TRAVEL_RULE_SUBMITTEDafter successful submit (transactionId,whiteListStatus) is not decided. Not documented until product confirms.
event.origin and only accept messages from trusted origins:darkMode (optional)| Parameter | Values | Effect |
|---|---|---|
darkMode | true / 1 / yes | Force dark |
darkMode | false / 0 / no | Force light |
src, the parent can append this parameter to the server-returned URL, e.g.:https://example.com/en/deposit-travel-rule?token=xxx&darkMode=true
https://example.com/en/deposit-travel-rule-detail?token=xxx&id=796283603784611840&darkMode=truedarkMode parameter (e.g. load with URL light, then switch to dark via postMessage).| Field | Type | Description |
|---|---|---|
type | string | Must be 'DEPOSIT_TRAVEL_RULE_SET_DARK_MODE'. |
darkMode | boolean | true = dark, false = light. |
contentWindow and call postMessage with the hosted page’s origin as the second argument (use window.location.origin when same-origin):darkMode parameter.