# Suggesting to Save Credit Card Data

By default, the payment page doesn't suggest saving a credit card for use later.

You can change this by setting the `keepCCDetails` property to `true`. As a result, the payment page will contain the **Save Credit Card Detail** checkbox that the customer can select to allow storing their card for future use:

```json
<paymentPageData>
    <ppsJSONConfig>
        {
            "uiCustomData": {
                "keepCCDetails": true
            }
        }
    </ppsJSONConfig>
</paymentPageData>
```

Here's the resulting payment page:

![A payment page suggesting to save credit card data](/files/RYgmfe7YO9iFoGwgssAN)

When [redirecting to your success or error page](/enterprise/payment-page-integration/integrating-hyps-payment-page-and-accepting-payment.md#handle-payment-completion-redirect), Hyp CreditGuard passes a query string with several parameters. One of them is `keepCCDetails`. If it's set to `true`, it means the customer has opted to save their card, and you can now save the token and the expiration date, both of which are also returned in the query string, to your database.

For details, see [Tokenization](/enterprise/additional-payment-scenarios/tokenization.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.hyp.co.il/enterprise/changing-the-default-payment-page-appearance/suggesting-to-save-credit-card-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
