> For the complete documentation index, see [llms.txt](https://docs.pandablue.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pandablue.com/deposits/solutions/fragments-sdk.md).

# Fragments (SDK)

Fragments is our ultimate toolkit to enable merchants to offer world-class credit card checkout experience.

### Fragments all-in-one

you can use our Fragments all-in-one version to display your checkout directly in your website with very low effort required. Fragments will handle the whole experience with all the possible scenarios: displaying installments, handling 3DS challenges, remembering payer's card and performing card validations.

Additionally, you can highly customize the frontend elements to math your site's styles, blending our frontend component naturally in your website.\
All this perks will remaining a fully PCI compliant integration.

<figure><img src="https://content.gitbook.com/content/f92vedEnowdVWbjM4Cmd/blobs/F3qEzokYzGIBOR8ts6Ct/SDK%20UI.png" alt="" width="375"><figcaption></figcaption></figure>

### Fragments Lite

In case you want to **build your own credit card checkout components in the frontend**, but without being PCI Compliant you can still opt for our Fragments SDK.&#x20;

You will need to send to our frontend component the card details in order to generate a token.

That token will contain encrypted information about the credit card that only our side can decrypt.\
You should use the token to charge that deposit.

<figure><img src="https://3883333839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff92vedEnowdVWbjM4Cmd%2Fuploads%2FBwkYOxofxL0zXztXxJAC%2FFrame%202199.png?alt=media&amp;token=9d8ce1b0-dfa0-40e9-a9c0-bbb3cb63d22c" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}

## `card_token` expiration

Please note that the token created by the Fragments SDK will expire after 10 minutes.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.pandablue.com/deposits/solutions/fragments-sdk.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
