Volver al catálogo

Klarna

klarna

Klarna provides merchant APIs for payments, checkout, order management, settlements, customer tokens, and hosted payment pages.

Acciones
58
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (58)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Abort Checkout OrderKLARNA_ABORT_CHECKOUT_ORDERAcción

Irreversibly abort an incomplete legacy Klarna Checkout order.

Parámetros de entrada

  • order_idstringObligatorio

    Klarna Checkout order ID to abort.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Accept Dispute LossKLARNA_ACCEPT_DISPUTE_LOSSAcción

Irreversibly request acceptance of the financial loss for a Klarna dispute. HTTP 202 means Klarna accepted the request for processing; use GET_DISPUTE to verify that the dispute closed and the chargeback was activated.

Parámetros de entrada

  • payment_dispute_idstringObligatorio

    Klarna payment dispute ID whose loss will be irreversibly accepted.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Acknowledge OrderKLARNA_ACKNOWLEDGE_ORDERAcción

Acknowledge receipt of a Klarna order so order processing can continue.

Parámetros de entrada

  • order_idstringObligatorio

    Klarna order ID to acknowledge.

  • idempotency_keystring

    Unique key for this logical operation, preferably a UUID v4. Reuse the same key only when retrying that operation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add Capture Shipping InfoKLARNA_ADD_CAPTURE_SHIPPING_INFOAcción

Append shipping carrier and tracking information to a Klarna capture.

Parámetros de entrada

  • order_idstringObligatorio

    Klarna order ID containing the capture.

  • capture_idstringObligatorio

    Klarna capture ID to update.

  • shipping_infoobject[]Obligatorio

    Shipping carrier and tracking records to append to the capture.

  • idempotency_keystring

    Unique key for this logical operation, preferably a UUID v4. Reuse the same key only when retrying that operation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add Order Shipping InfoKLARNA_ADD_ORDER_SHIPPING_INFOAcción

Append shipping carrier and tracking information to a Klarna order.

Parámetros de entrada

  • order_idstringObligatorio

    Klarna order ID to which shipping information will be appended.

  • shipping_infoobject[]Obligatorio

    Shipping carrier and tracking records to append to the order.

  • idempotency_keystring

    Unique key for this logical operation, preferably a UUID v4. Reuse the same key only when retrying that operation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Cancel AuthorizationKLARNA_CANCEL_AUTHORIZATIONAcción

Irreversibly cancel a Klarna payment authorization before an order is created from it.

Parámetros de entrada

  • authorization_tokenstringObligatorio

    Authorization token returned by the Klarna client-side authorization flow.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Cancel OrderKLARNA_CANCEL_ORDERAcción

Irreversibly cancel an uncaptured Klarna order that is not closed. Cancellation cannot be undone.

Parámetros de entrada

  • order_idstringObligatorio

    Klarna order ID to cancel. The order must be uncaptured and not closed; cancellation cannot be undone.

  • idempotency_keystring

    Unique key for this logical cancellation, preferably a UUID v4. Reuse the same key only when retrying that cancellation after a network error or timeout.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Capture OrderKLARNA_CAPTURE_ORDERAcción

Irreversibly capture all or part of an authorized Klarna order and return the created capture ID.

Parámetros de entrada

  • captureobjectObligatorio

    Capture amount, line items, and shipping details.

  • order_idstringObligatorio

    Klarna order ID to capture.

  • idempotency_keystring

    Unique key for this logical operation, preferably a UUID v4. Reuse the same key only when retrying that operation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Card PromiseKLARNA_CREATE_CARD_PROMISEAcción

Create a Klarna card promise for an order. This Merchant Card Service operation requires Virtual Card Number (VCN) entitlement. Creating a new promise irreversibly invalidates the previous promise for the same order.

Parámetros de entrada

  • cardsobject[]Obligatorio

    Card specifications to include in the promise.

  • order_idstringObligatorio

    Klarna order ID for which to create the card promise.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Card SettlementKLARNA_CREATE_CARD_SETTLEMENTAcción

Create a Klarna settlement for a completed order and issue its encrypted virtual cards. This Merchant Card Service operation requires Virtual Card Number (VCN) entitlement and commits a new settlement, an irreversible effect.

Parámetros de entrada

  • order_idstringObligatorio

    Completed Klarna order ID to settle.

  • promise_idstring

    Card promise identifier associated with the settlement.

  • card_data_encryption_key_idstringObligatorio

    Public-key identifier Klarna must use to encrypt the card data.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Checkout OrderKLARNA_CREATE_CHECKOUT_ORDERAcción

Create a legacy Klarna Checkout V3 order and return its checkout details.

Parámetros de entrada

  • checkout_orderobjectObligatorio

    Complete structured Klarna Checkout V3 order request.

  • klarna_partnerstring

    Optional Klarna partner identifier.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Customer Token From AuthorizationKLARNA_CREATE_CUSTOMER_TOKEN_FROM_AUTHORIZATIONAcción

Create a reusable Klarna customer token from a payment authorization token for subscription purchases.

Parámetros de entrada

  • token_requestobjectObligatorio

    Customer token creation details required by Klarna.

  • authorization_tokenstringObligatorio

    Authorization token returned by the Klarna client-side authorization flow.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create HPP SessionKLARNA_CREATE_HPP_SESSIONAcción

Create a Hosted Payment Page session from an existing Klarna Payments session or Checkout order URL. The returned distribution-module token is sensitive and must not be logged or persisted.

Parámetros de entrada

  • hpp_sessionobjectObligatorio

    Complete Hosted Payment Page session creation body.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Order From AuthorizationKLARNA_CREATE_ORDER_FROM_AUTHORIZATIONAcción

Create a Klarna order from a customer authorization token. When order.auto_capture is true, Klarna also captures payment automatically.

Parámetros de entrada

  • orderobjectObligatorio

    Structured order request matching Klarna's create-order schema.

  • authorization_tokenstringObligatorio

    Authorization token returned by the Klarna client-side authorization flow.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Order From Customer TokenKLARNA_CREATE_ORDER_FROM_CUSTOMER_TOKENAcción

Create a Klarna order using a reusable customer token. Setting auto_capture to true captures the payment automatically.

Parámetros de entrada

  • orderobjectObligatorio

    Structured customer-token order request with all documented fields.

  • customer_tokenstringObligatorio

    Reusable Klarna customer token.

  • idempotency_keystring

    Fresh UUID v4 for this logical operation. Reuse the same value only when retrying that identical operation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Payment SessionKLARNA_CREATE_PAYMENT_SESSIONAcción

Create a Klarna Payments session and return its session ID, sensitive client token, and available payment method categories.

Parámetros de entrada

  • payment_sessionobjectObligatorio

    The complete Klarna payment session request.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Disable HPP SessionKLARNA_DISABLE_HPP_SESSIONAcción

Irreversibly disable a Klarna Hosted Payment Page session that has not completed.

Parámetros de entrada

  • session_idstringObligatorio

    ID of the Klarna Hosted Payment Page session to disable.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Distribute HPP SessionKLARNA_DISTRIBUTE_HPP_SESSIONAcción

Distribute a Klarna Hosted Payment Page link by email, SMS, or a documented token access ID. Warning: choosing email or SMS immediately sends a message to the specified external recipient; confirm the destination before calling.

Parámetros de entrada

  • session_idstringObligatorio

    ID of the Klarna Hosted Payment Page session whose link will be distributed.

  • distributionanyObligatorio

    Distribution parameters. The email and SMS variants immediately send the HPP link to the specified external recipient.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download Dispute AttachmentKLARNA_DOWNLOAD_DISPUTE_ATTACHMENTAcción

Download a merchant or customer evidence attachment from a Klarna payment dispute as a bounded file reference.

Parámetros de entrada

  • payment_dispute_idstringObligatorio

    ID of the Klarna payment dispute that owns the attachment.

  • payment_dispute_attachment_idstringObligatorio

    ID of the merchant or customer evidence attachment to download.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download Payout PDFKLARNA_DOWNLOAD_PAYOUT_PDFAcción

Download the PDF settlement report for one payout.

Parámetros de entrada

  • payment_referencestringObligatorio

    Reference ID of the payout.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download Payouts Summary PDFKLARNA_DOWNLOAD_PAYOUTS_SUMMARY_PDFAcción

Download a PDF payout summary for a payout date-time range.

Parámetros de entrada

  • end_datestringObligatorio

    Inclusive payout-range end as an ISO 8601 date or date-time. A date alone starts at 00:00:00; use 23:59:59 for the full final day.

  • start_datestringObligatorio

    Inclusive payout-range start as an ISO 8601 date or date-time. A date alone starts at 00:00:00; use a full timestamp to avoid ambiguity.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download Payouts Summary Transactions CSVKLARNA_DOWNLOAD_PAYOUTS_SUMMARY_TRANSACTIONS_CSVAcción

Download a CSV summary of Klarna payouts and transactions for an inclusive payout date-time range.

Parámetros de entrada

  • end_datestringObligatorio

    Inclusive payout-range end as an ISO 8601 date or date-time. A date alone starts at 00:00:00; use 23:59:59 for the full final day.

  • start_datestringObligatorio

    Inclusive payout-range start as an ISO 8601 date or date-time. A date alone starts at 00:00:00; use a full timestamp to avoid ambiguity.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download Payout Transactions CSVKLARNA_DOWNLOAD_PAYOUT_TRANSACTIONS_CSVAcción

Download a CSV report containing one payout and its transactions.

Parámetros de entrada

  • payment_referencestringObligatorio

    Reference ID of the payout to include in the CSV report.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Enroll Dispute MerchantKLARNA_ENROLL_DISPUTE_MERCHANTAcción

Irreversibly activate Disputes v3 handling for one direct Klarna merchant account. This account onboarding cannot be undone through the API. Partners cannot use this operation to enroll individual merchants; HTTP 204 also means the merchant was already enrolled.

Parámetros de entrada

  • merchant_idstringObligatorio

    Direct Klarna merchant account ID to irreversibly enroll.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Enroll Dispute PartnerKLARNA_ENROLL_DISPUTE_PARTNERAcción

Irreversibly activate Disputes v3 handling for one Klarna partner account. This account onboarding cannot be undone through the API. partner_id identifies the partner account and client_id supplies the merchant OAuth2 client ID in the request body. Merchants cannot use this operation to enroll a partner; HTTP 204 also means the partner was already enrolled.

Parámetros de entrada

  • client_idstringObligatorio

    Merchant OAuth2 client ID used for partner onboarding. Must contain only ASCII letters and digits and be 1-64 characters long.

  • partner_idstringObligatorio

    Klarna partner account ID to irreversibly enroll.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Extend Capture Due DateKLARNA_EXTEND_CAPTURE_DUE_DATEAcción

First call KLARNA_LIST_CAPTURE_DUE_DATE_OPTIONS for this order and capture, then extend the payment due date using one returned option. Fetch the options before this action because some extensions can cost money.

Parámetros de entrada

  • order_idstringObligatorio

    Klarna order ID containing the capture.

  • capture_idstringObligatorio

    Klarna capture ID to extend.

  • idempotency_keystring

    Unique key for this logical operation, preferably a UUID v4. Reuse the same key only when retrying that operation.

  • due_date_extensionobjectObligatorio

    Due-date extension option previously returned by Klarna.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Extend Order Authorization TimeKLARNA_EXTEND_ORDER_AUTHORIZATION_TIMEAcción

Extend the authorization validity period for an order that is still AUTHORIZED and delayed unexpectedly. Call this before capture or release changes the order state; Klarna does not allow extension after the order expires or is cancelled. For routinely long fulfillment periods, arrange extended authorization during merchant onboarding instead.

Parámetros de entrada

  • order_idstringObligatorio

    Klarna order ID whose authorization time should be extended.

  • idempotency_keystring

    Unique key for this logical operation, preferably a UUID v4. Reuse the same key only when retrying that operation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get CaptureKLARNA_GET_CAPTUREAcción

Return one Klarna capture by order ID and capture ID.

Parámetros de entrada

  • order_idstringObligatorio

    Unique Klarna order ID containing the capture.

  • capture_idstringObligatorio

    Unique Klarna capture ID to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Card PromiseKLARNA_GET_CARD_PROMISEAcción

Retrieve a Klarna card promise and its card specifications. This Merchant Card Service operation requires Virtual Card Number (VCN) entitlement.

Parámetros de entrada

  • promise_idstringObligatorio

    Unique card promise identifier.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Card SettlementKLARNA_GET_CARD_SETTLEMENTAcción

Retrieve a Klarna card settlement by settlement ID or by its associated order ID. Select the identifier with lookup_by and provide only its corresponding field. This Merchant Card Service operation requires Virtual Card Number (VCN) entitlement and returns encrypted card material that must be handled securely.

Parámetros de entrada

  • order_idstring

    Klarna order ID associated with the settlement.

  • lookup_bystringenum

    Identifier type to use: settlement_id retrieves a specific settlement; order_id retrieves the settlement associated with an order. When omitted, the action infers it from the one supplied identifier.

    settlement_idorder_id
  • settlement_idstring

    Unique settlement identifier.

  • card_data_encryption_key_idstringObligatorio

    Public-key identifier Klarna used to encrypt the returned card data.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Checkout OrderKLARNA_GET_CHECKOUT_ORDERAcción

Return a legacy Klarna Checkout order by order ID.

Parámetros de entrada

  • order_idstringObligatorio

    Klarna Checkout order ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Customer TokenKLARNA_GET_CUSTOMER_TOKENAcción

Return a reusable Klarna customer token and its current status.

Parámetros de entrada

  • customer_tokenstringObligatorio

    Reusable Klarna customer token to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get DisputeKLARNA_GET_DISPUTEAcción

Return a fully detailed Klarna Disputes v3 record, including associated merchant and customer evidence. The response preserves provider-added fields and accepts all current or future state values.

Parámetros de entrada

  • payment_dispute_idstringObligatorio

    Klarna payment dispute ID to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get HPP SessionKLARNA_GET_HPP_SESSIONAcción

Return the current details and distribution state of a Klarna Hosted Payment Page session.

Parámetros de entrada

  • session_idstringObligatorio

    HPP session ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get OrderKLARNA_GET_ORDERAcción

Return a Klarna order and its current authorization, capture, refund, shipping, and customer details.

Parámetros de entrada

  • order_idstringObligatorio

    Unique Klarna order ID to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Payment SessionKLARNA_GET_PAYMENT_SESSIONAcción

Return the current details of a Klarna Payments session by session ID. The response may contain sensitive client or authorization tokens; do not log or persist them.

Parámetros de entrada

  • session_idstringObligatorio

    Unique ID of the Klarna Payments session to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get PayoutKLARNA_GET_PAYOUTAcción

Return one Klarna payout by payment reference.

Parámetros de entrada

  • payment_referencestringObligatorio

    Reference ID of the payout, normally found on the payment slip or bank statement.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Payout SummaryKLARNA_GET_PAYOUT_SUMMARYAcción

Return Klarna payout totals grouped by currency for an inclusive payout date-time range.

Parámetros de entrada

  • end_datestringObligatorio

    Inclusive payout-range end as an ISO 8601 date or date-time. A date alone starts at 00:00:00; use 23:59:59 for the full final day.

  • start_datestringObligatorio

    Inclusive payout-range start as an ISO 8601 date or date-time. A date alone starts at 00:00:00; use a full timestamp to avoid ambiguity.

  • currency_codestring

    Optional ISO 4217 currency code used to filter the summaries.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get RefundKLARNA_GET_REFUNDAcción

Return one Klarna refund by order ID and refund ID.

Parámetros de entrada

  • order_idstringObligatorio

    Unique Klarna order ID containing the refund.

  • refund_idstringObligatorio

    Unique Klarna refund ID to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get VCC Order CancellationKLARNA_GET_VCC_ORDER_CANCELLATIONAcción

Retrieve the asynchronous cancellation status for a Klarna order with a Virtual Credit Card settlement. This operation requires Virtual Card Number (VCN) entitlement and does not itself change the order.

Parámetros de entrada

  • order_idstringObligatorio

    Klarna order ID whose Virtual Credit Card cancellation status to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Capture Due Date OptionsKLARNA_LIST_CAPTURE_DUE_DATE_OPTIONSAcción

List the due-date extension options available for a Klarna capture.

Parámetros de entrada

  • order_idstringObligatorio

    Klarna order ID containing the capture.

  • capture_idstringObligatorio

    Klarna capture ID whose due-date extension options to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List DisputesKLARNA_LIST_DISPUTESAcción

Return one page of Klarna Disputes v3 records using all documented filters. Repeated-array and CSV query serialization follow the provider contract; use next_cursor to request one additional page.

Parámetros de entrada

  • sizeinteger

    Maximum number of disputes to return on this page.

  • statestring[]

    Dispute states to match. Serialized as repeated state query values.

  • cursorstring

    Opaque continuation cursor returned by a previous call. It restores that call's filters and page size and requests exactly one next page.

  • reasonstring[]

    Dispute reasons to match. Serialized as repeated reason query values.

  • sort_bystring[]

    Sort fields in priority order. Serialized as one comma-separated sort_by value; a leading minus sorts that field descending.

  • merchant_idstring[]

    Merchant IDs to match. Serialized as repeated merchant_id query values.

  • closed_at_endstring[]

    Exclusive dispute-close timestamps in ISO 8601 format. Serialized as repeated closed_at_end query values exactly as documented by Klarna.

  • opened_at_endstring[]

    Exclusive dispute-open timestamps in ISO 8601 format. Serialized as repeated opened_at_end query values exactly as documented by Klarna.

  • starting_afterstring

    Raw pagination.last_item value from a prior provider response. Prefer cursor for continuation; cursor takes precedence when both are supplied.

  • closed_at_startstring[]

    Inclusive dispute-close timestamps in ISO 8601 format. Serialized as repeated closed_at_start query values exactly as documented by Klarna.

  • opened_at_startstring[]

    Inclusive dispute-open timestamps in ISO 8601 format. Serialized as repeated opened_at_start query values exactly as documented by Klarna.

  • purchase_referencesstring[]

    Merchant purchase references to match, each 1-255 characters. Serialized as repeated purchase_references query values.

  • payment_transaction_idstring[]

    Payment transaction IDs to match, each at most 255 characters. Serialized as repeated payment_transaction_id query values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Order CapturesKLARNA_LIST_ORDER_CAPTURESAcción

Return all captures recorded for a Klarna order.

Parámetros de entrada

  • order_idstringObligatorio

    Unique Klarna order ID whose captures should be returned.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List PayoutsKLARNA_LIST_PAYOUTSAcción

Return one offset-controlled page of Klarna payouts, optionally filtered by payout date range and currency.

Parámetros de entrada

  • sizeinteger

    Number of payouts to return on this page (1-500; default 20).

  • cursorstring

    Continuation cursor returned by a previous call. It restores that call's filters and page size and takes precedence over offset.

  • offsetinteger

    Zero-based collection offset for the first page.

  • end_datestring

    Optional inclusive payout-date end as an ISO 8601 date or date-time. A date alone starts at 00:00:00; use 23:59:59 for the full final day.

  • start_datestring

    Optional inclusive payout-date start as an ISO 8601 date or date-time. A date alone starts at 00:00:00; use a full timestamp to avoid ambiguity.

  • currency_codestring

    Optional ISO 4217 currency code used to filter payouts.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Settlement TransactionsKLARNA_LIST_SETTLEMENT_TRANSACTIONSAcción

Return one offset-controlled page of Klarna settlement transactions, optionally filtered by payout reference or order ID.

Parámetros de entrada

  • sizeinteger

    Number of transactions to return in this page (maximum 500).

  • cursorstring

    Continuation cursor from a previous call. Omit it for the first page; when supplied, it preserves the original filters and page size.

  • offsetinteger

    Offset at which this page starts.

  • order_idstring

    Optional Klarna-assigned order ID used to filter transactions.

  • payment_referencestring

    Optional payout reference used to filter settlement transactions.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Refund OrderKLARNA_REFUND_ORDERAcción

Irreversibly create a full or partial Klarna refund and return the created refund ID.

Parámetros de entrada

  • refundobjectObligatorio

    Refund amount, line items, and references.

  • order_idstringObligatorio

    Klarna order ID to refund.

  • idempotency_keystring

    Unique key for this logical operation, preferably a UUID v4. Reuse the same key only when retrying that operation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Release Remaining AuthorizationKLARNA_RELEASE_REMAINING_AUTHORIZATIONAcción

Irreversibly release the uncaptured authorization remaining on a Klarna order. Use only when no further capture is needed; this does not refund captured funds. This may also normalize the order total: in live testing, a partial capture followed by release reduced order_amount to captured_amount.

Parámetros de entrada

  • order_idstringObligatorio

    Klarna order ID whose uncaptured authorization should be released.

  • idempotency_keystring

    Unique key for this logical operation, preferably a UUID v4. Reuse the same key only when retrying that operation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Request Customer Token CancellationKLARNA_REQUEST_CUSTOMER_TOKEN_CANCELLATIONAcción

Request asynchronous cancellation of a reusable Klarna customer token by changing its status to CANCELLED. Once Klarna processes the request, the token can no longer be used for new orders; HTTP 202 confirms acceptance, not that the state change has completed.

Parámetros de entrada

  • status_updateobjectObligatorio

    Required status change to submit for the customer token.

  • customer_tokenstringObligatorio

    Reusable Klarna customer token to cancel.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Request VCC Order CancellationKLARNA_REQUEST_VCC_ORDER_CANCELLATIONAcción

Irreversibly request cancellation of a Klarna order associated with a Virtual Credit Card settlement. This operation requires Virtual Card Number (VCN) entitlement. It mutates the order: an existing cancellation returns CANCELLED, while a new request is queued asynchronously and returns PENDING.

Parámetros de entrada

  • order_idstringObligatorio

    Klarna order ID to cancel. The order must have an associated Virtual Credit Card settlement.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Resend Capture Customer CommunicationKLARNA_RESEND_CAPTURE_CUSTOMER_COMMUNICATIONAcción

Irreversibly resend Klarna customer communication for a capture. Calling this action has an operational side effect: Klarna sends a communication to the customer.

Parámetros de entrada

  • order_idstringObligatorio

    Klarna order ID containing the capture.

  • capture_idstringObligatorio

    Klarna capture ID whose customer communication should be resent.

  • idempotency_keystring

    Unique key for this logical operation, preferably a UUID v4. Reuse the same key only when retrying that operation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Respond to DisputeKLARNA_RESPOND_TO_DISPUTEAcción

Submit reason-specific merchant evidence for a Klarna dispute request.

Parámetros de entrada

  • evidenceanyObligatorio

    Reason-specific evidence response matching the dispute reason.

  • payment_dispute_idstringObligatorio

    ID of the dispute whose evidence request is being answered.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Checkout OrderKLARNA_UPDATE_CHECKOUT_ORDERAcción

Update a legacy Klarna Checkout order and return the resulting order.

Parámetros de entrada

  • order_idstringObligatorio

    Klarna Checkout order ID.

  • checkout_orderobject

    Legacy Checkout V3 order properties to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Order AuthorizationKLARNA_UPDATE_ORDER_AUTHORIZATIONAcción

Update the authorized amount and order lines on an existing order.

Parámetros de entrada

  • order_idstringObligatorio

    Klarna order ID to update.

  • idempotency_keystring

    Unique key for this logical operation, preferably a UUID v4. Reuse the same key only when retrying that operation.

  • authorization_updateobjectObligatorio

    New authorization amount and optional replacement order lines.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Order Customer DetailsKLARNA_UPDATE_ORDER_CUSTOMER_DETAILSAcción

Update the permitted customer address details on an existing order.

Parámetros de entrada

  • order_idstringObligatorio

    Klarna order ID whose customer details will be updated.

  • idempotency_keystring

    Unique key for this logical operation, preferably a UUID v4. Reuse the same key only when retrying that operation.

  • customer_detailsobjectObligatorio

    Customer shipping details to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Order Merchant ReferencesKLARNA_UPDATE_ORDER_MERCHANT_REFERENCESAcción

Update the merchant reference values stored on a Klarna order.

Parámetros de entrada

  • order_idstringObligatorio

    Klarna order ID to update.

  • idempotency_keystring

    Unique key for this logical operation, preferably a UUID v4. Reuse the same key only when retrying that operation.

  • merchant_referencesobjectObligatorio

    New merchant reference values for the order.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Payment SessionKLARNA_UPDATE_PAYMENT_SESSIONAcción

Update mutable data on an existing Klarna Payments session, including order amounts and lines, customer and billing or shipping addresses, merchant references and URLs, purchase locale and currency, payment options, and session intent. Klarna returns no session data after a successful update.

Parámetros de entrada

  • session_idstringObligatorio

    ID of the existing Klarna Payments session to update.

  • session_updateobjectObligatorio

    Complete set of mutable session fields to send as the POST body.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upload Dispute AttachmentKLARNA_UPLOAD_DISPUTE_ATTACHMENTAcción

Upload one merchant evidence attachment to a Klarna payment dispute. Klarna limits attachments to 7 MB.

Parámetros de entrada

  • fileobjectObligatorio

    Merchant evidence file to upload. Klarna accepts JPG, JPEG, PNG, PDF, and DOCX files up to 7 MB.

  • filenamestring

    Optional provider filename. It must contain no whitespace and end in .jpg, .jpeg, .png, .pdf, or .docx.

  • payment_dispute_idstringObligatorio

    ID of the Klarna payment dispute that will own the attachment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upload Dispute AttachmentsKLARNA_UPLOAD_DISPUTE_ATTACHMENTSAcción

Upload 1-10 merchant evidence attachments to one Klarna payment dispute, sequentially in input order. Each successful upload creates a separate attachment resource. The batch is not atomic: if a later upload fails, attachments uploaded earlier remain created.

Parámetros de entrada

  • attachmentsobject[]Obligatorio

    One to 10 merchant evidence attachments to upload sequentially in the given order.

  • payment_dispute_idstringObligatorio

    ID of the Klarna payment dispute that will own the attachments.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not