Skip to main content
PUT
Refund a Transaction

Authorizations

Authorization
string
header
required

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

Path Parameters

id
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Body

application/json
amount
integer

Optional refund amount in cents. If omitted, the full amount may be refunded.

Required range: 1 <= x <= 9007199254740991
reason
string

Optional free-text reason for the refund.

Maximum string length: 500

Response

Success

success
boolean
required
requestId
string
required

Request correlation identifier.

data
object
required