Create a Refund

When you create a new refund, you must specify a check_id and an amount.

This action refunds a previously created transaction that has not been refunded yet. Funds are refunded to the bank account that was originally charged.You can optionally refund only part of a charge.

After you entirely refund a charge, you can’t refund it again. This method returns an error when it’s called on an already-refunded charge, or when you attempt to refund more money than is left on a charge.


📘

Before using any endpoint, you need to set the environment:

Click on Environment in the Base URL and enter the appropriate option:
api (Production) for the live environment.
sandbox (Sandbox) for testing.

Body Params
string
required

A unique identifier for the transaction to be refunded. This is the transaction ID provided at the time of the original payment.

string
required

The total amount to be refunded. This value must be a positive number, representing the amount of money to be returned to the payee.

string

Your unique label

string

Debit account id for funds (if sender has multiple bank accounts).

string

Your unique addenda.

Response

Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json