pending to processed or failed.
Create a refund
POST /v1/payments/:id/refund
Request parameters
integer
Amount to refund in the smallest currency unit. Omit this field to issue a full refund for the total payment amount.
string
Refund speed. Use
normal for standard 5–7 business day processing, or optimum for instant refunds where available. Defaults to normal.object
Key-value pairs for custom metadata. Maximum 15 keys, each value up to 256 characters.
string
Your internal reference ID for this refund.
Response
string
Unique refund identifier.
string
Refund status. One of
pending, processed, or failed.string
The actual speed at which the refund was processed (
normal or instant).string
The payment ID against which this refund was issued.
Fetch a refund
GET /v1/refunds/:id