ExtendReservation action

      ExtendReservation action


        Article Summary

        Base JSON request

        Use the base request as instructed on this page

        ExtendReservation

        If there is a need to extend the garantuee 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 serivce label is KlarnaKp
        CodestringMContains the status of the CancelReservation not the Reservation
        IsTestbooleanMIf their is 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 serivce label is KlarnaKp
        CodestringMContains the status of the ExtendReservation not the Reservation
        IsTestbooleanMIf their is actual funds processed

        Was this article helpful?

        What's Next