Authorizations
Your API key. This is required by all endpoints to access our API programatically. You can view your API Key by navigating to the app settings
Path Parameters
Body
Total refund amount in the major currency unit (e.g., USD, AED)
A unique Idempotency key to make sure that requests with the same key result in only one outbound request
Reason for refund (to be displayed in records)
A unique string to reference the Refund transaction. Merchants can use it to reconcile with their internal systems
A set of key-value pairs that merchants can attach to an object. This can be useful for storing additional information about the object in a structured format.Maximum of 40 pairs allowed. Keys must be alphanumeric and cannot contain square brackets ([ and ]). Keys must not exceed 24 characters, and values must not exceed 512 characters.
Response
Unique refund ID
Unique charge ID (payment ID) associated with the checkout session
Refund status: pending, succeeded, failed
pending
- pendingcompleted
- completedfailed
- failed
pending
, completed
, failed
Total refund amount in the major currency unit (e.g., USD, AED)
x >= 1
Currency code (ISO 4217 format, e.g., USD, INR, AED)
3
ISO timestamp of refund
Reason for refund (if provided)
Reference ID passed in the request
A set of key-value pairs that merchants can attach to an object. This can be useful for storing additional information about the object in a structured format.Maximum of 40 pairs allowed. Keys must be alphanumeric and cannot contain square brackets ([ and ]). Keys must not exceed 24 characters, and values must not exceed 512 characters.