checkout
Create a payment session for one parcel label (MPP intent "session")
Prices the shipment live, anchors the amount to one service, and returns a handoff URL opening the SMKlog checkout prefilled with the shipment. The human confirms the contents certification and the carrier-adjustment consent there and pays on Stripe hosted checkout. This operation never charges: the agent prepares, the human pays. Pass the quote_id from getParcelQuote and the session reuses that quote instead of spending a second carrier call.
post/agent/checkout-session
Request
- Base URL: https://quote-api.smklog.com
- URL: https://quote-api.smklog.com/agent/checkout-session
- Auth: one of:
- none
- OAuth 2 (client credentials, token URL https://quote-api.smklog.com/oauth/token, scopes: quote)
Request body
Response
The session: intent, method, amount, currency, service, handoff_url, session_id, note. Keep session_id for getCheckoutStatus.
Changes
No recorded changes to this operation across all 1 revision of this API.