Klarna · Schema
CaptureObject
Capture request data
FintechBuy Now Pay LaterPaymentsCardsShoppingBankingCheckoutOrder ManagementSettlementOpen BankingPSD2Consumer CreditSwedenAgentic CommerceConsumer Finance
Properties
| Name | Type | Description |
|---|---|---|
| captured_amount | integer | The captured amount in minor units. |
| description | string | Description of the capture shown to the customer. Maximum 255 characters. |
| order_lines | array | Order lines for this capture. Maximum 1000 items. |
| reference | string | Internal reference to the capture. This will be included in the settlement files. Max length is 255 characters. |
| shipping_delay | integer | Delay before the order will be shipped. Use for improving the customer experience regarding payments. This field is currently not returned when reading the order. Minimum: 0. Please note: to be able t |
| shipping_info | array | Shipping information for this capture. Maximum 500 items. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/klarna/main/json-schema/klarna-capture-object-schema.json",
"title": "CaptureObject",
"description": "Capture request data",
"x-generated": "2026-10-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/klarna-captures-api-openapi.yml#/components/schemas/CaptureObject",
"properties": {
"captured_amount": {
"description": "The captured amount in minor units.",
"format": "int64",
"maximum": 200000000,
"minimum": 0,
"type": "integer"
},
"description": {
"description": "Description of the capture shown to the customer. Maximum 255 characters.",
"maxLength": 255,
"minLength": 0,
"type": "string"
},
"order_lines": {
"description": "Order lines for this capture. Maximum 1000 items.",
"items": {
"$ref": "#/$defs/order_line"
},
"maxItems": 1000,
"minItems": 0,
"type": "array"
},
"reference": {
"description": "Internal reference to the capture. This will be included in the settlement files. Max length is 255 characters.",
"maxLength": 255,
"minLength": 0,
"type": "string"
},
"shipping_delay": {
"description": "Delay before the order will be shipped. Use for improving the customer experience regarding payments. This field is currently not returned when reading the order. Minimum: 0. Please note: to be able to submit values larger than 0, this has to be enabled in your merchant account. Please contact Klarna for further information.",
"format": "int64",
"minimum": 0,
"type": "integer"
},
"shipping_info": {
"description": "Shipping information for this capture. Maximum 500 items.",
"items": {
"$ref": "#/$defs/shipping_info"
},
"maxItems": 500,
"minItems": 0,
"type": "array"
}
},
"required": [
"captured_amount"
],
"type": "object",
"$defs": {
"ProductIdentifiers": {
"description": "product_identifiers",
"properties": {
"brand": {
"description": "The product's brand name as generally recognized by consumers. If no brand is available for a product, do not supply any value. Maximum 70 characters. Example: Intel",
"maxLength": 70,
"minLength": 0,
"type": "string"
},
"category_path": {
"description": "The product's category path as used in the merchant's webshop. Include the full and most detailed category and separate the segments with ' > '. Maximum 750 characters. Example: Electronics Store > Computers & Tablets > Desktops",
"maxLength": 750,
"minLength": 0,
"type": "string"
},
"color": {
"description": "Color to be shown to the end customer (max 64 characters). Example: Denim blue",
"maxLength": 64,
"minLength": 0,
"type": "string"
},
"global_trade_item_number": {
"description": "The product's Global Trade Item Number (GTIN). Common types of GTIN are EAN, ISBN or UPC. Exclude dashes and spaces, where possible. Maximum 50 characters. Example: 735858293167",
"maxLength": 50,
"minLength": 0,
"type": "string"
},
"manufacturer_part_number": {
"description": "The product's Manufacturer Part Number (MPN), which - together with the brand - uniquely identifies a product. Only submit MPNs assigned by a manufacturer and use the most specific MPN possible. Maximum 70 characters. Example: BOXNUC5CPYH",
"maxLength": 70,
"minLength": 0,
"type": "string"
},
"size": {
"description": "Size to be shown to the end customer (max 64 characters). Example: 4",
"maxLength": 64,
"minLength": 0,
"type": "string"
}
},
"type": "object"
},
"order_line": {
"description": "List of order lines for the capture shown to the customer.",
"properties": {
"image_url": {
"description": "URL to an image that can be embedded in communications between Klarna and the customer.",
"maxLength": 1024,
"minLength": 0,
"type": "string"
},
"merchant_data": {
"description": "Data about the order line.",
"maxLength": 1024,
"minLength": 0,
"type": "string"
},
"name": {
"description": "Descriptive item name.",
"maxLength": 255,
"minLength": 0,
"type": "string"
},
"product_identifiers": {
"$ref": "#/$defs/ProductIdentifiers"
},
"product_url": {
"description": "URL to the product that can be used in communications between Klarna and the customer.",
"maxLength": 1024,
"minLength": 0,
"type": "string"
},
"quantity": {
"description": "Item quantity.",
"format": "int64",
"minimum": 0,
"type": "integer"
},
"quantity_unit": {
"description": "Unit used to describe the quantity.",
"maxLength": 10,
"minLength": 0,
"type": "string"
},
"reference": {
"description": "Article number, SKU, or similar identifier on the product variant level.",
"maxLength": 255,
"minLength": 0,
"type": "string"
},
"subscription": {
"$ref": "#/$defs/subscription"
},
"tax_rate": {
"description": "The tax rate in percent with two implicit decimals.",
"format": "int32",
"minimum": 0,
"type": "integer"
},
"total_amount": {
"description": "Total amount including tax and discounts (`quantity * unit_price - total_discount_amount`).",
"format": "int64",
"maximum": 200000000,
"type": "integer"
},
"total_discount_amount": {
"description": "The discount amount in minor units. Includes tax. Example: 1200 = $12. Max value: 200000000",
"format": "int64",
"maximum": 200000000,
"minimum": 0,
"type": "integer"
},
"total_tax_amount": {
"description": "The total tax amount in minor units.",
"format": "int64",
"maximum": 200000000,
"type": "integer"
},
"type": {
"description": "Order line type.",
"enum": [
"physical|discount|shipping_fee|sales_tax|store_credit|gift_card|digital|surcharge|return_fee"
],
"pattern": "physical|discount|shipping_fee|sales_tax|store_credit|gift_card|digital|surcharge|return_fee",
"type": "string"
},
"unit_price": {
"description": "Unit price including tax without applying discounts in minor units.",
"format": "int64",
"maximum": 200000000,
"type": "integer"
}
},
"required": [
"name",
"quantity",
"total_amount",
"unit_price"
],
"type": "object"
},
"shipping_info": {
"description": "Shipping information for this capture.",
"properties": {
"return_shipping_company": {
"description": "Name of the shipping company for the return shipment (as specific as possible). Maximum 100 characters. Example: 'DHL US' and not only 'DHL'",
"maxLength": 100,
"minLength": 0,
"type": "string"
},
"return_tracking_number": {
"description": "Tracking number for the return shipment. Maximum 100 characters.",
"maxLength": 100,
"minLength": 0,
"type": "string"
},
"return_tracking_uri": {
"description": "URL where the customer can track the return shipment. Maximum 1024 characters.",
"maxLength": 1024,
"minLength": 0,
"type": "string"
},
"shipping_company": {
"description": "Name of the shipping company (as specific as possible). Maximum 100 characters. Example: 'DHL US' and not only 'DHL'",
"maxLength": 100,
"minLength": 0,
"type": "string"
},
"shipping_method": {
"description": "Shipping method. Allowed values matches (PickUpStore|Home|BoxReg|BoxUnreg|PickUpPoint|Own|Postal|DHLPackstation|Digital|Undefined|PickUpWarehouse|ClickCollect|PalletDelivery)",
"pattern": "(PickUpStore|Home|BoxReg|BoxUnreg|PickUpPoint|Own|Postal|DHLPackstation|Digital|Undefined|PickUpWarehouse|ClickCollect|PalletDelivery)",
"type": "string"
},
"tracking_number": {
"description": "Tracking number for the shipment. Maximum 100 characters.",
"maxLength": 100,
"minLength": 0,
"type": "string"
},
"tracking_uri": {
"description": "URI where the customer can track their shipment. Maximum 1024 characters.",
"maxLength": 1024,
"minLength": 0,
"type": "string"
}
},
"type": "object"
},
"subscription": {
"description": "Subscription information, such as the cadence and product name of the subscription that an order line item belongs to.",
"properties": {
"interval": {
"description": "The cadence unit. Matches: DAY|WEEK|MONTH|YEAR",
"pattern": "DAY|WEEK|MONTH|YEAR",
"type": "string"
},
"interval_count": {
"description": "The number of intervals.",
"format": "int32",
"minimum": 1,
"type": "integer"
},
"name": {
"description": "The name of the subscription product. Maximum 255 characters.",
"maxLength": 255,
"minLength": 0,
"type": "string"
}
},
"required": [
"interval",
"interval_count",
"name"
],
"type": "object"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/klarna-capture-object"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.