---
title: "Get a payment session refund"
method: GET
path: "/v2/payment-sessions/{paymentSessionId}/refunds/{refundId}"
tags: ["Payment Sessions"]
---

# Get a payment session refund

`GET /v2/payment-sessions/{paymentSessionId}/refunds/{refundId}`

## Request

- Base URL: `https://api.cdp.coinbase.com/platform`
- URL: `https://api.cdp.coinbase.com/platform/v2/payment-sessions/{paymentSessionId}/refunds/{refundId}`
- Auth: HTTP bearer

Retrieves a single refund by its ID, including status, refunded amount, reason, associated onchain transactions, and timestamps. Only returns the refund if the API key has permission to access it.

## Path parameters

- `paymentSessionId` string, required: The ID of the payment session, a UUID prefixed by `paymentSession_`.
- `refundId` string, required: The ID of the refund, a UUID prefixed by `refund_`.

## Response `200`

Successfully retrieved refund.

- Refund: A return of previously captured funds to the payer. Multiple partial refunds are allowed up to the total captured amount.
  - `refundId` string: The unique identifier of the refund.
  - `paymentSessionId` string: The ID of the payment session this refund belongs to.
  - `source` union: The source from which the refund is funded. Can be a CDP account, an onchain address, or a Coinbase retail account.
    - TransfersAccount: The Account specific details for the transfer.
      - `accountId` string, required: The ID of the Account.
      - `asset` string, required: The asset symbol. Supported values are `usdc`, `eurc`, `ousd`, `pyusd`, `rlusd`, `usd`, and `eur`.
    - RefundWallet: An onchain address from which funds are pulled to fund the refund. Network and asset are inferred from the payment session.
      - `address` string, required: The onchain crypto address from which to fund the refund.
    - RefundCoinbase: The merchant's Coinbase retail account the refund is paid from, identified by `coinbaseUserId`.
      - `coinbaseUserId` string, required: The unique identifier of the Coinbase retail account.
      - `asset` string, required: The asset to refund. Currently only `usdc` is supported.
  - `status` 'pending' | 'succeeded' | 'failed': The current status of the refund.
  - `amount` string: A decimal representation of the refunded amount, denominated in the session's `asset`.
  - `reason` string: The reason for the refund.
  - `error` PaymentError: An error that occurred during a payment operation.
    - `code` string: A machine-readable error code.
    - `message` string: A human-readable description of the error.
    - `occurredAt` string, date-time: The UTC ISO 8601 timestamp at which the error occurred.
  - `metadata` Metadata: Optional metadata as key-value pairs. Use this to store additional structured information on a resource, such as customer IDs, order references, or any application-specific data. Up to 10 key/value pairs may be provided. Keys and values are both strings. Keys must be ≤ 40 characters; values must be ≤ 500 characters.
  - `externalReferenceId` string: A merchant-provided internal identifier for this refund, from the merchant's own system—not visible to the payer. Present only when supplied on the create refund request.
  - `customerDisplay` OperationCustomerDisplay: Customer-facing display data for this refund, shown to the payer. Present when supplied on the create refund request or when the session's `orderCode` fallback applies; otherwise omitted.
    - `referenceCode` string: A short customer-facing reference code for this payment operation.
  - `onchainTransactions` OnchainTransaction[]: The onchain transactions associated with this refund.
    - `transactionHash` string, required: The blockchain transaction hash.
    - `network` 'arbitrum' | 'arbitrum-sepolia' | 'avalanche' | 'base' | 'base-sepolia' | 'ethereum' | 'ethereum-sepolia' | 'optimism' | 'optimism-sepolia' | 'polygon' | 'polygon-amoy' | 'solana' | 'solana-devnet', required: The blockchain network the transaction occurred on.
  - `createdAt` string, date-time: The UTC ISO 8601 timestamp at which the refund was created.
  - `updatedAt` string, date-time: The UTC ISO 8601 timestamp at which the refund was last updated.

## Other responses

- `404`: Refund not found.
- `500`: Internal server error.
- `502`: Bad gateway.
- `503`: Service unavailable.

## Changes

- **2026-12-01** `06cb41a4fb57`: 1 breaking, 4 warning
  - added `#/components/schemas/RefundCoinbase` to the `source/allOf[#/components/schemas/RefundSource]/` response property `oneOf` list for the response status `200`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `404`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `500`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `502`
  - …1 more
- **2026-10-16** `ff3c1fdef902`: 4 warning
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `404`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `500`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `502`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `503`
- …earlier changes not shown

[Operation history](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/changes/v2/payment-sessions/:paymentSessionId/refunds/:refundId/get.md)

---

[API](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis.md) - [All operations](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57?raw)
