---
updatedAt: 2026-04-24T05:50:31.000Z
agentTools:
  projectIndex: https://docs.thegivingblock.com/llms.txt
---

#  💳 How to Make a Test Card Donation

## 🔗 Generate the Donation Form URL

Use the following API endpoint to generate your sandbox donation form URL:\
👉 [`POST /v1/organizationId/widget-url`](https://docs.thegivingblock.com/reference/post_v1-organization-id-widget-url-1)

***

## 🧾 Steps to Simulate a Card Donation

1. Open the **donation form URL** you generated in the browser.

2. Select **Card** and enter any donation amount.

3. Click **Donate** to proceed.

4. On the next screen, either choose to donate **anonymously** or provide your **personal details**.

5. Optionally, enter an **email address** to receive a receipt.

6. Enter the following test card details:

   * **Card Number** (use any of the following):
     * `4012000100000007`
     * `4242424242424242`
     * `4012888888881881`

   * **Cardholder Name**: Enter any name

   * **Expiration Date**: Any valid future date

   * **CVC Code**: Any 3-digit number

7. Click **Donate** to complete the transaction.

***