Cross-chain payments use a separate API key from the OMS Payments API. Get yours from the Trails Dashboard while the two systems share authentication.
Install
Drop in a component
TheFund component opens a payment widget that accepts card, bank, exchange, and wallet funding. Import it directly and pass the destination plus an optional callback. There is no provider to set up.
FundButton.tsx
Fund directly into a product action
Passto.calldata to encode a destination action that executes automatically when funds arrive. A customer can fund from a debit card and deposit into a yield vault in one step. Use dynamic() in the encoded args wherever the arrived amount should appear:
VaultFundButton.tsx
dynamic() resolves at execution time.
Non-React sites
For pages without React, load the widget via CDN:For direct server-side control without a UI layer, use the direct API instead.