Skip to main content
POST
cURL

Headers

X-CSRF-Token
string
required

Echoes the token from the current session. Required on every unsafe method.

X-Operator-Reason
string
required

Why the change is being made. Carried as a header because almost every operations mutation needs one; the API refuses a change that requires a reason and did not get one.

Required string length: 1 - 400

Path Parameters

giftID
string<uuid>
required

Response

Revoked

id
string<uuid>
required
orderId
string<uuid>
required
senderId
string<uuid>
required
kind
enum<string>
required
Available options:
subscription,
addon,
wallet_credit
currency
string
required
codeHint
string
required

The last four characters of the claim code. The code itself is stored only as a digest.

status
enum<string>
required
Available options:
pending,
deliverable,
claimed,
expired,
revoked,
refunded
claimAttempts
integer
required
expiresAt
string<date-time>
required
createdAt
string<date-time>
required
recipientId
string<uuid>
creditMinor
integer<int64>
claimedAt
string<date-time>
revokedAt
string<date-time>
revokeReason
string