Skip to main content
PUT
https://checkout.dintero.com/v1
/
admin
/
gateways
/
klarna
/
credentials
admin_gateways_klarna_credentials_put
curl --request PUT \
  --url https://checkout.dintero.com/v1/admin/gateways/klarna/credentials \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>",
  "data": {
    "url": "https://api.klarna.com",
    "username": "PK27631_9dfg28uy0p43",
    "merchant_id": "PK27631",
    "password": "<string>"
  }
}
'
{
  "name": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "created_by": "<string>",
  "updated_at": "2023-11-07T05:31:56Z",
  "version": 1,
  "updated_by": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.dintero.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

X-API-Key authentication for accessing admin endpoints. Use Create api-key to create a key.

The content of the header should look like the following:

x-api-key: {api_key}

Query Parameters

overwrite
boolean
default:false

Overwrite an existing credential

validate_credential
boolean
default:true

Body

application/json
name
string
required

The unique id that identifies the credential (username)

data
object
required

configuration for Klarna GW

description
string
promote
object[]

Use the credential to configure gateway Will create new credential from existing gateway so existing transactions created with the old configuration can continue to work

Response

Updated

name
string
required

The unique name that identifies the credential

created_at
string<date-time>
required
created_by
string
required
updated_at
string<date-time>
required
version
integer
required
Example:

1

updated_by
string
Last modified on May 12, 2026