Skip to main content
POST
Refund a payment intent

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Universally unique identifier (UUID v4) of a resource.

Example:

"b3d9d2d5-4c12-4946-a09d-953e82fae2b0"

Body

application/json
idempotencyKey
string<uuid>
required

Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests.

Example:

"ba943ff1-ca16-49b2-ba55-1057e70ca5c7"

destination
object
required

The destination of a crypto refund.

For merchants registered under Circle's Singapore legal entity, the destination must specify either addressBookId or useOriginalSender. Address book destinations must reference an address registered in the Address Book under a hosted VASP. For other legal entities, provide address and chain.

amount
object
required

The source amount of the refund, it can be in either the original payment currency or the settlement currency.

toAmount
object
required

The destination amount of the refund, it must be in the original payment currency.

paymentId
string<uuid>

ID of the payment to attribute this refund to. Required for merchants registered under Circle's Singapore legal entity.

Example:

"2e7b6557-1967-4348-ad81-daf3cee4c175"

customerExternalRef
string<uuid>

Optional customer-supplied reference for this refund. Unlike payins, it is not inherited from the payment intent and is not part of the idempotency key, so a replay with the same idempotencyKey but a changed value returns the original refund.

Example:

"310c458a-18eb-4cbd-8a9a-586d9448ae69"

Response

Crypto refund successfully created for the given payment intent.

data
object

Status information of the related payment.