The path of the callback_url. One channel carries all six events of every session that names this URL; X-Smklog-Event and the body’s event say which one arrived, and session_id says whose.
callbackPath — The path of your callback_url, as you gave it.
Operations
send
sendPaymentSessionEvent
A payment session reached a new stage (POSTed to your callback_url)
Messages
payment_session.checkout_started
The human opened the handoff link and a checkout exists; nothing is paid yet.
Content-Type: application/json
payment_session.paid
The human paid on smklog.com; label_ready follows once the label is bought.
Content-Type: application/json
payment_session.label_ready
The label is bought; data.checkout.tracking_number is set.
Content-Type: application/json
payment_session.delivered
The carrier reported the parcel delivered.
Content-Type: application/json
payment_session.refunded
The payment was refunded or is being refunded; no label from this checkout should be used.
Content-Type: application/json
payment_session.cancelled
The agent cancelled the session before the human opened checkout.
Content-Type: application/json
About AsyncAPI
The AsyncAPI specification describes event-driven APIs the way OpenAPI describes request/response APIs. A channel is the named pipe — a webhook URL, a Kafka topic, a WebSocket route, an MQTT subject — that producers and consumers publish or subscribe to. Each channel carries one or more messages with structured payloads, and an operation declares whether a given party sends or receives on that channel.
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.