Skip to main content
POST
Refund payment

Authorizations

Authorization
string
header
required

Sign in to the admin dashboard and use the resulting ID token for a store and operation you can access. The authenticated dashboard cookie is accepted when the Authorization header is absent. Missing or insufficient access returns 401.

Body

application/json
customer_id
string
required

The customer whose credit is refunded.

payment_id
string
required

The bank deposit whose credit is refunded: its payment_id from the payments list or detail.

bank_account_id
string
required

The customer's verified bank account the refund is paid to.

Response

OK

message
string
required
Example:

"Refund registered successfully."

success
boolean
required
content
object
required