Klarna · Schema
Refund
FintechBNPLPaymentsCardsShoppingBankingCheckoutOrder ManagementSettlementOpen BankingPSD2Consumer CreditSweden
Properties
| Name | Type | Description |
|---|---|---|
| credit_invoice | boolean | Only relevant for B2B Orders. If the flag is set to true for an order with B2B_invoice as payment method, the customer will receive the refund as a credit invoice. |
| description | string | Description of the refund shown to the customer. Max length is 255 characters. |
| order_lines | array | Order lines for the refund shown to the customer. Optional but increases the customer experience. Maximum 1000 order lines. |
| reference | string | Internal reference to the refund that is also included in the settlement files. Max length is 255 characters. |
| refund_id | string | The refund id. Generated when the refund is created. |
| refunded_amount | integer | Refunded amount in minor units. |
| refunded_at | string | The time of the refund. ISO 8601. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Refund",
"title": "Refund",
"properties": {
"credit_invoice": {
"description": "Only relevant for B2B Orders. If the flag is set to true for an order with B2B_invoice as payment method, the customer will receive the refund as a credit invoice.",
"type": "boolean"
},
"description": {
"description": "Description of the refund shown to the customer. Max length is 255 characters.",
"example": "The item was returned and the order refunded.",
"type": "string"
},
"order_lines": {
"description": "Order lines for the refund shown to the customer. Optional but increases the customer experience. Maximum 1000 order lines.",
"items": {
"$ref": "#/components/schemas/order_line"
},
"type": "array"
},
"reference": {
"description": "Internal reference to the refund that is also included in the settlement files. Max length is 255 characters.",
"type": "string"
},
"refund_id": {
"description": "The refund id. Generated when the refund is created.",
"example": "b2cb4f2e-2781-4359-80ad-555735ebb8d8",
"type": "string"
},
"refunded_amount": {
"description": "Refunded amount in minor units.",
"format": "int64",
"type": "integer"
},
"refunded_at": {
"description": "The time of the refund. ISO 8601.",
"example": "2015-12-04T15:17:40Z",
"format": "date-time",
"type": "string"
}
},
"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-refund"
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.