---
title: Request Transaction Refund
framework: advancedcommerceapi
role: symbol
role_heading: Web Service Endpoint
path: advancedcommerceapi/request-transaction-refund
---

# Request Transaction Refund

Request a refund for a one-time charge or subscription transaction.

## URL

POST https://api.storekit.itunes.apple.com/advancedCommerce/v1/transaction/requestRefund/{transactionId}

## Sandbox URL

POST https://api.storekit-sandbox.itunes.apple.com/advancedCommerce/v1/transaction/requestRefund/{transactionId}

## Path Parameters

transactionId: The transaction identifier for which you request a refund.

## Response Codes

200 OK: Request succeeded. 400 Bad Request: 401 Unauthorized: The JSON Web Token (JWT) in the authorization header is invalid. For more information, see Authorizing API requests from your server. 403 Forbidden: 404 Not Found: 429 : The request exceeded the rate limit. For more information, see Identifying rate limits for Advanced Commerce APIs. 500 Internal Server Error: Server error. Try again later.

## Mentioned in

Authorizing API requests from your server Advanced Commerce API changelog Identifying rate limits for Advanced Commerce APIs

## Discussion

Discussion note: To use the Request Transaction Refund endpoint, your membership Account Holder must sign the Advanced Commerce API Addendum, and you must meet certain eligibility requirements. For more information, see Advanced Commerce API. If the most recent version of this agreement isn’t yet accepted, you can’t call this endpoint, and it returns an error. Refer to the Advanced Commerce API Addendum to learn the use cases for the Cancel a Subscription, Revoke Subscription, and Request Transaction Refund APIs.

## HTTP Body

The request body.

## See Also

### Refund request from the server

- [RequestRefundRequest](advancedcommerceapi/requestrefundrequest.md)
- [RequestRefundResponse](advancedcommerceapi/requestrefundresponse.md)
- [RequestRefundItem](advancedcommerceapi/requestrefunditem.md)
