-
Full Refund: Set
amount
to0
or omit it entirely. The entire transaction amount will be refunded. Subscription immediately becomes EXPIRED, One-off payment - revoked. -
Partial Refund: Set
amount
to a positive value (in the transaction’s currency). Auto-renewal is disabled automatically. Must not exceed the original transaction amount. -
Soft Refund: Set
soft_refund
totrue
. Funds are refunded, but auto-renewal remains enabled. No effect on subscription or one-off purchase.
- Transaction must belong to the project associated with the API key
- Project must have billing configured with appropriate organization IDs
- Transaction status should be in a refundable state
Headers
Project Secret Key
Example:
"secret_"
Path Parameters
Transaction ID
Body
application/json
Response
Refund processed successfully
The response is of type object
.