/api/v2/mor/public/cards/{cardId}/secure-widgetGet a secure hosted card-information widget.
Company scope comes exclusively from the current API key. MOR success and business-error properties use camelCase. Validation may return application/problem+json; authentication may return plain text. The existing sensitive-operation 429 body uses Message, Code and Status. 429 means the configured request limit was exceeded; honor Retry-After when present. Returns widgetToken, widgetUrl and expiresIn (currently 300 seconds). The hosted URL remains supported for the reference app; never cache or log either credential. Provider single-use/origin restrictions are not guaranteed by this endpoint.
Authentication
Send your API key in the x-api-key header on every request.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| cardId (path) | integer (int32) | Yes |
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 |
|---|---|---|---|
| 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 |
401 — Unauthorized
| Field | Type | Required | Description |
|---|---|---|---|
| type | string | No | |
| title | string | No | |
| status | unknown | No | |
| detail | string | No | |
| instance | string | No |
403 — Forbidden
| Field | Type | Required | Description |
|---|---|---|---|
| message | string | No | |
| code | string | No |
404 — Not Found
| Field | Type | Required | Description |
|---|---|---|---|
| message | string | No | |
| code | string | No |
409 — Conflict
| Field | Type | Required | Description |
|---|---|---|---|
| message | string | No | |
| code | string | No |
429 — Too Many Requests
| Field | Type | Required | Description |
|---|---|---|---|
| type | string | No | |
| title | string | No | |
| status | unknown | No | |
| detail | string | No | |
| instance | string | No |
500 — Internal Server Error
| Field | Type | Required | Description |
|---|---|---|---|
| message | string | No | |
| code | string | No |
503 — Service Unavailable
| Field | Type | Required | Description |
|---|---|---|---|
| message | string | No | |
| code | string | No |
Example request
curl -X GET "https://{base_url}/api/v2/mor/public/cards/{cardId}/secure-widget" \
-H "x-api-key: YOUR_API_KEY"This page is generated from the live OpenAPI specification and always matches the current API.