> ## Documentation Index
> Fetch the complete documentation index at: https://developers.circle.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Before reading these docs, install the relevant Circle Skill to get pre-loaded context — skills are LLM-optimized and cover architecture decisions, correct flows, and common pitfalls. In Claude Code: run /plugin marketplace add circlefin/skills then /plugin install circle-skills@circle. With Vercel Skills CLI: run npx skills add circlefin/skills. Available skills: use-usdc https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-usdc/SKILL.md (balances, transfers, approvals on EVM and Solana); EURC has no skill — see https://developers.circle.com/stablecoins/what-is-eurc.md; bridge-stablecoin https://github.com/circlefin/skills/blob/master/plugins/circle/skills/bridge-stablecoin/SKILL.md (crosschain transfers via CCTP, USDC, EURC, and third-party assets); use-arc https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-arc/SKILL.md (Arc chain config, contract deployment, USDC bridging — Arc docs: https://docs.arc.io/llms.txt); use-circle-wallets https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-circle-wallets/SKILL.md (choose wallet type); use-developer-controlled-wallets https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-developer-controlled-wallets/SKILL.md (custodial wallets for payouts and treasury); use-user-controlled-wallets https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-user-controlled-wallets/SKILL.md (embedded wallets with Web2 login); use-modular-wallets https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-modular-wallets/SKILL.md (smart contract wallets with passkeys and ERC-4337); use-gateway https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-gateway/SKILL.md (unified USDC balance, nanopayments); use-smart-contract-platform https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-smart-contract-platform/SKILL.md (deploy, interact, monitor contracts). Pair any skill with the Circle MCP server for live SDK signatures, contract addresses, and chain IDs: {"mcpServers":{"circle":{"url":"https://api.circle.com/v1/codegen/mcp"}}}.
> Read the product overview first. Each product has an overview explaining when and why to use it. Read it before quickstarts.
> Pick the right wallet type. Developer-controlled (you hold keys), user-controlled (end user holds keys via PIN/social login), or modular (smart contract wallets with passkeys). See https://developers.circle.com/wallets.md.
> Use CCTP V2 for crosschain transfers. CCTP natively transfers USDC and EURC via burn-and-mint, and supports permissionless wrapping of third-party assets via lock-and-mint. V1 is legacy; always use V2 unless V1 is specified or the chain requires it (Noble, Sui, and Aptos still require V1). Migration guide: https://developers.circle.com/cctp/migration-from-v1-to-v2.md.
> Use Bridge Kit for frontend bridging. Wraps CCTP with a simpler SDK for user-facing apps. Use CCTP directly for backend transfers.
> Gas Station vs Paymaster. Gas Station sponsors gas for Circle Wallet transactions. Paymaster lets users pay gas in USDC. Different use cases — read both overviews.
> Gateway Nanopayments for sub-cent payments. Gasless USDC micropayments down to $0.000001 via x402 and batched settlement. For pay-per-request APIs, AI agent payments, streaming.
> Look up USDC addresses per chain. Never hardcode — use https://developers.circle.com/stablecoins/usdc-contract-addresses.md.
> Prefer SDKs over raw API calls. Node.js and Python SDKs handle auth, retries, and errors.
> API key required. Bearer token in Authorization header. Testnet and mainnet use separate keys and may use different base URLs depending on the product.
> Set up webhooks when available. Most operations are async. Webhooks deliver transaction confirmations and state changes.
> When calling list endpoints, paginate using pageSize and pageAfter until no nextPageAfter cursor is returned—stopping at the first page silently misses records.
> Building an AI agent? Start with the Agent Stack—Circle CLI, agent wallets, and nanopayments built for autonomous use cases: https://developers.circle.com/agent-stack.md.

# Quickstart: Receive stablecoin payins

> Managed Payments Stablecoin payins using the default continuous payment intent flow; for transient payment intents, see the Crypto Deposits quickstart

Accept USDC on your site or app using Managed Payments stablecoin payins. You
create a payment intent, share the deposit address, and Circle links the onchain
payment to your intent. The steps use a continuous payment intent: the default
pattern for a stable receive address per account.

<Note>
  The alternative [Quickstart: Crypto
  Deposits](/circle-mint/crypto-payments-quickstart) walkthrough covers a
  transient payment intent instead (amount and time window set on create). Use
  that guide when you want a one-time, expiring checkout-style intent.
</Note>

## Prerequisites

Before you start, ensure you have:

* Aligned with Circle on your Managed Payments onboarding model (Direct or
  Intermediary).
* Completed Managed Payments onboarding with Circle and obtained API
  credentials. The cURL examples use the sandbox host `api-sandbox.circle.com`.
* Roles that allow creating and reading payment intents and payments in your
  setup. Circle assigns roles during onboarding.
* Subaccounts or any structure your setup requires so each intent ties to the
  right merchant or segment. See [Managed Payments](/cpn/managed-payments) and
  the
  [Digital Asset Accounts API](/api-reference/cpn/managed-payments/accounts/create-account)
  if you create accounts first.
* (Optional) A webhook receiver or queue to handle payment intent and payment
  events. See
  [Set up a webhook endpoint](/api-reference/webhook-endpoints#v1-notifications).
* (Optional) For an end-to-end test, a payer wallet with USDC and native gas on
  the chain you set on the intent (for example Sepolia ETH when the intent uses
  an Ethereum test chain).

## Sequence diagram

Continuous payins use settlement currency and chain on create; you may see
`active` instead of `pending` when the address is ready.

```mermaid theme={null}
sequenceDiagram
    participant Customer
    participant Site as Your website
    participant Server as Your server
    participant CAPI as Circle APIs
    Customer->>Site: Select pay with<br/>stablecoin onchain
    Site->>Server: Create deposit intent<br/>settlement and chain
    Server->>CAPI: POST v1 paymentIntents
    CAPI-->>Server: Payment intent created
    CAPI-->>Server: Webhook payment intent<br/>address ready
    Server-->>CAPI: Ack
    Server->>Site: Deposit address
    Site->>Customer: Present deposit address
    Customer->>Customer: Send payment from wallet<br/>to deposit address
    CAPI-->>Server: Webhook payment paid
    Server-->>CAPI: Ack
    Server->>Site: Stablecoin payment<br/>completed
    Site->>Customer: Payment confirmed
```

## Steps

1. Set up payment intent to pay with stablecoin
2. Acquire blockchain address customer will pay to
3. Customer pays
4. Receive payment

## 1. Pay with stablecoin

When the customer confirms they want to pay with USDC on Ethereum, send a
request to
[create a payment intent](/api-reference/cpn/managed-payments/payment-intents/create-payment-intent).
In a **continuous** intent, you specify settlement currency and chain. No fixed
charge amount is set on create.

The required fields differ by Circle entity. Select the tab for the Circle
entity that books your payins.

<Tabs>
  <Tab title="Circle LLC (US)">
    Create a payment intent:

    <CodeGroup>
      ```curl cURL theme={null}
      curl --location --request POST 'https://api-sandbox.circle.com/v1/paymentIntents' \
      --header 'X-Request-Id: ${GUID}' \
      --header 'Authorization: Bearer ${YOUR_API_KEY}' \
      --header 'Content-Type: application/json' \
      --data-raw '{
        "idempotencyKey": "17607606-e383-4874-87c3-7e46a5dc03dd",
        "currency": "USD",
        "settlementCurrency": "USD",
        "paymentMethods": [
          {
            "type": "blockchain",
            "chain": "ETH"
          }
        ]
      }'
      ```

      ```typescript TypeScript theme={null}
      /**
       * See installation instructions at
       * https://developers.circle.com/circle-mint/circle-sdks
       */
      import {
        Circle,
        CircleEnvironments,
        PaymentIntentCreationRequest,
      } from "@circle-fin/circle-sdk";
      import crypto from "crypto";

      const circle = new Circle(
        "<your-api-key>",
        CircleEnvironments.sandbox, // API base url
      );

      async function createContinuousPaymentIntent(): Promise<void> {
        const reqBody: PaymentIntentCreationRequest = {
          currency: "USD",
          settlementCurrency: "USD",
          paymentMethods: [
            {
              type: "blockchain",
              chain: "ETH",
            },
          ],
          idempotencyKey: crypto.randomUUID(),
        };
        const resp = await circle.cryptoPaymentIntents.createPaymentIntent(reqBody);
        console.log(resp.data);
      }

      void createContinuousPaymentIntent();
      ```
    </CodeGroup>

    ```json Response theme={null}
    {
      "data": {
        "type": "continuous",
        "id": "e7b49cb6-1f78-4a0f-8fd6-35fc74dca335",
        "amountPaid": {
          "amount": "0.00",
          "currency": "USD"
        },
        "amountRefunded": {
          "amount": "0.00",
          "currency": "USD"
        },
        "settlementCurrency": "USD",
        "paymentMethods": [
          {
            "type": "blockchain",
            "chain": "ETH"
          }
        ],
        "timeline": [
          {
            "status": "created",
            "time": "2026-03-23T17:41:19.986668Z"
          }
        ],
        "createDate": "2026-03-23T17:41:19.979669Z",
        "updateDate": "2026-03-23T17:41:19.979669Z",
        "merchantWalletId": "1000700366",
        "currency": "USD"
      }
    }
    ```
  </Tab>

  <Tab title="Circle Singapore (CIRCLE_SG)">
    ### Create a payment intent

    `purposeOfTransfer` is required. Use a
    [payment reason code](/cpn/references/errors/payment-reason-codes) other than
    `PMT006`. Use `customerExternalRef` to pass an optional reference string for the
    customer.

    Create a payment intent:

    <CodeGroup>
      ```curl cURL theme={null}
      curl --location --request POST 'https://api-sandbox.circle.com/v1/paymentIntents' \
      --header 'X-Request-Id: ${GUID}' \
      --header 'Authorization: Bearer ${YOUR_API_KEY}' \
      --header 'Content-Type: application/json' \
      --data-raw '{
        "idempotencyKey": "17607606-e383-4874-87c3-7e46a5dc03dd",
        "currency": "USD",
        "settlementCurrency": "USD",
        "purposeOfTransfer": "PMT001",
        "paymentMethods": [
          {
            "type": "blockchain",
            "chain": "ETH"
          }
        ],
        "metadata": {
          "customerExternalRef": "310c458a-18eb-4640-8a9a-586d9448ae69"
        }
      }'
      ```

      ```typescript TypeScript theme={null}
      /**
       * See installation instructions at
       * https://developers.circle.com/circle-mint/circle-sdks
       */
      import {
        Circle,
        CircleEnvironments,
        PaymentIntentCreationRequest,
      } from "@circle-fin/circle-sdk";
      import crypto from "crypto";

      const circle = new Circle(
        "<your-api-key>",
        CircleEnvironments.sandbox, // API base url
      );

      async function createContinuousPaymentIntent(): Promise<void> {
        const reqBody: PaymentIntentCreationRequest = {
          currency: "USD",
          settlementCurrency: "USD",
          purposeOfTransfer: "PMT001",
          paymentMethods: [
            {
              type: "blockchain",
              chain: "ETH",
            },
          ],
          metadata: {
            customerExternalRef: "310c458a-18eb-4640-8a9a-586d9448ae69",
          },
          idempotencyKey: crypto.randomUUID(),
        };
        const resp = await circle.cryptoPaymentIntents.createPaymentIntent(reqBody);
        console.log(resp.data);
      }

      void createContinuousPaymentIntent();
      ```
    </CodeGroup>

    ```json Response theme={null}
    {
      "data": {
        "type": "continuous",
        "id": "e7b49cb6-1f78-4a0f-8fd6-35fc74dca335",
        "amountPaid": {
          "amount": "0.00",
          "currency": "USD"
        },
        "amountRefunded": {
          "amount": "0.00",
          "currency": "USD"
        },
        "settlementCurrency": "USD",
        "paymentMethods": [
          {
            "type": "blockchain",
            "chain": "ETH"
          }
        ],
        "timeline": [
          {
            "status": "created",
            "time": "2026-03-23T17:41:19.986668Z"
          }
        ],
        "createDate": "2026-03-23T17:41:19.979669Z",
        "updateDate": "2026-03-23T17:41:19.979669Z",
        "merchantWalletId": "1000700366",
        "currency": "USD",
        "purposeOfTransfer": "PMT001",
        "customerExternalRef": "310c458a-18eb-4640-8a9a-586d9448ae69"
      }
    }
    ```
  </Tab>
</Tabs>

```json Webhook notification theme={null}
{
  "clientId": "5b057f1e-743c-4aeb-beeb-ef7b2e16f291",
  "notificationType": "paymentIntents",
  "version": 1,
  "customAttributes": {
    "clientId": "5b057f1e-743c-4aeb-beeb-ef7b2e16f291"
  },
  "paymentIntent": {
    "type": "continuous",
    "id": "e7b49cb6-1f78-4a0f-8fd6-35fc74dca335",
    "amountPaid": {
      "amount": "0.00",
      "currency": "USD"
    },
    "amountRefunded": {
      "amount": "0.00",
      "currency": "USD"
    },
    "settlementCurrency": "USD",
    "paymentMethods": [
      {
        "type": "blockchain",
        "chain": "ETH"
      }
    ],
    "timeline": [
      {
        "status": "created",
        "time": "2026-03-23T17:41:19.986668Z"
      }
    ],
    "createDate": "2026-03-23T17:41:19.979669Z",
    "updateDate": "2026-03-23T17:41:19.979669Z",
    "merchantWalletId": "12345",
    "currency": "USD"
  }
}
```

## 2. Acquire blockchain address customer will pay to

For security reasons, the API does not return the deposit blockchain address in
the create response. To retrieve the blockchain deposit address, you have two
options:

1. Subscribe to webhook notifications
2. Poll Circle APIs

### Option 1: Webhook notification

To receive webhook notifications, follow the steps in
[Set up a webhook endpoint](/api-reference/webhook-endpoints#v1-notifications).
After you subscribe, you receive updates when the payment intent changes. When
`paymentMethods.address` is set, a notification arrives with a new `timeline`
entry and `status: active`.

```json Payment intent webhook notification theme={null}
{
  "clientId": "5b057f1e-743c-4aeb-beeb-ef7b2e16f291",
  "notificationType": "paymentIntents",
  "version": 1,
  "customAttributes": {
    "clientId": "5b057f1e-743c-4aeb-beeb-ef7b2e16f291"
  },
  "paymentIntent": {
    "type": "continuous",
    "id": "e7b49cb6-1f78-4a0f-8fd6-35fc74dca335",
    "amountPaid": {
      "amount": "0.00",
      "currency": "USD"
    },
    "amountRefunded": {
      "amount": "0.00",
      "currency": "USD"
    },
    "settlementCurrency": "USD",
    "paymentMethods": [
      {
        "type": "blockchain",
        "chain": "ETH",
        "address": "0xfd5a9f666d96022d13a73e3638fb7ec958696fbe"
      }
    ],
    "fees": [
      {
        "type": "blockchainLeaseFee",
        "amount": "0.00",
        "currency": "USD"
      }
    ],
    "timeline": [
      {
        "status": "active",
        "time": "2026-03-23T17:41:23.450386Z"
      },
      {
        "status": "created",
        "time": "2026-03-23T17:41:19.986668Z"
      }
    ],
    "createDate": "2026-03-23T17:41:19.979669Z",
    "updateDate": "2026-03-23T17:41:23.405690Z",
    "merchantWalletId": "12345",
    "currency": "USD"
  }
}
```

### Option 2: Poll payment intent endpoint

If you prefer to poll
[get a payment intent](/api-reference/cpn/managed-payments/payment-intents/get-payment-intent),
send `GET` requests until you receive `paymentMethods.address`.

Retrieve payment intent:

<CodeGroup>
  ```curl cURL theme={null}
  curl --location --request GET 'https://api-sandbox.circle.com/v1/paymentIntents/{id}' \
  --header 'X-Request-Id: ${GUID}' \
  --header 'Authorization: Bearer ${YOUR_API_KEY}'
  ```

  ```typescript TypeScript theme={null}
  /**
   * See installation instructions at
   * https://developers.circle.com/circle-mint/circle-sdks
   */
  import { Circle, CircleEnvironments } from "@circle-fin/circle-sdk";

  const circle = new Circle(
    "<your-api-key>",
    CircleEnvironments.sandbox, // API base url
  );

  function delay(time: number): Promise<void> {
    return new Promise((resolve) => {
      setTimeout(resolve, time);
    });
  }

  async function getPaymentIntent(paymentIntentId: string) {
    const resp =
      await circle.cryptoPaymentIntents.getPaymentIntent(paymentIntentId);
    return resp.data;
  }

  async function pollPaymentIntent(): Promise<void> {
    const paymentIntentId = "payment-intent-id";
    const pollInterval = 500; // Interval (in ms) by which to poll

    let resp: Awaited<ReturnType<typeof getPaymentIntent>>;
    while (true) {
      resp = await getPaymentIntent(paymentIntentId);
      const depositAddress = resp.data?.paymentMethods[0]?.address;
      if (depositAddress) break;
      await delay(pollInterval);
    }
    console.log(resp);
  }

  void pollPaymentIntent();
  ```
</CodeGroup>

```json Response theme={null}
{
  "data": {
    "type": "continuous",
    "id": "e7b49cb6-1f78-4a0f-8fd6-35fc74dca335",
    "amountPaid": {
      "amount": "0.00",
      "currency": "USD"
    },
    "amountRefunded": {
      "amount": "0.00",
      "currency": "USD"
    },
    "settlementCurrency": "USD",
    "paymentMethods": [
      {
        "type": "blockchain",
        "chain": "ETH",
        "address": "0xfd5a9f666d96022d13a73e3638fb7ec958696fbe"
      }
    ],
    "fees": [
      {
        "type": "blockchainLeaseFee",
        "amount": "0.00",
        "currency": "USD"
      }
    ],
    "timeline": [
      {
        "status": "active",
        "time": "2026-03-23T17:41:23.450386Z"
      },
      {
        "status": "created",
        "time": "2026-03-23T17:41:19.986668Z"
      }
    ],
    "createDate": "2026-03-23T17:41:19.979669Z",
    "updateDate": "2026-03-23T17:41:23.405690Z",
    "merchantWalletId": "12345",
    "currency": "USD"
  }
}
```

## 3. Enable customer payment

Share `paymentMethods.address` with the customer so they can send funds on the
correct chain.

<Note>
  A **continuous** payment intent doesn't define a fixed amount on create; you
  communicate any specific charge (for example an invoice total) from your own
  checkout or UI.
</Note>

You can present the address two ways:

1. as plain text the customer can cut and paste; or
2. as a QR code the customer can scan using an app.

The customer then sends payment from their wallet (custodial or non-custodial).

<Tip>
  For transient payment intents, set `expiresOn` to limit the payment window.
  The value must be no more than 24 hours after creation, or the API returns
  error `1128`.
</Tip>

## 4. Receive payment from Circle

Once Circle detects the onchain payment, it creates a Payment resource linked to
the original Payment Intent and updates its status. Your firm then receives
payment through the method specified.

### Option 1: Webhook notifications

```json Payment intent webhook notification theme={null}
{
  "clientId": "5b057f1e-743c-4aeb-beeb-ef7b2e16f291",
  "notificationType": "paymentIntents",
  "version": 1,
  "customAttributes": {
    "clientId": "5b057f1e-743c-4aeb-beeb-ef7b2e16f291"
  },
  "paymentIntent": {
    "type": "continuous",
    "id": "e7b49cb6-1f78-4a0f-8fd6-35fc74dca335",
    "amountPaid": {
      "amount": "5.00",
      "currency": "USD"
    },
    "amountRefunded": {
      "amount": "0.00",
      "currency": "USD"
    },
    "settlementCurrency": "USD",
    "paymentMethods": [
      {
        "type": "blockchain",
        "chain": "ETH",
        "address": "0xfd5a9f666d96022d13a73e3638fb7ec958696fbe"
      }
    ],
    "fees": [
      {
        "type": "blockchainLeaseFee",
        "amount": "0.00",
        "currency": "USD"
      },
      {
        "type": "totalPaymentFees",
        "amount": "0.00",
        "currency": "USD"
      }
    ],
    "timeline": [
      {
        "status": "active",
        "time": "2026-03-23T17:41:23.450386Z"
      },
      {
        "status": "created",
        "time": "2026-03-23T17:41:19.986668Z"
      }
    ],
    "createDate": "2026-03-23T17:41:19.979669Z",
    "updateDate": "2026-03-23T17:52:18.080633Z",
    "merchantWalletId": "12345",
    "currency": "USD"
  }
}
```

```json Payment webhook notification theme={null}
{
  "clientId": "5b057f1e-743c-4aeb-beeb-ef7b2e16f291",
  "notificationType": "payments",
  "version": 1,
  "customAttributes": {
    "clientId": "5b057f1e-743c-4aeb-beeb-ef7b2e16f291"
  },
  "payment": {
    "id": "021ff661-e7d5-332f-bb9c-e43870608f26",
    "type": "payment",
    "status": "pending",
    "amount": {
      "amount": "5.00",
      "currency": "USD"
    },
    "createDate": "2026-03-23T17:49:54.197Z",
    "updateDate": "2026-03-23T17:49:54.259Z",
    "merchantId": "5b057f1e-743c-4aeb-beeb-ef7b2e16f291",
    "merchantWalletId": "12345",
    "paymentIntentId": "e7b49cb6-1f78-4a0f-8fd6-35fc74dca335",
    "fromAddresses": {
      "chain": "ETH",
      "addresses": ["0x6dbe810e3314546009bd6e1b29f9031211cda5d2"]
    },
    "depositAddress": {
      "chain": "ETH",
      "address": "0xfd5a9f666d96022d13a73e3638fb7ec958696fbe"
    },
    "transactionHash": "0xfbc0f1c8256af3453fd3be7a1491e3581e072022a29ffc78cf129a662182305e"
  }
}
```

<Note>
  For Circle Singapore (`CIRCLE_SG`) merchants, a `Payment` in `status:
      "pending"` may include a `statusReason` field indicating a compliance hold.
  For example, `compliance_review` means Circle is awaiting Personally
  Identifiable Information (PII) before releasing funds. For the full list of
  values, see [Stablecoin payin
  states](/cpn/managed-payments/references/payment-intent-states#status-reasons).
</Note>

### Option 2: Retrieve payment intent and payment

Retrieve a payment intent:

<CodeGroup>
  ```curl cURL theme={null}
  curl --location --request GET 'https://api-sandbox.circle.com/v1/paymentIntents/{id}' \
  --header 'X-Request-Id: ${GUID}' \
  --header 'Authorization: Bearer ${YOUR_API_KEY}'
  ```

  ```typescript TypeScript theme={null}
  /**
   * See installation instructions at
   * https://developers.circle.com/circle-mint/circle-sdks
   */
  import { Circle, CircleEnvironments } from "@circle-fin/circle-sdk";

  const circle = new Circle(
    "<your-api-key>",
    CircleEnvironments.sandbox, // API base url
  );

  async function getPaymentIntent(): Promise<void> {
    const paymentIntentId = "<payment-intent-id>";
    const resp =
      await circle.cryptoPaymentIntents.getPaymentIntent(paymentIntentId);

    console.log(resp.data);
  }

  void getPaymentIntent();
  ```
</CodeGroup>

```json Response theme={null}
{
  "data": {
    "type": "continuous",
    "id": "e7b49cb6-1f78-4a0f-8fd6-35fc74dca335",
    "amountPaid": {
      "amount": "5.00",
      "currency": "USD"
    },
    "amountRefunded": {
      "amount": "0.00",
      "currency": "USD"
    },
    "settlementCurrency": "USD",
    "paymentMethods": [
      {
        "type": "blockchain",
        "chain": "ETH",
        "address": "0xfd5a9f666d96022d13a73e3638fb7ec958696fbe"
      }
    ],
    "fees": [
      {
        "type": "blockchainLeaseFee",
        "amount": "0.00",
        "currency": "USD"
      },
      {
        "type": "totalPaymentFees",
        "amount": "0.00",
        "currency": "USD"
      }
    ],
    "timeline": [
      {
        "status": "active",
        "time": "2026-03-23T17:41:23.450386Z"
      },
      {
        "status": "created",
        "time": "2026-03-23T17:41:19.986668Z"
      }
    ],
    "createDate": "2026-03-23T17:41:19.979669Z",
    "updateDate": "2026-03-23T17:52:18.080633Z",
    "merchantWalletId": "12345",
    "currency": "USD"
  }
}
```

Retrieve a payment:

<CodeGroup>
  ```curl cURL theme={null}
  curl --location --request GET 'https://api-sandbox.circle.com/v1/payments/{id}' \
  --header 'X-Request-Id: ${GUID}' \
  --header 'Authorization: Bearer ${YOUR_API_KEY}'
  ```

  ```typescript TypeScript theme={null}
  /**
   * See installation instructions at
   * https://developers.circle.com/circle-mint/circle-sdks
   */
  import { Circle, CircleEnvironments } from "@circle-fin/circle-sdk";

  const circle = new Circle(
    "<your-api-key>",
    CircleEnvironments.sandbox, // API base url
  );

  async function getPayment(): Promise<void> {
    const paymentId = "<payment-id>";
    const resp = await circle.payments.getPayment(paymentId);

    console.log(resp.data);
  }

  void getPayment();
  ```
</CodeGroup>

```json Response theme={null}
{
  "data": {
    "id": "021ff661-e7d5-332f-bb9c-e43870608f26",
    "type": "payment",
    "status": "paid",
    "amount": {
      "amount": "5.00",
      "currency": "USD"
    },
    "fees": {
      "amount": "0.00",
      "currency": "USD"
    },
    "createDate": "2026-03-23T17:49:54.197184Z",
    "updateDate": "2026-03-23T17:52:17.910610Z",
    "merchantId": "5b057f1e-743c-4aeb-beeb-ef7b2e16f291",
    "merchantWalletId": "12345",
    "paymentIntentId": "e7b49cb6-1f78-4a0f-8fd6-35fc74dca335",
    "settlementAmount": {
      "amount": "5.00",
      "currency": "USD"
    },
    "fromAddresses": {
      "chain": "ETH",
      "addresses": ["0x6dbe810e3314546009bd6e1b29f9031211cda5d2"]
    },
    "depositAddress": {
      "chain": "ETH",
      "address": "0xfd5a9f666d96022d13a73e3638fb7ec958696fbe"
    },
    "transactionHash": "0xfbc0f1c8256af3453fd3be7a1491e3581e072022a29ffc78cf129a662182305e"
  }
}
```

<Note>
  For blockchains that require a 'memo' or 'address tag' (XLM, HBAR, etc.), the
  optional `addressTag` field will be present in the `depositAddress` object.
</Note>
