Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 110 additions & 2 deletions mintlify/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion mintlify/snippets/receipts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ Most receipt fields come directly from the [transaction object](/api-reference/t
| Total to recipient | `receivedAmount.amount` + `receivedAmount.currency` |
| Total transfer fees | `fees` (smallest unit of the sending currency) |
| Exchange rate | `exchangeRate` |
| Transaction hash / VC address(es) | `reconciliationInstructions.transactionHash` (a dedicated transaction hash field may be exposed directly on the transaction) |
| Transaction hash | `source.onChainTransaction` / `destination.onChainTransaction` (`transactionHash` + `network`) when that side is an external crypto wallet; `reconciliationInstructions.transactionHash` carries the internal UMA settlement-leg hash |
| VC address(es) | Resolve `destination.accountId` to the external account and read the wallet address from its `accountInfo` |

## Example: send a receipt on completion

Expand Down
9 changes: 9 additions & 0 deletions mintlify/snippets/reconciliation/reconciliation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ Sample webhook payload:
}
}
```

<Note>
When the transaction's source or destination is an external crypto wallet, that `source` /
Comment thread
lightspark-faraday[bot] marked this conversation as resolved.
`destination` object also includes an `onChainTransaction` (`transactionHash` + `network`,
e.g. `SOLANA`) once the crypto transfer settles — use it to match the transfer on a
block explorer. The hash can land shortly after the terminal status, so a terminal webhook
payload may not include it yet; retrieve the transaction (`GET /transactions/{id}`) to read
it once settled.
</Note>
</Step>

<Step title="Process events idempotently">
Expand Down
Loading
Loading