Skip to main content
POST
Voidgiftcard

Authorizations

Authorization
string
header
required

JWT access token obtained from POST /v2/token.

Headers

idempotency-key
string | null
X-Eposn-Customer-Token
string | null
X-Eposn-Merchant-Token
string | null

Path Parameters

cardId
string | null
required
Required string length: 24
Pattern: ^[0-9a-f]{24}$
Example:

"5eb7cf5a86d9755df3a6c593"

programId
string | null
required
Required string length: 24
Pattern: ^[0-9a-f]{24}$
Example:

"5eb7cf5a86d9755df3a6c593"

Body

application/json
reason
string
required
Required string length: 1 - 1000
refundReference
string | null
Maximum string length: 100

Response

Successful Response

success
boolean
required
cardId
string
required
action
string
required
message
string
required
newExpiresAt
string<date-time> | null
transactionId
string | null