Skip to main content
POST
Processexpiredcard

Authorizations

Authorization
string
header
required

JWT access token obtained from POST /v2/token.

Headers

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
action
string
required
Pattern: ^(extend|refund|void)$
extensionDays
integer | null
Required range: 1 <= x <= 730
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