Skip to main content
POST
Refund a card payment

Authorizations

X-API-Key
string
header
required

Company API key. Send in the X-API-Key header.

Headers

x-client-id
string
required

Client identifier for the company in the request.

Example:

"client_abc123"

Path Parameters

id
string<uuid>
required

Body

application/json
amount
integer

Refund amount in cents (omit for full refund)

Example:

5000

Response

Refund processed successfully

status
string
Example:

"refunded"

transaction_id
string
Example:

"01hvxyz..."

amount
integer
Example:

15000

refunded_amount
integer
Example:

5000

message
string
Example:

"Refund processed successfully."