{"_id":"59df6a573b756800107b2089","category":{"_id":"59df6a523b756800107b202b","version":"59df6a523b756800107b201e","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"},"user":"560d5913af97231900938124","parentDoc":null,"project":"57336fd5a6a9c40e00e13a0b","version":{"_id":"59df6a523b756800107b201e","project":"57336fd5a6a9c40e00e13a0b","__v":1,"createdAt":"2017-10-12T13:12:50.128Z","releaseDate":"2017-10-12T13:12:50.128Z","categories":["59df6a523b756800107b201f","59df6a523b756800107b2020","59df6a523b756800107b2021","59df6a523b756800107b2022","59df6a523b756800107b2023","59df6a523b756800107b2024","59df6a523b756800107b2025","59df6a523b756800107b2026","59df6a523b756800107b2027","59df6a523b756800107b2028","59df6a523b756800107b2029","59df6a523b756800107b202a","59df6a523b756800107b202b","59df6a523b756800107b202c","59df6a523b756800107b202d","59df6a523b756800107b202e"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.23 Release","version_clean":"8976.0.0-XML","version":"8976-XML"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-06-21T18:00:15.670Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":18,"body":"###Request\nN/A\n\n###Response\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Property Name\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Description\",\n    \"0-0\": \"`payment-method`\",\n    \"0-2\": \"Payment method used for the shopper's most recent purchase. \\n\\nValue can be:\\n* APPLE_PAY\\n* CC\\n* ECP\\n* PAYPAL\\n* SEPA_DIRECT_DEBIT\",\n    \"0-1\": \"*string*\",\n    \"1-0\": \"`credit-card`\",\n    \"1-1\": \"container\",\n    \"1-2\": \"Container of [credit-card](doc:credit-card) properties.\\n\\nAppears only if the last payment method was a credit card.\",\n    \"2-0\": \"`ecp`\",\n    \"2-1\": \"container\",\n    \"2-2\": \"Container of ECP properties, including: \\n * `account-type`\\n * `public-account-number`\\n * `public-routing-number`\\n\\nAppears only if the last payment method was ACH/ECP.\",\n    \"3-0\": \"`wallet`\",\n    \"3-1\": \"container\",\n    \"3-2\": \"Container of Apple Pay [wallet](doc:wallet) properties.\\n\\nAppears only if last payment method was APPLE_PAY.\",\n    \"4-0\": \"`sepa-direct-debit`\",\n    \"4-1\": \"container\",\n    \"4-2\": \"Container of [sepa-direct-debit](doc:sepa-direct-debit) properties\\n\\nAppears only if last payment method was SEPA_DIRECT_DEBIT.\"\n  },\n  \"cols\": 3,\n  \"rows\": 5\n}\n[/block]","excerpt":"Contains details about the payment method that the shopper used for their most recent purchase","slug":"last-payment-info","type":"basic","title":"last-payment-info"}

last-payment-info

Contains details about the payment method that the shopper used for their most recent purchase

Request

N/A

Response

Property Name
Type
Description

payment-method

string

Payment method used for the shopper's most recent purchase.

Value can be:

  • APPLE_PAY
  • CC
  • ECP
  • PAYPAL
  • SEPA_DIRECT_DEBIT

credit-card

container

Container of credit-card properties.

Appears only if the last payment method was a credit card.

ecp

container

Container of ECP properties, including:

  • account-type
  • public-account-number
  • public-routing-number

Appears only if the last payment method was ACH/ECP.

wallet

container

Container of Apple Pay wallet properties.

Appears only if last payment method was APPLE_PAY.

sepa-direct-debit

container

Container of sepa-direct-debit properties

Appears only if last payment method was SEPA_DIRECT_DEBIT.