PayPal · Schema

Return Details

The return details for the product.

BillingCommerceDisputesInvoicesOrdersPaymentsPayoutsSubscriptionsTokensWebhooks

Properties

Name Type Description
return_time object The date and time when the product was returned, [Internet date and time format](http://tools.ietf.org/html/rfc3339#section-5.6).
mode string The method that the customer used to return the product.
receipt boolean Indicates whether customer has the return receipt.
return_confirmation_number string The confirmation number for the item return.
returned boolean If `true`, indicates that the item was returned but the seller refused to accept the return and if `false`, indicates the item was not attempted to return.
View JSON Schema on GitHub

JSON Schema

paypal-return-details-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/return_details",
  "title": "Return Details",
  "type": "object",
  "description": "The return details for the product.",
  "properties": {
    "return_time": {
      "$ref": "#/components/schemas/date_time",
      "description": "The date and time when the product was returned, [Internet date and time format](http://tools.ietf.org/html/rfc3339#section-5.6)."
    },
    "mode": {
      "description": "The method that the customer used to return the product.",
      "type": "string",
      "minLength": 1,
      "maxLength": 255,
      "pattern": "^[A-Z_]+$",
      "enum": [
        "SHIPPED",
        "IN_PERSON"
      ]
    },
    "receipt": {
      "type": "boolean",
      "description": "Indicates whether customer has the return receipt."
    },
    "return_confirmation_number": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255,
      "pattern": "^[A-Za-z0-9:\\-]+$",
      "description": "The confirmation number for the item return."
    },
    "returned": {
      "description": "If `true`, indicates that the item was returned but the seller refused to accept the return and if `false`, indicates the item was not attempted to return.",
      "type": "boolean"
    }
  }
}