Skip to main content
POST
Refund via payment route (deprecated)

Authorizations

X-Suby-Api-Key
string
header
required

API key authentication

Path Parameters

paymentId
string
required

Body

application/json
reason
string
Maximum string length: 500
amountInCents
integer

Optional. Amount to refund in cents for a partial refund. Omit to refund the full remaining amount.

Required range: x >= 1

Response

Refund initiated

success
boolean
Example:

true

data
object