Skip to main content

Documentation

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_7a9e7ef54d174ff9fe23f66e425145d5
    -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'
    -d '{
        "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": "b1515fa3-3c24-496c-90f0-d91a7afb3492"
        },
        "data": {
            "id": "hp_issued_fbe02ebcf597501d5785b93222b12496",
            "redirect_url": "https://sandboxhosted.rapyd.net/issuing/card_details?token=hp_issued_fbe02ebcf597501d5785b93222b12496",
            "merchant_color": "",
            "merchant_language": "",
            "merchant_logo": "",
            "merchant_website": "https://rapyd.net",
            "merchant_alias": "Rapyd",
            "merchant_customer_support": {
                "email": null,
                "url": null,
                "phone_number": null
            },
            "status": "NEW",
            "expiration": 1620816798,
            "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"
            },
            "language": "es"
        }
    }