ExtendReservation action

ExtendReservation

If there is a need to extend the guarantee of Klarna on the reservation, this can be requested by extending the reservation.

ExtendReservation Request

{
    "Description": "Test KlarnaKP Extend reservation period",
    "Services": {
        "ServiceList": [
            {
                "Name": "KlarnaKP",
                "Action": "ExtendReservation",
                "Parameters": [
                    {
                        "Name": "ReservationNumber",
                        "Value": "d91f5f42-f011-4611-9575-77bb0446d7d2"
                    }
                ]
            }
        ]
    }
}

Request Parameters

ParameterTypeOCMDescription
ReservationNumberstringMKlarna order ID

ExtendReservation Response

{
    "Key": "7848CD2D67DA45AA8EAA08BE0E96E99C",
    "Status": {
        "Code": {
            "Code": 190,
            "Description": "Success"
        },
        "SubCode": {
            "Code": "S990",
            "Description": "The request was successful."
        },
        "DateTime": "2023-03-27T10:07:45"
    },
    "RequiredAction": null,
    "Services": null,
    "CustomParameters": null,
    "AdditionalParameters": null,
    "RequestErrors": null,
    "ServiceCode": "KlarnaKp",
    "IsTest": true,
    "ConsumerMessage": null
}

Response Parameters

ParameterTypeOCMDescription
ServiceCodestringMKlarna service label is KlarnaKp
CodestringMContains the status of the CancelReservation not the Reservation
IsTestbooleanMIf there are actual funds processed

ExtendReservation Push

{
  "DataRequest": {
    "Key": "7848CD2D67DA45AA8EAA08BE0E96E99C",
    "Invoice": null,
    "ServiceCode": "KlarnaKp",
    "ActionCode": "ExtendReservation",
    "Status": {
      "Code": {
        "Code": 190,
        "Description": "The request was successful."
      },
      "SubCode": null,
      "DateTime": "2023-03-27T10:07:45"
    },
    "IsTest": true,
    "Order": null,
    "Currency": null,
    "AmountDebit": 0,
    "Services": null,
    "CustomParameters": null,
    "AdditionalParameters": null,
    "MutationType": 0,
    "IssuingCountry": null,
    "StartRecurrent": false,
    "Recurring": false,
    "CustomerName": null,
    "PayerHash": null,
    "PaymentKey": null
  }
}

Push Parameters

ParameterTypeOCMDescription
ServiceCodestringMKlarna service label is KlarnaKp
CodestringMContains the status of the ExtendReservation not the Reservation
IsTestbooleanMIf there are actual funds processed