Skip to main content
GET
/
v1
/
cpn
/
payments
/
{paymentId}
/
refunds
/
{refundId}
Get refund details
curl --request GET \
  --url https://api.circle.com/v1/cpn/payments/{paymentId}/refunds/{refundId} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
    "paymentId": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
    "status": "CREATED",
    "amount": {
      "amount": "110.270000",
      "currency": "USDC"
    },
    "transactionHash": "<string>",
    "refundAddress": "<string>",
    "blockchain": "ETH-SEPOLIA",
    "createDate": "2023-01-01T12:04:05Z"
  }
}

Authorizations

Authorization
string
header
required

Circle's API Keys are formatted in the following structure "PREFIX:ID:SECRET". All three parts are requred to make a successful request.

Path Parameters

paymentId
string<uuid>
required

The payment id created previously.

Example:

"c4d1da72-111e-4d52-bdbf-2e74a2d803d5"

refundId
string<uuid>
required

The ID of the refund.

Example:

"c4d1da72-111e-4d52-bdbf-2e74a2d803d5"

Response

Refund found.

data
object
required
I