Refund a payment

Perform a full refund for a specific invoice. Only subscriptions of the project the api_key belongs to are found; a pay_system_id of another project returns 404.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

The payment system ID of the subscription.

string

The ID of the invoice to refund.

string
enum

Optional reason code shown to the payment provider. Defaults to requested_by_customer when omitted. If set to other, comment should also be provided.

Allowed:
string

Optional free-text comment, required when reason is other.

Responses

400

Invalid request or missing parameters.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json