Record a refund
DEPRECATEDDEPRECATED: Recording refunds is no longer necessary, and will be removed in a future major version of the API.
NOTE: The refund recording endpoint will continue to be supported in v1 of the API indefinitely.
Calculating Refunds: The refund calculation endpoint will not be deprecated, and will continue to be available in future major versions of the API.
DEPRECATED: Recording refunds is no longer necessary, and will be removed in a future major version of the API.
NOTE: The refund recording endpoint will continue to be supported in v1 of the API indefinitely.
Calculating Refunds: The refund calculation endpoint will not be deprecated, and will continue to be available in future major versions of the API.
Path Parameters
The transaction ID returned from the initial surcharge calculation (txn_***)
Either the account.id or external identifier for a merchant account.
This can be used by a platform account to perform actions on behalf of a merchant account.
NOTE: This will be ignored if the request is not made by a registered platform account.
Request Body
The amount that was refunded to the customer including any of the surcharge that was also refunded.
This should be called after the refund has been successfully processed.
Represented in the lowest currency denomination (e.g. if currency is usd, then amount is in cents).