{"_id":"5b8ec61584303f0003a1152b","category":{"_id":"5b8ec61584303f0003a11508","version":"5b8ec61584303f0003a1159b","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"},"parentDoc":null,"project":"57336fd5a6a9c40e00e13a0b","user":"560d5913af97231900938124","version":{"_id":"5b8ec61584303f0003a1159b","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"5b1973ec0059c20003083ec0","createdAt":"2018-04-24T15:24:22.608Z","releaseDate":"2018-04-24T15:24:22.608Z","categories":["5b8ec61584303f0003a114fc","5b8ec61584303f0003a114fd","5b8ec61584303f0003a114fe","5b8ec61584303f0003a114ff","5b8ec61584303f0003a11500","5b8ec61584303f0003a11501","5b8ec61584303f0003a11502","5b8ec61584303f0003a11503","5b8ec61584303f0003a11504","5b8ec61584303f0003a11505","5b8ec61584303f0003a11506","5b8ec61584303f0003a11507","5b8ec61584303f0003a11508","5b8ec61584303f0003a11509","5b8ec61584303f0003a1150a","5b8ec61584303f0003a1150b"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.27 Release","version_clean":"8976.0.0-XML","version":"8976-XML"},"githubsync":"","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-07-27T11:30:56.000Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":26,"body":"###Request\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Property Name\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Required\",\n    \"0-0\": \"`credit-card-info`\",\n    \"0-1\": \"container\",\n    \"h-3\": \"Description\",\n    \"0-3\": \"Container of [credit-card-info](doc:credit-card-info) properties.\",\n    \"0-2\": \"**Required** for credit cards\",\n    \"3-0\": \"`wallet`\",\n    \"3-1\": \"container\",\n    \"3-2\": \"**Required** for Apple Pay and Google Pay™\",\n    \"3-3\": \"See [wallet](doc:wallet).\",\n    \"2-0\": \"`sepa-direct-debit-info`\",\n    \"2-1\": \"container\",\n    \"2-2\": \"**Required** for SEPA Direct Debit\",\n    \"2-3\": \"Container of [sepa-direct-debit-info](doc:sepa-direct-debit-info) properties.\",\n    \"1-0\": \"`ecp-info`\",\n    \"1-1\": \"container\",\n    \"1-2\": \"**Required** for ACH/ECP\",\n    \"1-3\": \"Container of [ecp-info](doc:ecp-info) properties.\"\n  },\n  \"cols\": 4,\n  \"rows\": 4\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\": \"`credit-card-info`\",\n    \"0-1\": \"container\",\n    \"0-2\": \"Container of [credit-card-info](doc:credit-card-info) properties.\",\n    \"3-0\": \"`wallet`\",\n    \"3-1\": \"container\",\n    \"3-2\": \"See [wallet](doc:wallet).\",\n    \"2-0\": \"`sepa-direct-debit-info`\",\n    \"2-1\": \"container\",\n    \"2-2\": \"Container of [sepa-direct-debit-info](doc:sepa-direct-debit-info) properties.\",\n    \"1-0\": \"`ecp-info`\",\n    \"1-1\": \"container\",\n    \"1-2\": \"Container of [ecp-info](doc:ecp-info) properties.\"\n  },\n  \"cols\": 3,\n  \"rows\": 4\n}\n[/block]","excerpt":"Contains payment information for subscriptions","slug":"payment-source","type":"basic","title":"payment-source"}

payment-source

Contains payment information for subscriptions

Request

Property Name
Type
Required
Description

credit-card-info

container

Required for credit cards

Container of credit-card-info properties.

ecp-info

container

Required for ACH/ECP

Container of ecp-info properties.

sepa-direct-debit-info

container

Required for SEPA Direct Debit

Container of sepa-direct-debit-info properties.

wallet

container

Required for Apple Pay and Google Pay™

See wallet.

Response

Property Name
Type
Description

credit-card-info

container

Container of credit-card-info properties.

ecp-info

container

Container of ecp-info properties.

sepa-direct-debit-info

container

Container of sepa-direct-debit-info properties.

wallet

container

See wallet.