Skip to main content

Documentación

Display Issued Card Details to Customer

Generate a hosted page that displays details of a virtual issued card directly to the customer.

The URL is available for 24 hours after the response is sent, then it expires.

    • card

    • ID of the issued card, a string starting with ci_ or card_.

    • card_color

    • The color of the card, specified by one of the following formats:

      • hexadecimal value

      • CSS color name

      • RGB

      • RGBA

      black

    • language

    • Determines the default language of the hosted page.

    • logo

    • The URL of the logo image that appears on the card. If the logo is not specified, the name of the merchant appears.

    • logo_orientation

    • The orientation of the logo on the card.

      • landscape

      • square

      • portrait

      landscape

  • /v1/hosted/issuing/card_details/:card

  • Display Issued Card Details to Customer

  • curl -X post 'https://sandboxapi.rapyd.net/v1/hosted/issuing/card_details/ci_d4fa9d7f43819d92c66125e2a7579fe6' \
    -H 'access_key: your-access-key-here' \
    -H 'Content-Type: application/json' \
    -H 'idempotency: your-idempotency-parameter-here' \
    -H 'salt: your-random-string-here' \
    -H 'signature: your-calculated-signature-here' \
    -H 'timestamp: your-unix-timestamp-here' \
    --data-raw '{
        "card_color": "#f9f9f9",
        "logo": "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcTNgldxyUfmVPmQV1YpTcDWo_kjX-TO_EiccQ&usqp=CAU",
        "language": "es",
        "logo_orientation": "landscape"
    }'
  • {
        "status": {
            "error_code": "",
            "status": "SUCCESS",
            "message": "",
            "response_code": "",
            "operation_id": "706df17e-491e-4ecf-bb54-551256f271c1"
        },
        "data": {
            "status": "NEW",
            "cancel_url": "https://example1234.net",
            "complete_url": "https://example1234.net",
            "language": "es",
            "merchant_color": "323fff",
            "merchant_logo": "",
            "merchant_website": "https://example1234.net",
            "merchant_customer_support": {
                "url": "https://example1234.net",
                "email": "support@example1234.net",
                "phone_number": "121255551213"
            },
            "merchant_alias": "Doc Team",
            "merchant_terms": "https://example1234.net/terms_and_conditions",
            "merchant_privacy_policy": "https://example1234.net/privacy_policy",
            "page_expiration": 1764070043,
            "redirect_url": "https://sandboxhosted.rapyd.net/issuing/card_details?token=hp_issued_f67f791ca0b157cc261c0033146cd51a",
            "id": "hp_issued_f67f791ca0b157cc261c0033146cd51a",
            "expiration": 1764070043,
            "card_color": "#f9f9f9",
            "logo": "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcTNgldxyUfmVPmQV1YpTcDWo_kjX-TO_EiccQ&usqp=CAU",
            "logo_orientation": "landscape",
            "card": {
                "name": "John Doe",
                "network": "Mastercard"
            }
        }
    }