Refunds - Update
Updates the properties of a Refund object. This API can be used to attach a reason for the refund or metadata fields
Authorizations
Use the API key created under your merchant account from the HyperSwitch dashboard. API key is used to authenticate API requests from your merchant server only. Don't expose this key on a website or embed it in a mobile application.
Path Parameters
The identifier for refund
Body
You can specify up to 50 keys, with key names up to 40 characters long and values up to 500 characters long. Metadata is useful for storing additional, structured information on an object.
An arbitrary string attached to the object. Often useful for displaying to users and your customer support executive
255
Response
The refund amount, which should be less than or equal to the total payment amount. Amount for the payment in lowest denomination of the currency. (i.e) in cents for USD denomination, in paisa for INR denomination etc
x > 100
The connector used for the refund and the corresponding payment
The three-letter ISO currency code
The payment id against which refund is initiated
Unique Identifier for the refund
The status for refunds
succeeded
, failed
, pending
, review
The timestamp at which refund is created
The code for the error
The error message
The merchant_connector_id of the processor through which this payment went through
You can specify up to 50 keys, with key names up to 40 characters long and values up to 500 characters long. Metadata is useful for storing additional, structured information on an object
The id of business profile for this refund
An arbitrary string attached to the object. Often useful for displaying to users and your customer support executive
Charge specific fields for controlling the revert of funds from either platform or connected account. Check sub-fields for more details.
Error code unified across the connectors is received here if there was an error while calling connector
Error message unified across the connectors is received here if there was an error while calling connector
The timestamp at which refund is updated