{"_id":"59a45d2cd12e81000f842f48","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"},"project":"57336fd5a6a9c40e00e13a0b","parentDoc":null,"user":"560d5913af97231900938124","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":"2016-07-27T11:30:56.000Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":66,"body":"###Request\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Property Name\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Required\",\n    \"0-0\": \"`creditCardInfo`\",\n    \"0-1\": \"*object*\",\n    \"h-3\": \"Description\",\n    \"0-3\": \"Object containing the following:\\n\\n  * [billingContactInfo](doc:billing-contact-info) *object* optional\\n\\n  * [creditCard](doc:credit-card) *object*\",\n    \"0-2\": \"**Required** for credit cards, MasterPass, and Visa Checkout\",\n    \"1-0\": \"`wallet`\",\n    \"1-1\": \"*object*\",\n    \"1-2\": \"**Required** for Apple Pay\",\n    \"1-3\": \"See [wallet](doc:wallet).\",\n    \"2-0\": \"`sepaDirectDebitInfo`\",\n    \"2-1\": \"*object*\",\n    \"2-2\": \"**Required** for SEPA Direct Debit\",\n    \"2-3\": \"Object containing the following: \\n\\n  * [billingContactInfo](doc:billing-contact-info) *object* optional\\n  * [sepaDirectDebit](doc:sepadirectdebit) *object* **required**\"\n  },\n  \"cols\": 4,\n  \"rows\": 3\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\": \"`creditCardInfo`\",\n    \"0-1\": \"*object*\",\n    \"0-2\": \"Object containing the following:\\n \\n  * [billingContactInfo](doc:billing-contact-info) *object* \\n\\n  * [creditCard](doc:credit-card) *object*\",\n    \"1-0\": \"`wallet`\",\n    \"1-1\": \"*object*\",\n    \"1-2\": \"See [wallet](doc:wallet).\",\n    \"2-0\": \"`sepaDirectDebitInfo`\",\n    \"2-1\": \"*object*\",\n    \"2-2\": \"Object containing the following: \\n\\n  * [billingContactInfo](doc:billing-contact-info) *object* \\n  * [sepaDirectDebit](doc:sepadirectdebit) *object*\"\n  },\n  \"cols\": 3,\n  \"rows\": 3\n}\n[/block]","excerpt":"Contains payment information for subscriptions","slug":"payment-source","type":"basic","title":"paymentSource"}

paymentSource

Contains payment information for subscriptions

Request

Property Name
Type
Required
Description

creditCardInfo

object

Required for credit cards, MasterPass, and Visa Checkout

Object containing the following:

wallet

object

Required for Apple Pay

See wallet.

sepaDirectDebitInfo

object

Required for SEPA Direct Debit

Object containing the following:

Response

Property Name
Type
Description

creditCardInfo

object

Object containing the following:

wallet

object

See wallet.

sepaDirectDebitInfo

object

Object containing the following: