Skip to content
☰
Mirage
Card Block (Lost Card)
▾
⌘K
Running
☾
Workspace
Projects
Endpoints
Traffic
Project
Overview
Endpoints
Cases
Rules
Scenarios
Environments
Variables
Settings
Workspace
Projects
Endpoints
Traffic
Project
Overview
Endpoints
Cases
Rules
Scenarios
Environments
Variables
Settings
Command palette
Toggle theme
Go to Projects
Go to Endpoints (all)
Preview
Go to Traffic
Copy mock base URL
Open Overview
Open Endpoints
Open Cases
New endpoint
Preview
New case
Preview
Card Block (Lost Card)
/
Cases
Cases
Add case
Create response case
Endpoint
POST GET_CARD
POST CONFIRM_CARD_STATUS
POST CHECK_CARD_ELIGIBILITY
POST BLOCK_CARD
POST NOTIFY_CUSTOMER
POST VERIFY_CUSTOMER
Name
Status
200
201
400
401
404
409
500
Response body
{}
Latency
ms (informational)
Generate YAML
GET_CARD
15
locate-card-not-found
body.cardLast4 exists · body.cardLast4 = "0001"
404
⋯
locate-card-service-down
body.cardLast4 exists · body.cardLast4 = "0002"
500
⋯
locate-card-already-blocked
body.cardLast4 exists · body.cardLast4 = "1001"
200
⋯
locate-card-closed
body.cardLast4 exists · body.cardLast4 = "1002"
200
⋯
locate-card-replaced
body.cardLast4 exists · body.cardLast4 = "1003"
200
⋯
locate-card-elig-svc-down
body.cardLast4 exists · body.cardLast4 = "1004"
200
⋯
locate-card-block-race
body.cardLast4 exists · body.cardLast4 = "2001"
200
⋯
locate-card-block-fail
body.cardLast4 exists · body.cardLast4 = "2002"
200
⋯
locate-card-stale-confirm
body.cardLast4 exists · body.cardLast4 = "3001"
200
⋯
locate-card-notify-fail
body.cardLast4 exists · body.cardLast4 = "4001"
200
⋯
locate-card-notify-queued
body.cardLast4 exists · body.cardLast4 = "4002"
200
⋯
locate-card-happy
body.cardLast4 exists
200
⋯
confirm-card-stale
body.cardId = "card-stale-confirm"
200
⋯
confirm-card-blocked
fallback (any request)
200
⋯
getCard
fallback (any request)
generated
200
⋯
CONFIRM_CARD_STATUS
3
confirm-status-stale
body.cardId = "card-stale-confirm"
200
⋯
confirm-status-not-found
body.cardId = "card-0001"
404
⋯
confirm-status-default
fallback (any request)
200
⋯
CHECK_CARD_ELIGIBILITY
6
eligibility-already-blocked
body.cardId = "card-already-blocked"
200
⋯
eligibility-card-closed
body.cardId = "card-closed"
200
⋯
eligibility-card-replaced
body.cardId = "card-replaced"
200
⋯
eligibility-svc-down
body.cardId = "card-elig-svc-down"
500
⋯
eligibility-default
fallback (any request)
200
⋯
checkCardEligibility
fallback (any request)
generated
200
⋯
BLOCK_CARD
4
block-race
body.cardId = "card-block-race"
409
⋯
block-fail
body.cardId = "card-block-fail"
500
⋯
block-default
fallback (any request)
200
⋯
blockCard
fallback (any request)
generated
200
⋯
NOTIFY_CUSTOMER
4
notify-fail
body.cardId = "card-notify-fail"
500
⋯
notify-queued
body.cardId = "card-notify-queued"
200
⋯
notify-default
fallback (any request)
200
⋯
notifyCustomer
fallback (any request)
generated
200
⋯
VERIFY_CUSTOMER
6
verify-customer-bad-challenge
body.customerId = "cust-bad-challenge"
200
⋯
verify-customer-unknown
body.customerId = "cust-unknown"
200
⋯
verify-customer-unauth
body.customerId = "cust-unauth"
401
⋯
verify-customer-service-down
body.customerId = "cust-verify-down"
500
⋯
verify-customer-default
fallback (any request)
200
⋯
verifyCustomer
fallback (any request)
generated
200
⋯