Sandbox

Simulate a stamp outcome (test mode only)

Fast-forward a sandbox stamp to a terminal state so you can test polling + webhooks without waiting for real fulfilment. verified issues a synthetic certificate and emits stamp.verified (plus order.fulfilled once the whole order is terminal); failed cancels the stamp (releases the hold) and emits stamp.cancelled. Requires an sk_test_ key — returns 403 on a live key.

post/sandbox/stamps/{id}/simulate

Request

  • Base URL
    https://esahayak.io/api/v1
  • URL
    https://esahayak.io/api/v1/sandbox/stamps/{id}/simulate
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

Request body

outcome'verified' | 'failed'

Response

Simulated.

idstring uuid
status'VERIFIED' | 'CANCELLED'
simulatedboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.