POST
/
transactions
/
refund-transactions
/
{parent-transaction-id}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

parent-transaction-id
string
required

The unique identifier of the transaction to generate a refund for.

Body

application/json
refund_type
enum<string>
required

Whether 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