{"_id":"59a45d2cd12e81000f842f37","category":{"_id":"59a45d2bd12e81000f842eee","version":"59a45d2bd12e81000f842ee2","project":"57336fd5a6a9c40e00e13a0b","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-15T16:20:51.519Z","from_sync":false,"order":11,"slug":"resources","title":"JSON Objects"},"user":"560d5913af97231900938124","project":"57336fd5a6a9c40e00e13a0b","parentDoc":null,"version":{"_id":"59a45d2bd12e81000f842ee2","project":"57336fd5a6a9c40e00e13a0b","__v":1,"createdAt":"2017-08-28T18:12:59.168Z","releaseDate":"2017-08-28T18:12:59.168Z","categories":["59a45d2bd12e81000f842ee3","59a45d2bd12e81000f842ee4","59a45d2bd12e81000f842ee5","59a45d2bd12e81000f842ee6","59a45d2bd12e81000f842ee7","59a45d2bd12e81000f842ee8","59a45d2bd12e81000f842ee9","59a45d2bd12e81000f842eea","59a45d2bd12e81000f842eeb","59a45d2bd12e81000f842eec","59a45d2bd12e81000f842eed","59a45d2bd12e81000f842eee","59a45d2bd12e81000f842eef","59a45d2bd12e81000f842ef0","59a45d2bd12e81000f842ef1"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.22.1","version_clean":"8976.0.0-JSON","version":"8976-JSON"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-05-05T19:00:58.946Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":49,"body":"###Request\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Property Name\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Required\",\n    \"h-3\": \"Description\",\n    \"0-0\": \"`encodedPaymentToken`\",\n    \"0-1\": \"*string*\",\n    \"0-2\": \"**Required**\",\n    \"0-3\": \"Base64 encoded payment token. See [Apple Pay Guide](/v1.0/docs/apple-pay#section-implementing-apple-pay-in-your-website-or-ios-app).\"\n  },\n  \"cols\": 4,\n  \"rows\": 1\n}\n[/block]\n###Response\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Property Name\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Description\",\n    \"0-0\": \"`cardLastFourDigits`\",\n    \"0-1\": \"*string*\",\n    \"0-2\": \"Last four digits of the credit card.\",\n    \"1-0\": \"`cardType`\",\n    \"1-1\": \"*string*\",\n    \"1-2\": \"Credit card type.\",\n    \"2-0\": \"`cardSubType`\",\n    \"2-1\": \"*string*\",\n    \"2-2\": \"Credit card sub-type, such as Credit or Debit.\",\n    \"3-0\": \"`dpanLastFourDigits`\",\n    \"3-1\": \"*string*\",\n    \"3-2\": \"Last four digits of device account number.\",\n    \"5-0\": \"`dpanExpirationYear`\",\n    \"5-1\": \"*string*\",\n    \"4-0\": \"`dpanExpirationMonth`\",\n    \"4-1\": \"*string*\",\n    \"4-2\": \"Expiration month of the device account number.\",\n    \"5-2\": \"Expiration year of the device account number.\"\n  },\n  \"cols\": 3,\n  \"rows\": 6\n}\n[/block]","excerpt":"Contains wallet information for Apple Pay","slug":"applepay","type":"basic","title":"applePay"}

applePay

Contains wallet information for Apple Pay

Request

Property Name
Type
Required
Description

encodedPaymentToken

string

Required

Base64 encoded payment token. See Apple Pay Guide.

Response

Property Name
Type
Description

cardLastFourDigits

string

Last four digits of the credit card.

cardType

string

Credit card type.

cardSubType

string

Credit card sub-type, such as Credit or Debit.

dpanLastFourDigits

string

Last four digits of device account number.

dpanExpirationMonth

string

Expiration month of the device account number.

dpanExpirationYear

string

Expiration year of the device account number.