Before PATCH: Status Code: 201 Status: CREATED Order ID: 4KL67822BF1354607 Intent: AUTHORIZE Links: self: https://api.paypal.com/v2/checkout/orders/4KL67822BF1354607 Call Type: GET approve: https://www.paypal.com/checkoutnow?token=4KL67822BF1354607 Call Type: GET update: https://api.paypal.com/v2/checkout/orders/4KL67822BF1354607 Call Type: PATCH authorize: https://api.paypal.com/v2/checkout/orders/4KL67822BF1354607/authorize Call Type: POST Gross Amount: USD 220.00 { "id": "4KL67822BF1354607", "intent": "AUTHORIZE", "status": "CREATED", "purchase_units": [ { "reference_id": "PUHF", "amount": { "currency_code": "USD", "value": "220.00", "breakdown": { "item_total": { "currency_code": "USD", "value": "180.00" }, "shipping": { "currency_code": "USD", "value": "20.00" }, "handling": { "currency_code": "USD", "value": "10.00" }, "tax_total": { "currency_code": "USD", "value": "20.00" }, "shipping_discount": { "currency_code": "USD", "value": "10.00" } } }, "payee": { "email_address": "servicerajinder@gmail.com", "merchant_id": "PP7KVNQX77986", "display_data": { "brand_name": "EXAMPLE INC" } }, "description": "Sporting Goods", "custom_id": "CUST-HighFashions", "soft_descriptor": "HighFashions", "items": [ { "name": "T-Shirt", "unit_amount": { "currency_code": "USD", "value": "90.00" }, "tax": { "currency_code": "USD", "value": "10.00" }, "quantity": "1", "description": "Green XL", "sku": "sku01", "category": "PHYSICAL_GOODS" }, { "name": "Shoes", "unit_amount": { "currency_code": "USD", "value": "45.00" }, "tax": { "currency_code": "USD", "value": "5.00" }, "quantity": "2", "description": "Running, Size 10.5", "sku": "sku02", "category": "PHYSICAL_GOODS" } ], "shipping": { "method": "United States Postal Service", "name": { "full_name": "John Doe" }, "address": { "address_line_1": "123 Townsend St", "address_line_2": "Floor 6", "admin_area_2": "San Francisco", "admin_area_1": "CA", "postal_code": "94107", "country_code": "US" } } } ], "create_time": "2024-12-23T02:17:33Z", "links": [ { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/4KL67822BF1354607", "rel": "self", "method": "GET" }, { "href": "https:\/\/www.paypal.com\/checkoutnow?token=4KL67822BF1354607", "rel": "approve", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/4KL67822BF1354607", "rel": "update", "method": "PATCH" }, { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/4KL67822BF1354607\/authorize", "rel": "authorize", "method": "POST" } ] } After PATCH (Changed Intent and Amount): Status Code: 200 Status: CREATED Order ID: 4KL67822BF1354607 Intent: CAPTURE Links: self: https://api.paypal.com/v2/checkout/orders/4KL67822BF1354607 Call Type: GET approve: https://www.paypal.com/checkoutnow?token=4KL67822BF1354607 Call Type: GET update: https://api.paypal.com/v2/checkout/orders/4KL67822BF1354607 Call Type: PATCH capture: https://api.paypal.com/v2/checkout/orders/4KL67822BF1354607/capture Call Type: POST Gross Amount: USD 200.00 { "id": "4KL67822BF1354607", "intent": "CAPTURE", "status": "CREATED", "purchase_units": [ { "reference_id": "PUHF", "amount": { "currency_code": "USD", "value": "200.00", "breakdown": { "item_total": { "currency_code": "USD", "value": "180.00" }, "tax_total": { "currency_code": "USD", "value": "20.00" } } }, "payee": { "email_address": "servicerajinder@gmail.com", "merchant_id": "PP7KVNQX77986", "display_data": { "brand_name": "EXAMPLE INC" } }, "description": "Sporting Goods", "custom_id": "CUST-HighFashions", "soft_descriptor": "HighFashions", "items": [ { "name": "T-Shirt", "unit_amount": { "currency_code": "USD", "value": "90.00" }, "tax": { "currency_code": "USD", "value": "10.00" }, "quantity": "1", "description": "Green XL", "sku": "sku01", "category": "PHYSICAL_GOODS" }, { "name": "Shoes", "unit_amount": { "currency_code": "USD", "value": "45.00" }, "tax": { "currency_code": "USD", "value": "5.00" }, "quantity": "2", "description": "Running, Size 10.5", "sku": "sku02", "category": "PHYSICAL_GOODS" } ], "shipping": { "method": "United States Postal Service", "name": { "full_name": "John Doe" }, "address": { "address_line_1": "123 Townsend St", "address_line_2": "Floor 6", "admin_area_2": "San Francisco", "admin_area_1": "CA", "postal_code": "94107", "country_code": "US" } } } ], "create_time": "2024-12-23T02:17:33Z", "links": [ { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/4KL67822BF1354607", "rel": "self", "method": "GET" }, { "href": "https:\/\/www.paypal.com\/checkoutnow?token=4KL67822BF1354607", "rel": "approve", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/4KL67822BF1354607", "rel": "update", "method": "PATCH" }, { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/4KL67822BF1354607\/capture", "rel": "capture", "method": "POST" } ] }