added

Accept and Charge added as new API to accept quotes

We have added a new API to support partners that require us to be Merchant of Record for the Weather Guarantee and have the ability to pass us payment details to charge the customer for the cost of the Weather Guarantee. The new API is Accept and Charge Guarantee Quote and more details can be found in Scenario 1: Sensible Weather is Merchant of Record.

Sample request:

{
    "guarantee_quote_id": "cce750c6-78f0-4697-bf0e-17fe5744e882" ,
    "reservation_id": "R1294868", 
    "user": {
        "name": "Lou Reed",
        "phone": "+18129005555",
        "email": "[email protected]"
    },
    "payment": {
        "card": {
            "number": "4242424242424242",
            "exp_month": "12",
            "exp_year": "2025",
            "cvc": "000"
        }
    },
    "billing_address": {
        "address_line_1": "123 Main St",
        "city": "Los Angeles",
        "region": "CA",
        "country": "USA",
        "postal_code": "90069"
    }
}