Generate Card Token
Generates a short-lived token for securely displaying full card details (PAN/CVV) to the cardholder, e.g. in a hosted card-details view.
Path: cardId (string, required). No body.
Returns a short-lived provider token in data.token for use with the card provider’s secure card-details display. Error messages from this endpoint are prefixed with Sudo API Error: (sometimes twice, for provider HTTP errors).
All errors from this folder use
{ "status": "error", "message": "..." }and are returned as HTTP 400 (including “Card not found” — there is no 404). Success bodies usestatus: "success"(notsuccess: truelike the VTU endpoints).
Authentication
AuthorizationBearer
Access token from Generate Access Token (valid 15 minutes).
Path parameters
cardId
The card ID.
Response
OK
status
message
data
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
