Skip to content
POST

Simulate card tap

https://api.kustom.co/ipp/v1/dev/sessions/{sessionId}/simulate-tap

Simulates a physical card tap on the terminal reader, bypassing the need for real hardware. Uses Stripe test helpers to simulate a card-present payment with the requested outcome. Only available in non-production environments.

Parameters2 fields
  • sessionIdstring · uuidrequiredin path
  • outcomestringoptionalin query
    • SUCCESS
    • DECLINED_GENERIC
    • INSUFFICIENT_FUNDS
    • LOST_CARD
    • STOLEN_CARD
    • EXPIRED_CARD
    • INCORRECT_CVC
    • PROCESSING_ERROR
    • INCORRECT_NUMBER
    • CARD_VELOCITY_EXCEEDED
204
Response0 fields

Card tap simulated successfully.

No response body — this status returns headers only.

400
Response0 fields

Session has no terminal payment attached.

No response body — this status returns headers only.

404
Response0 fields

Session not found.

No response body — this status returns headers only.

This page is also available as Markdown — append .md to its URL — and is indexed in llms.txt.