Skip to main content
POST
Trigger Invoice Refund

Yetkilendirmeler

Authorization
string
header
gerekli

Pass your secret API key formatted as: Authorization: Bearer psa_...

Gövde

application/json
invoice_id
string
gerekli
Örnek:

"aB9xK12Lp9012345678901234"

amount_cents
integer

Optional partial refund amount in cents

Örnek:

1000

reason
string
Örnek:

"Customer requested cancellation"

Yanıt

200

Refund processed successfully