Refund a payment

Requests a refund for a payment. To cancel an authorization before capture, use Cancel an authorized payment.

Set preserveSubscriptionState: true to preserve the subscription state during refund processing. This optional field is not signed. The request does not accept a partial-refund amount.

Confirm the result through the Refund webhook.

Request signature

Sign only these fields, in order:

projectId → transactionId

See Signing requests for the HMAC-SHA-256 algorithm and code examples.

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

Requests a refund for a payment. To cancel an authorization before capture, use Cancel an authorized payment.

Set preserveSubscriptionState: true to preserve the subscription state during refund processing. This optional field is not signed. The request does not accept a partial-refund amount.

The HTTP 201 response contains status: "SUCCESS" or status: "FAILED" for the synchronous operation result. SUCCESS does not confirm that the refund has completed. Confirm the final result through the Refund webhook, which uses REFUND_SUCCESS or REFUND_FAILED.

Request signature

Sign only these fields, in order:

projectId → transactionId

See Signing requests for the HMAC-SHA-256 algorithm and code examples.

Body Params

Signed JSON request

string
required

Your project identifier.

string
required

HMAC-SHA-256 signature. Sign the fields in the order documented for this endpoint.

string
required

Identifier of the payment to cancel or refund.

boolean

Set to true to preserve the subscription state when processing the refund. Defaults to false when omitted. Not included in the signature.

Responses

Language
LoadingLoading…
Response
Choose an example:
application/json