Skip to main content
POST
Request Transaction Refund

Authorizations

Authorization
string
header
required

Provide the Bearer API Key generated for your brand.

Body

application/json
trx_id
string
required

OwnPay transaction reference code (e.g. OP-12345) or gateway transaction ID.

Example:

"OP-481029304"

transaction_id
integer

Alternative key using the internal transaction integer ID.

Example:

45

amount
string

Optional positive numeric string to issue a partial refund. If omitted, a full refund is requested.

Example:

"150.00"

reason
string

Refund reason justification.

Example:

"Customer requested return"

Response

Refund requested and processed successfully.

success
boolean
Example:

true

data
object
Last modified on July 12, 2026