Refund Transactions
Create a refund
Mark a transaction as refunded to receive credit against a future tax liability.
POST
/
transactions
/
refund-transactions
/
{parent-transaction-id}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
parent-transaction-id
string
requiredThe unique identifier of the transaction to generate a refund for.
Body
application/json
refund_type
enum<string>
requiredWhether to refund an entire transaction or only specific line items.
Available options:
FULL
, PARTIAL
line_items
object[]
The line items to refund. Required if refund_type
is PARTIAL
.
Response
200 - application/json
data
object
message
string