Download OpenAPI specification:Download
object (application/json) Metadata about the integrator and originators of the request, a valid JSON object string literal, to improve troubleshooting. Read more here The header value as appearing on the wire should be a JSON object string literal without newlines as produced by Example: | |
Partner-Correlation-Id | string <= 255 characters ^[A-Za-z0-9]+$ An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response. |
Successful response
No messaging available for the given parameters.
Bad request.
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"
}
]
}
}
object (application/json) Metadata about the integrator and originators of the request, a valid JSON object string literal, to improve troubleshooting. Read more here The header value as appearing on the wire should be a JSON object string literal without newlines as produced by Example: | |
Partner-Correlation-Id | string <= 255 characters ^[A-Za-z0-9]+$ An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response. |
Successful response
No messaging available for the given parameters.
Bad request.
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"
}
]
}
}
object (application/json) Metadata about the integrator and originators of the request, a valid JSON object string literal, to improve troubleshooting. Read more here The header value as appearing on the wire should be a JSON object string literal without newlines as produced by Example: | |
Partner-Correlation-Id | string <= 255 characters ^[A-Za-z0-9]+$ An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response. |
Successful response
No messaging available for the given parameters.
Bad request.
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"
}
]
}
}
object (application/json) Metadata about the integrator and originators of the request, a valid JSON object string literal, to improve troubleshooting. Read more here The header value as appearing on the wire should be a JSON object string literal without newlines as produced by Example: | |
Partner-Correlation-Id | string <= 255 characters ^[A-Za-z0-9]+$ An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response. |
Successful response
No messaging available for the given parameters.
Bad request.
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"
}
]
}
}
object (application/json) Metadata about the integrator and originators of the request, a valid JSON object string literal, to improve troubleshooting. Read more here The header value as appearing on the wire should be a JSON object string literal without newlines as produced by Example: | |
Partner-Correlation-Id | string <= 255 characters ^[A-Za-z0-9]+$ An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response. |
Successful response
No messaging available for the given parameters.
Bad request.
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"
}
]
}
}
object (application/json) Metadata about the integrator and originators of the request, a valid JSON object string literal, to improve troubleshooting. Read more here The header value as appearing on the wire should be a JSON object string literal without newlines as produced by Example: | |
Partner-Correlation-Id | string <= 255 characters ^[A-Za-z0-9]+$ An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response. |
Successful response
Bad request.
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"
}
]
}
}
],
}