GET
/api/v2/cards/{cardId}/widgetGet secure widget URL for displaying card details in an iframe
Authentication
Send your API key in the x-api-key header on every request.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| userId (query) | unknown | No | User ID (mandatory) |
| verificationToken (query) | string | No | |
| cardId (path) | unknown | Yes | Card ID (mandatory) |
Responses
200 — OK
| Field | Type | Required | Description |
|---|---|---|---|
| Success | boolean | No | Indicates if the client access token generation was successful |
| WidgetUrl | string | No | The iframe URL for the the card platform widget (deprecated - not used in Widget.js integration) |
| WidgetToken | string | No | Client access token for Widget.js integration |
| ExpiresIn | unknown | No | Token expiration time in seconds (5 minutes for client access tokens) |
| ErrorCode | string | No | Error code if the operation failed |
| ErrorMessage | string | No | Human-readable error message if the operation failed |
| CardId | unknown | No | Card ID for reference |
| Config | object | No |
400 — Bad Request
| Field | Type | Required | Description |
|---|---|---|---|
| Message | string | No | |
| Code | string | No | |
| Status | unknown | No | |
| ValidationErrors | object | No | |
| Details | string | No |
401 — Unauthorized
| Field | Type | Required | Description |
|---|---|---|---|
| Message | string | No | |
| Code | string | No | |
| Status | unknown | No | |
| ValidationErrors | object | No | |
| Details | string | No |
404 — Not Found
| Field | Type | Required | Description |
|---|---|---|---|
| Message | string | No | |
| Code | string | No | |
| Status | unknown | No | |
| ValidationErrors | object | No | |
| Details | string | No |
500 — Internal Server Error
| Field | Type | Required | Description |
|---|---|---|---|
| Message | string | No | |
| Code | string | No | |
| Status | unknown | No | |
| ValidationErrors | object | No | |
| Details | string | No |
Example request
curl -X GET "https://{base_url}/api/v2/cards/{cardId}/widget" \
-H "x-api-key: YOUR_API_KEY"This page is generated from the live OpenAPI specification and always matches the current API.