GET/api/v2/mor/public/cards/{cardId}/secure-widget

Get 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

Request parameters
FieldTypeRequiredDescription
cardId (path)integer (int32)Yes

Responses

200 — OK

Response 200 fields
FieldTypeRequiredDescription
successbooleanNoIndicates if the client access token generation was successful
widgetUrlstringNoThe iframe URL for the the card platform widget (deprecated - not used in Widget.js integration)
widgetTokenstringNoClient access token for Widget.js integration
expiresInunknownNoToken expiration time in seconds (5 minutes for client access tokens)
errorCodestringNoError code if the operation failed
errorMessagestringNoHuman-readable error message if the operation failed
cardIdunknownNoCard ID for reference
configobjectNo

400 — Bad Request

Response 400 fields
FieldTypeRequiredDescription
successbooleanNoIndicates if the client access token generation was successful
widgetUrlstringNoThe iframe URL for the the card platform widget (deprecated - not used in Widget.js integration)
widgetTokenstringNoClient access token for Widget.js integration
expiresInunknownNoToken expiration time in seconds (5 minutes for client access tokens)
errorCodestringNoError code if the operation failed
errorMessagestringNoHuman-readable error message if the operation failed
cardIdunknownNoCard ID for reference
configobjectNo

401 — Unauthorized

Response 401 fields
FieldTypeRequiredDescription
typestringNo
titlestringNo
statusunknownNo
detailstringNo
instancestringNo

403 — Forbidden

Response 403 fields
FieldTypeRequiredDescription
messagestringNo
codestringNo

404 — Not Found

Response 404 fields
FieldTypeRequiredDescription
messagestringNo
codestringNo

409 — Conflict

Response 409 fields
FieldTypeRequiredDescription
messagestringNo
codestringNo

429 — Too Many Requests

Response 429 fields
FieldTypeRequiredDescription
typestringNo
titlestringNo
statusunknownNo
detailstringNo
instancestringNo

500 — Internal Server Error

Response 500 fields
FieldTypeRequiredDescription
messagestringNo
codestringNo

503 — Service Unavailable

Response 503 fields
FieldTypeRequiredDescription
messagestringNo
codestringNo

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.