Create Refunds
Add a refund to a transaction
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The ID of the transaction
to refund. This is the transaction_id
returned from the /transactions
creation response.
This will be either 'full'
or 'partial'
. If type='partial'
, you must also provide the line item(s) you wish to apply refunds against.
Unix timestamp in seconds representing the date and time the refund was made. If not provided, the current date and time will be used.
If the refund is type=full
, line items aren't necessary. If the refund is type=partial
, you must provide the line item(s) you wish to apply refunds against using a reference_product_id
.
Response
The ID of the refund
. We recommend you store this value. If you need to reverse this refund, you will be required to reference this ID.
The type of object: tax.refund
.
This will be either 'full'
or 'partial'
.
True
if using a production API key. False
if using a test API key.
Unix timestamp in seconds representing the date and time the refund was made. If not provided, the time the refund
was created will be used.