Gets the sensitive details of a card
Returns the URL of an iframe that displays the card's sensitive details — number, security code and expiration — so an app or site can show them without ever handling them. The URL carries a short-lived credential of the cardholder, so treat it as sensitive: anyone holding it sees the card.
Which fields the iframe renders comes from the card's configuration group; by default it renders all three.
AuthorizationBearer <token>
In: header
Path Parameters
card_idstring
Card ID (Base 62 format)
Match
^[A-Za-z]{2,7}_[\w-]{22}$Example
"car_5tgliBmzjZ6mpQPRbQjfKj"Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.cert.monoban.co/v1/cards/car_5tgliBmzjZ6mpQPRbQjfKj/look"{
"card_id": "car_5tgliBmzjZ6mpQPRbQjfKj",
"url": "https://the-card.cuentamono.com/card/car_9zgliCmzjZ9mpQPRbQifkJ"
}{
"code": "400 Bad Request",
"errors": [
{
"error_code": "validation_error",
"message": "Generic changeset errors",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Malformed request"
}{
"code": "401 Unauthorized",
"errors": [
{
"error_code": "expired_token",
"message": "The token is expired, inactive, or doesn't exist.",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Authorization header is missing or invalid."
}{
"code": "403 Forbidden",
"errors": [
{
"error_code": "not_authorized",
"message": "Not authorized to have access to this resource.",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Not authorized to have access to this resource"
}{
"code": "404 Not Found",
"errors": [
{
"error_code": "item_not_found",
"message": "The item doesn't exist",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Resource not defined"
}{
"code": "422 Unprocessable Content",
"errors": [
{
"error_code": "missing_field",
"message": "The field is missing on the request body or parameters.",
"path": "#/path/to/field",
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Validation errors"
}