# Buy token

This section allows users to buy tokens directly using various payment methods such as **Credit Card**, **SEPA**, **PayPal**, or **GPay**. The process is straightforward and integrated within the user profile.

***

#### **User Profile:**

* **Popup - "Buy $SOL with Credit Card"**:
  * In the **User Profile** section, there is an option to **Buy $SOL** (or other supported tokens) directly with a credit card.
  * When you click the **"Buy $SOL with Credit Card"** button, a **popup window** will open, offering the option to choose a payment method and select the token you wish to purchase.

***

#### **Popup Flow:**

1. **Choose Payment Method**:

   * When the popup opens, you are presented with several payment method options:
     * **Credit Card**
     * **SEPA** (for European bank transfers)
     * **PayPal**
     * **Google Pay (GPay)**

   Select your preferred payment method from the available options.
2. **Select Token**:
   * After choosing a payment method, you can select which token you want to buy. In this example, **$SOL** is the default token, but you may also have other tokens available (e.g., $ETH, $BTC, etc.).
3. **Enter Purchase Amount**:
   * Specify the amount you want to spend or the amount of tokens you wish to purchase. The amount will be converted according to the selected token's current price.
4. **Email Verification**
   * **Enter Email**:
     * To begin the purchase, you will be prompted to enter your **email address**.
     * This email will be used to send a **confirmation code** to verify your identity.
   * **Enter Confirmation Code**:
     * After submitting your email, you will receive a confirmation code in your inbox.
     * **Input the confirmation code** in the popup to proceed
5. **KYC - Personal Information**
   * **Enter Personal Information**:
     * In the KYC process, you will need to provide basic personal details such as:
       * Full Name
       * Date of Birth
       * Nationality
       * Address
   * **Submit Information**:

***

#### **Payment Method Details:**

**Credit Card:**

* **Credit Card Option**:
  * Enter your card details, including the card number, expiration date, and CVV.
  * Secure payment processing will be done to complete the transaction.

**SEPA:**

* **SEPA Option**:
  * Choose SEPA for bank transfer payments (only available for users in Europe).
  * Provide your bank details (IBAN) to complete the transfer.
  * Once the payment is processed, the purchased tokens will be credited to your account.

**PayPal:**

* **PayPal Option**:
  * Select PayPal as the payment method.
  * Log in to your PayPal account to complete the payment.
  * The transaction is processed securely via PayPal.

**Google Pay (GPay):**

* **GPay Option**:
  * Choose **Google Pay (GPay)** for fast and easy mobile payments.
  * Confirm the payment via your linked Google Pay account.

<figure><img src="/files/H0wzDFgNUz0GkQfdPimI" alt=""><figcaption></figcaption></figure>


---

# 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://docs.rain.fi/account/buy-token.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.
