Skip to main content
POST
Refunds a transaction

Authorizations

Authorization
string
header
required

OAuth 2.0 Authentication

Body

application/json
userId
string
required

A unique identifier.

Maximum string length: 256
transactionId
string
required

A unique identifier.

Maximum string length: 256
includeTax
boolean
default:true

whether the amount is tax-inclusive or -exclusive

amount
number

Amount of the refund. Must be positive (non-zero) and less than or equal to the as-yet-un-refunded balance of the specified transaction. Ignored if refundItems are specified.

Response

OK

id
string

A unique identifier.

Maximum string length: 256
amount
number
taxIncluded
boolean
transaction
object