🪪
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

Update Balance and Get Url

Communicating the balance in a safe and secure way.

POST /getWidgetUrl

Headers

{
       "Content-Type": "application/json",
       Authorization: `Bearer ${Token}`,
}

Considerations

The token for the previous EP (Verify sign Sep 10)

Body

Name
Type
Description

walletBalances

Object

Object with wallet balance in USDC

Body Example:

{
       "walletBalances": {
              "USDC": 0
       }
}

Response

{
  "url": "https://stg-widget-card.alfredpay.io/?uuid=4a066667-4e0c-48d1-a07a-fa66ea86e332"
}
{
  "message": "Unauthorized",
  "statusCode": 401
}
PreviousVerify sign Sep 10NextOpen widget

Last updated 10 months ago