PayPal · Schema

subscriptions.create-422

BillingCommerceDisputesInvoicesOrdersPaymentsPayoutsSubscriptionsTokensWebhooks

Properties

Name Type Description
details array
View JSON Schema on GitHub

JSON Schema

paypal-subscriptionscreate-422-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/subscriptions.create-422",
  "title": "subscriptions.create-422",
  "properties": {
    "details": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "title": "USER_ACCOUNT_CLOSED",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "USER_ACCOUNT_CLOSED"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "User account locked or closed."
                ]
              }
            }
          },
          {
            "title": "PLAN_STATUS_INVALID",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "PLAN_STATUS_INVALID"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "Invalid plan status for subscription creation; plan status should be active."
                ]
              }
            }
          },
          {
            "title": "SUBSCRIPTION_CANNOT_HAVE_QUANTITY",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "SUBSCRIPTION_CANNOT_HAVE_QUANTITY"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "Subscription can't have quantity as the plan does not support quantity."
                ]
              }
            }
          },
          {
            "title": "CARD_SUBSCRIPTIONS_NOT_ENABLED",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "CARD_SUBSCRIPTIONS_NOT_ENABLED"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "The account is not setup to be able to process subscriptions funded by card payments. Please contact PayPal customer support."
                ]
              }
            }
          },
          {
            "title": "3DS_CARDS_NOT_SUPPORTED",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "3DS_CARDS_NOT_SUPPORTED"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "Cards that require 3DS authentication not supported."
                ]
              }
            }
          },
          {
            "title": "INVALID_BILLING_CYCLE_SEQUENCE",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "INVALID_BILLING_CYCLE_SEQUENCE"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "The provided billing cycle sequence is not available."
                ]
              }
            }
          },
          {
            "title": "INVALID_PRICING_SCHEME",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "INVALID_PRICING_SCHEME"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "The override plan pricing scheme should be of the same type as that of the original plan."
                ]
              }
            }
          },
          {
            "title": "INVALID_PRICING_TIER_AMOUNT",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "INVALID_PRICING_TIER_AMOUNT"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "Free tiers are not supported."
                ]
              }
            }
          },
          {
            "title": "MISSING_PRICING_SCHEME_TIERS",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "MISSING_PRICING_SCHEME_TIERS"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "Tier(s) are missing for some quantities."
                ]
              }
            }
          },
          {
            "title": "OVERLAPPING_PRICING_SCHEME_TIERS",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "OVERLAPPING_PRICING_SCHEME_TIERS"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "The specified quantity overlaps with multiple pricing tiers."
                ]
              }
            }
          },
          {
            "title": "INVALID_PRICING_MODEL",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "INVALID_PRICING_MODEL"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "The specified pricing model is not supported for trial billing cycle."
                ]
              }
            }
          },
          {
            "title": "FIXED_PRICE_NOT_SUPPORTED",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "FIXED_PRICE_NOT_SUPPORTED"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "Fixed price is not supported for tiered pricing schemes."
                ]
              }
            }
          },
          {
            "title": "INVALID_PRICING_TIER_QUANTITY",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "INVALID_PRICING_TIER_QUANTITY"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "Tier starting quantity must be less than ending quantity."
                ]
              }
            }
          },
          {
            "title": "CURRENCY_MISMATCH",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "CURRENCY_MISMATCH"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "The currency code is different from the plan's currency code."
                ]
              }
            }
          }
        ]
      }
    }
  }
}