Klarna Checkout, the provider-specific predecessor of the checkout session endpoints. Still supported, but new builds should use Ecom.Checkout instead. The push endpoint here is an inbound callback from Klarna, not something a storefront calls.
4 calls·
POST
PUT
GET
·Base URL https://api.erp.fluit.cloud/ecom
Authentication, error codes, rate limits, idempotency and pagination apply to every call and are documented once under
Getting started.
POST
/kco/push
KCO push callback
Webhook called by Kustom when checkout is completed. Creates a SalesOrder and acknowledges to Kustom. Idempotent.
Responses
200
Empty body.
429
Rate limit exceeded. Wait the number of seconds given in Retry-After. The body is problem-shaped application/json, not application/problem+json. This API sends no X-RateLimit-* headers — the quota is discovered here.
Creates a Kustom Checkout session and returns an HTML snippet for embedding the checkout widget. Deprecated alias for POST /ecom/checkout/sessions.
Body
required
Field
Type
Description
locale
string
· nullable
The shopper's language, e.g. "sv" or "en-GB".
shippingCountry
string
· nullable
The country the order ships to (ISO 3166-1 alpha-2), when the shopper has chosen it.
VAT in the basket sent to the payment provider is calculated for that country, the same
way the order will be. Without it, VAT follows the logged-in customer's country, or the
store's own country for a guest.
Responses
200
CreateKcoSessionResponse
Field
Type
htmlSnippet
string
· nullable
sessionId
string(uuid)
429
Rate limit exceeded. Wait the number of seconds given in Retry-After. The body is problem-shaped application/json, not application/problem+json. This API sends no X-RateLimit-* headers — the quota is discovered here.
Base URL https://api.erp.fluit.cloud/ecom.
The response example is generated from the schema: the shape is right, the values are made up.
PUT
/kco/sessions/{sessionId}
Update KCO session
Updates an existing Kustom Checkout session when the cart has changed. Deprecated alias for PATCH /ecom/checkout/sessions/{sessionId}.
Path parameters
Field
Type
sessionId
Required
string(uuid)
Responses
200
UpdateKcoSessionResponse
Field
Type
htmlSnippet
string
· nullable
sessionId
string(uuid)
429
Rate limit exceeded. Wait the number of seconds given in Retry-After. The body is problem-shaped application/json, not application/problem+json. This API sends no X-RateLimit-* headers — the quota is discovered here.
Base URL https://api.erp.fluit.cloud/ecom.
The response example is generated from the schema: the shape is right, the values are made up.
GET
/kco/sessions/{sessionId}/confirmation
Get KCO confirmation
Returns the Kustom Checkout confirmation HTML snippet and order details. Deprecated alias for GET /ecom/checkout/sessions/{sessionId}/confirmation.
Path parameters
Field
Type
sessionId
Required
string
Responses
200
GetKcoConfirmationResponse
Field
Type
currencyCode
string
· nullable
htmlSnippet
string
· nullable
orderNumber
string
· nullable
sessionId
string(uuid)
status
string
· nullable
totalAmount
decimal
· nullable
totalAmountIncludingTax
decimal
· nullable
totalVat
decimal
· nullable
429
Rate limit exceeded. Wait the number of seconds given in Retry-After. The body is problem-shaped application/json, not application/problem+json. This API sends no X-RateLimit-* headers — the quota is discovered here.