Skip to main content
POST
Refund payment

Authorizations

Authorization
string
header
required

Keycloak JWT. Roles: admin (platform admin — can register merchants, act on behalf of any merchant), merchant (dashboard user — scoped to their own merchant_id via user attribute mapper), POS terminals use client credentials flow with merchant_id injected via protocol mapper.

Path Parameters

intentID
string<uuid>
required

Payment intent ID to refund

Response

Refund initiated successfully

success
boolean
required
Example:

true

refund_initiated
boolean
required
Example:

true

message
string
required
Example:

"Refund initiated successfully. Funds will be returned to the customer's wallet."

payment_intent
object
required