🪪
Vibrant Card <> Alfred Integration Docs
  • Integration
    • Getting Started
    • Authentication Sep 10
    • Verify sign Sep 10
    • Update Balance and Get Url
    • Open widget
    • Webhooks
    • Post Messages
    • Use Cases
    • Wallet User Status
Powered by GitBook
On this page
  1. Integration

Post Messages

PreviousWebhooksNextUse Cases

Last updated 10 months ago

The Vibrant Wallet funds movement request events to the Alfred widget will be communicated via postMessage() method to the Vibrant Wallet.

Headers

{
    "Cross-Origin-Opener-Policy": "same-origin",
    "Cross-Origin-Embedder-Policy": "require-corp"
}

Payload

{
    "eventType": "requestPayment",
    "userAddress": "GDTD5OJVOQOLDQEL6UOTGLHCCSYIHFXTFS5RZ5F3ANMTWTYE6IA45IYX",
    "addressRefunds": "GDTD5OJVOQOLDQEL6UOTGLHCCSYIHFXTFS5RASRFGYUIOMKLLLLLLLLLLL",
    "memo": "8AVC76DX",
    "amount": 20,
    "assetCode": "USDC"
}

userAddress: Vibrant's wallet.

addressRefunds: Alfred's wallet for wigdet transactions.