HTTP Request
POST https://api.vindicia.com/gift_card_redemptions/:redemption/actions/reverse
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
POST https://api.vindicia.com/gift_card_redemptions/:redemption/actions/reverse
| Parameter | Default | Description | Required |
|---|---|---|---|
| redemption | n/a | The id or the vid of the Gift Card Redemption. | Yes |
curl -X POST \
-u acaff38d462f9430d5cbcbaf:a575771fc679b9de \
"https://api.staging.us-west.vindicia.com/gift_card_redemptions/4375c41aeaaae6dac40d629313fed2c3cb820fbf/actions/reverse"
{
"object": "GiftCardRedemption",
"vid": "4375c41aeaaae6dac40d629313fed2c3cb820fbf",
"created": "2021-03-25T18:39:06-07:00",
"gift_card": {
"object": "GiftCard",
"vid": "8d1ece91e44441c3d424717c561dc8df74c4b5e4",
"last_digits": "9FSE",
"pin_length": 16,
"hash_type": "sha1",
"pin_hash": "b535aae49e30398c710989a79d56306e9ec0f309",
"payment_provider": "Topps",
"status": "Active",
"amount": 500,
"currency": "MXN",
"product_number": "91422282643651081111"
},
"account": {
"object": "Account",
"id": "cust_1234",
"vid": "f147870b2c86a00fb1264fb64c0a8b58fcd95b4d",
"created": "2021-03-09T14:35:02-08:00",
"email": "cbrown@example.com",
"email_type": "html",
"company": "Peanuts",
"name": "Charlie Brown",
"shipping_address": {
"object": "Address",
"vid": "dad524f59d1bd72f10a9162b7d7790caa39678dc",
"name": "Charlie Brown",
"line1": "123 Main Street",
"city": "San Francisco",
"district": "CA",
"postal_code": "94105",
"country": "US",
"phone": "415-555-3212"
},
"credit": {
"object": "Credit"
}
},
"reversed": "2021-03-25T18:41:31-07:00"
}
