{"_id":"5bcf37dfadc5b905136a3969","category":{"_id":"5bcf37dfadc5b905136a395e","version":"5bcf37dfadc5b905136a39f4","project":"57336fd5a6a9c40e00e13a0b","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-15T16:20:51.519Z","from_sync":false,"order":12,"slug":"resources","title":"Resources"},"project":"57336fd5a6a9c40e00e13a0b","user":"560d5913af97231900938124","parentDoc":null,"version":{"_id":"5bcf37dfadc5b905136a39f4","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"5b8ec61584303f0003a1159b","createdAt":"2018-04-24T15:24:22.608Z","releaseDate":"2018-04-24T15:24:22.608Z","categories":["5bcf37dfadc5b905136a3952","5bcf37dfadc5b905136a3953","5bcf37dfadc5b905136a3954","5bcf37dfadc5b905136a3955","5bcf37dfadc5b905136a3956","5bcf37dfadc5b905136a3957","5bcf37dfadc5b905136a3958","5bcf37dfadc5b905136a3959","5bcf37dfadc5b905136a395a","5bcf37dfadc5b905136a395b","5bcf37dfadc5b905136a395c","5bcf37dfadc5b905136a395d","5bcf37dfadc5b905136a395e","5bcf37dfadc5b905136a395f","5bcf37dfadc5b905136a3960","5bcf37dfadc5b905136a3961"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.27.2 Release","version_clean":"8976.0.0-XML","version":"8976-XML"},"githubsync":"","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-05-08T18:03:11.939Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":2,"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\": \"`encoded-payment-token`\",\n    \"0-1\": \"*string*\",\n    \"0-2\": \"**Required**\",\n    \"0-3\": \"Base64 encoded payment token. See [Apple Pay Guide](/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\": \"`card-last-four-digits`\",\n    \"0-1\": \"*string*\",\n    \"0-2\": \"Last four digits of the credit card.\",\n    \"1-0\": \"`card-type`\",\n    \"1-1\": \"*string*\",\n    \"1-2\": \"Credit card type.\",\n    \"2-0\": \"`card-sub-type`\",\n    \"2-1\": \"*string*\",\n    \"2-2\": \"Credit card sub-type, such as Credit or Debit.\",\n    \"3-0\": \"`dpan-last-four-digits`\",\n    \"3-1\": \"*string*\",\n    \"3-2\": \"Last four digits of device account number.\",\n    \"4-0\": \"`dpan-expiration-month`\",\n    \"4-1\": \"*string*\",\n    \"4-2\": \"Expiration month of the device account number.\",\n    \"5-0\": \"`dpan-expiration-year`\",\n    \"5-1\": \"*string*\",\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":"apple-pay","type":"basic","title":"apple-pay"}

apple-pay

Contains wallet information for Apple Pay

Request

Property Name
Type
Required
Description

encoded-payment-token

string

Required

Base64 encoded payment token. See Apple Pay Guide.

Response

Property Name
Type
Description

card-last-four-digits

string

Last four digits of the credit card.

card-type

string

Credit card type.

card-sub-type

string

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

dpan-last-four-digits

string

Last four digits of device account number.

dpan-expiration-month

string

Expiration month of the device account number.

dpan-expiration-year

string

Expiration year of the device account number.