PayPal · Example Payload

Paypal Ordersconfirm Example

BillingCommerceDisputesInvoicesOrdersPaymentsPayoutsSubscriptionsTokensWebhooks

Paypal Ordersconfirm Example is an example object payload from PayPal, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "orders.confirm",
  "method": "POST",
  "path": "/v2/checkout/orders/{id}/confirm-payment-source",
  "summary": "Paypal Confirm the Order",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "confirm_order_request",
      "example": {
        "payment_source": {
          "paypal": {
            "name": {
              "given_name": "John",
              "surname": "Doe"
            },
            "email_address": "customer@example.com",
            "experience_context": {
              "payment_method_preference": "IMMEDIATE_PAYMENT_REQUIRED",
              "payment_method_selected": "PAYPAL",
              "brand_name": "EXAMPLE INC",
              "locale": "en-US",
              "landing_page": "LOGIN",
              "shipping_preference": "SET_PROVIDED_ADDRESS",
              "user_action": "PAY_NOW",
              "return_url": "https://example.com/returnUrl",
              "cancel_url": "https://example.com/cancelUrl"
            }
          }
        }
      }
    }
  ],
  "responseExamples": []
}