Download OpenAPI specification:Download
required | object Metadata about the integrator and originators of the request in n object, serialized as a valid JSON Example: object=[object Object] |
Successful response
No messaging available for the given parameters.
Bad Request, there was an error in the input of the request. The request can not be retried without modifications.
Unauthorized, the request was not authorized.
Not Found, the requested resource was not found.
Too Many Requests, the request was rate limited.
Internal Server Error, there was an unexpected error in the API.
{- "content": {
- "nodes": [
- {
- "name": "TEXT_MAIN",
- "type": "TEXT",
- "value": "Pay as low as $177/mo."
}, - {
- "name": "ACTION_LEARN_MORE",
- "url": "url_t",
- "type": "ACTION",
- "label": "Learn more"
}, - {
- "name": "KLARNA_LOGO",
- "alt": "Klarna",
- "type": "IMAGE"
}
]
}
}
required | object Metadata about the integrator and originators of the request in n object, serialized as a valid JSON Example: object=[object Object] |
Successful response
No messaging available for the given parameters.
Bad Request, there was an error in the input of the request. The request can not be retried without modifications.
Unauthorized, the request was not authorized.
Not Found, the requested resource was not found.
Too Many Requests, the request was rate limited.
Internal Server Error, there was an unexpected error in the API.
{- "content": {
- "nodes": [
- {
- "name": "TEXT_MAIN",
- "type": "TEXT",
- "value": "Pay as low as $177/mo."
}, - {
- "name": "ACTION_LEARN_MORE",
- "url": "url_t",
- "type": "ACTION",
- "label": "Learn more"
}, - {
- "name": "KLARNA_BADGE",
- "alt": "Klarna",
- "type": "IMAGE"
}
]
}
}
required | object Metadata about the integrator and originators of the request in n object, serialized as a valid JSON Example: object=[object Object] |
Successful response
No messaging available for the given parameters.
Bad Request, there was an error in the input of the request. The request can not be retried without modifications.
Unauthorized, the request was not authorized.
Not Found, the requested resource was not found.
Too Many Requests, the request was rate limited.
Internal Server Error, there was an unexpected error in the API.
{- "content": {
- "nodes": [
- {
- "name": "TEXT_MAIN",
- "type": "TEXT",
- "value": "Shop now. Pay with"
}, - {
- "name": "ACTION_LEARN_MORE",
- "url": "url_t",
- "type": "ACTION",
- "label": "Learn more"
}, - {
- "name": "KLARNA_LOGO",
- "alt": "Klarna",
- "type": "IMAGE"
}
]
}
}
required | object Metadata about the integrator and originators of the request in n object, serialized as a valid JSON Example: object=[object Object] |
Successful response
No messaging available for the given parameters.
Bad Request, there was an error in the input of the request. The request can not be retried without modifications.
Unauthorized, the request was not authorized.
Not Found, the requested resource was not found.
Too Many Requests, the request was rate limited.
Internal Server Error, there was an unexpected error in the API.
{- "content": {
- "nodes": [
- {
- "name": "TEXT_MAIN",
- "type": "TEXT",
- "value": "Shop now. Pay with"
}, - {
- "name": "ACTION_LEARN_MORE",
- "url": "url_t",
- "type": "ACTION",
- "label": "Learn more"
}, - {
- "name": "KLARNA_BADGE",
- "alt": "Klarna",
- "type": "IMAGE"
}
]
}
}
required | object Metadata about the integrator and originators of the request in n object, serialized as a valid JSON Example: object=[object Object] |
Successful response
No messaging available for the given parameters.
Bad Request, there was an error in the input of the request. The request can not be retried without modifications.
Unauthorized, the request was not authorized.
Not Found, the requested resource was not found.
Too Many Requests, the request was rate limited.
Internal Server Error, there was an unexpected error in the API.
{- "content": {
- "nodes": [
- {
- "name": "TEXT_MAIN",
- "type": "TEXT",
- "value": "Enjoy Buyer Protection with Klarna"
}, - {
- "name": "ACTION_LEARN_MORE",
- "url": "url_t",
- "type": "ACTION",
- "label": "Learn more"
}, - {
- "name": "KLARNA_BADGE",
- "alt": "Klarna",
- "type": "IMAGE"
}, - {
- "name": "ACTION_OPEN_BUYERS_PROTECTION_LINK",
- "label": "Buyer Protection",
- "type": "ACTION"
}, - {
- "name": "ZERO_INTEREST_BADGE_TEXT",
- "label": "0% Financing",
- "type": "TEXT"
}
]
}
}
required | object Metadata about the integrator and originators of the request in n object, serialized as a valid JSON Example: object=[object Object] |
Successful response
Bad Request, there was an error in the input of the request. The request can not be retried without modifications.
Unauthorized, the request was not authorized.
Not Found, the requested resource was not found.
Too Many Requests, the request was rate limited.
Internal Server Error, there was an unexpected error in the API.
When category_preference is set to KLARNA, the payment_descriptor should return only one descriptor which has grouped text of all categories and with no payment_option_id.
{- "locale": "en-US",
- "amount": 1000,
- "category_preference": "KLARNA"
}
When category_preference is set to KLARNA, the payment_descriptor should return only one descriptor which has grouped text of all categories and with no payment_option_id.
{- "payment_descriptors": [
- {
- "content": {
- "nodes": [
- {
- "name": "PAYMENT_DESCRIPTOR",
- "type": "TEXT",
- "value": "Pay with Klarna"
}, - {
- "name": "PAYMENT_DESCRIPTOR_SUBHEADER",
- "type": "TEXT",
- "value": "Pay in 3 parts or in 30 or over 6-36 months or now"
}, - {
- "alt": "Klarna",
- "url": "/images/badges/klarna_v2_1.svg",
- "name": "KLARNA_BADGE",
- "type": "IMAGE"
}
]
}
}
],
}