Guide: Refund a gift subscription
Preview and process a refund for a gift subscription using the Orders API.
Overview
Prerequisites
Step 1: Preview the refund
curl -X POST 'https://your-environment.prod.limio.com/api/order/preview' \
-H 'Authorization: Bearer <YOUR_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"order_type": "gift_refund",
"subscriptionId": "sub_gift_abc123",
"data": {
"gift_code": "GIFT-ABCD-1234-EFGH"
}
}'Step 2: Submit the refund
Cancelling a gift
Errors
Status
Meaning
Resolution
Related resources
Last updated
Was this helpful?

