PayPal · Schema

ApplePay payment request object

Information needed to pay using ApplePay.

BillingCommerceDisputesInvoicesOrdersPaymentsPayoutsSubscriptionsTokensWebhooks

Properties

Name Type Description
id string ApplePay transaction identifier, this will be the unique identifier for this transaction provided by Apple. The pattern is defined by an external party and supports Unicode.
name object Name on the account holder associated with apple pay.
email_address object The email address of the account holder associated with apple pay.
phone_number object The phone number, in its canonical international [E.164 numbering plan format](https://www.itu.int/rec/T-REC-E.164/en). Supports only the `national_number` property.
decrypted_token object The decrypted payload details for the apple pay token.
stored_credential object
vault_id object The PayPal-generated ID for the saved apple pay payment_source. This ID should be stored on the merchant's server so the saved payment source can be used for future transactions.
attributes object
View JSON Schema on GitHub

JSON Schema

paypal-apple-pay-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/apple_pay_request",
  "title": "ApplePay payment request object",
  "type": "object",
  "description": "Information needed to pay using ApplePay.",
  "properties": {
    "id": {
      "description": "ApplePay transaction identifier, this will be the unique identifier for this transaction provided by Apple. The pattern is defined by an external party and supports Unicode.",
      "type": "string",
      "minLength": 1,
      "maxLength": 250,
      "pattern": "^.*$"
    },
    "name": {
      "description": "Name on the account holder associated with apple pay.",
      "$ref": "#/components/schemas/full_name"
    },
    "email_address": {
      "description": "The email address of the account holder associated with apple pay.",
      "$ref": "#/components/schemas/email_address"
    },
    "phone_number": {
      "description": "The phone number, in its canonical international [E.164 numbering plan format](https://www.itu.int/rec/T-REC-E.164/en). Supports only the `national_number` property.",
      "$ref": "#/components/schemas/phone"
    },
    "decrypted_token": {
      "description": "The decrypted payload details for the apple pay token.",
      "$ref": "#/components/schemas/apple_pay_decrypted_token_data"
    },
    "stored_credential": {
      "$ref": "#/components/schemas/card_stored_credential"
    },
    "vault_id": {
      "description": "The PayPal-generated ID for the saved apple pay payment_source. This ID should be stored on the merchant's server so the saved payment source can be used for future transactions.",
      "$ref": "#/components/schemas/vault_id"
    },
    "attributes": {
      "$ref": "#/components/schemas/apple_pay_attributes"
    }
  }
}