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.
"tr_123456789"
This will be either 'full' or 'partial'. If type='partial', you must also provide the line item(s) you wish to apply refunds against.
"partial"
Unix timestamp in seconds representing the date and time the refund was made. If not provided, the current date and time will be used.
1714787673
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
Refund 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.
"ref_tr_123456789"
The type of object: tax.refund.
"tax.refund"
This will be either 'full' or 'partial'.
"partial"
True if using a production API key. False if using a test API key.
"false"
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.
1714787673