{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","settings":"","results":{"codes":[]},"params":[]},"next":{"description":"","pages":[]},"title":"paymentSource","type":"basic","slug":"payment-source","excerpt":"Contains payment information for subscriptions","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\\n* `pfToken` *string* - Required if using [Hosted Payment Fields](https://developers.bluesnap.com/v8976-Tools/docs/hosted-payment-fields) or [Embedded Checkout](https://developers.bluesnap.com/v8976-Tools/docs/embedded-checkout). Do not include `creditCard` object if using this token.\",\n    \"0-2\": \"**Required** for credit cards\",\n    \"2-0\": \"`sepaDirectDebitInfo`\",\n    \"2-1\": \"*object*\",\n    \"2-2\": \"**Required** for SEPA Direct Debit\",\n    \"2-3\": \"See [sepaDirectDebitInfo](doc:sepadirectdebitinfo).\",\n    \"1-0\": \"`ecpInfo`\",\n    \"1-1\": \"*object*\",\n    \"1-2\": \"**Required** for ACH/ECP\",\n    \"1-3\": \"See [ecpInfo](doc:ecp-info).\",\n    \"3-0\": \"`wallet`\",\n    \"3-1\": \"*object*\",\n    \"3-2\": \"**Required** for [Apple Pay](https://developers.bluesnap.com/docs/apple-pay) and [Google Pay™](https://developers.bluesnap.com/docs/google-pay)\",\n    \"3-3\": \"See [wallet](doc:wallet).\"\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\": \"`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    \"2-0\": \"`sepaDirectDebitInfo`\",\n    \"2-1\": \"*object*\",\n    \"2-2\": \"See [sepaDirectDebitInfo](doc:sepadirectdebitinfo).\",\n    \"1-0\": \"`ecpInfo`\",\n    \"1-1\": \"*object*\",\n    \"1-2\": \"See [ecpInfo](doc:ecp-info).\",\n    \"3-0\": \"`wallet`\",\n    \"3-1\": \"*object*\",\n    \"3-2\": \"See [wallet](doc:wallet).\"\n  },\n  \"cols\": 3,\n  \"rows\": 4\n}\n[/block]","updates":[],"order":30,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5ff39c12e2e8fa00503ad575","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"JSON Objects","slug":"resources","order":15,"from_sync":false,"reference":false,"_id":"5ff39c12e2e8fa00503ad538","version":"5ff39c12e2e8fa00503ad5e4","project":"57336fd5a6a9c40e00e13a0b","createdAt":"2015-10-15T16:20:51.519Z","__v":0},"project":"57336fd5a6a9c40e00e13a0b","parentDoc":null,"user":"560d5913af97231900938124","version":{"version":"8976-JSON","version_clean":"8976.0.0-JSON","codename":"3.36.1 Release","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5ff39c12e2e8fa00503ad52d","5ff39c12e2e8fa00503ad52e","5ff39c12e2e8fa00503ad52f","5ff39c12e2e8fa00503ad530","5ff39c12e2e8fa00503ad531","5ff39c12e2e8fa00503ad532","5ff39c12e2e8fa00503ad533","5ff39c12e2e8fa00503ad534","5ff39c12e2e8fa00503ad535","5ff39c12e2e8fa00503ad536","5ff39c12e2e8fa00503ad537","5ff39c12e2e8fa00503ad538","5ff39c12e2e8fa00503ad539","5ff39c12e2e8fa00503ad53a","5ff39c12e2e8fa00503ad53b","5ff39c12e2e8fa00503ad53c","5ff39c12e2e8fa00503ad53d","5ff39c12e2e8fa00503ad53e","5ff39c12e2e8fa00503ad53f"],"_id":"5ff39c12e2e8fa00503ad5e4","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"5fc6c6094cb8fa066b0d2ea3","createdAt":"2018-04-24T15:22:41.561Z","releaseDate":"2018-04-24T15:22:41.561Z"},"createdAt":"2016-07-27T11:30:56.000Z","githubsync":"","__v":0}

paymentSource

Contains payment information for subscriptions

Request

Property Name
Type
Required
Description

creditCardInfo

object

Required for credit cards

Object containing the following:

ecpInfo

object

Required for ACH/ECP

See ecpInfo.

sepaDirectDebitInfo

object

Required for SEPA Direct Debit

wallet

object

Required for Apple Pay and Google Pay™

See wallet.

Response

Property Name
Type
Description

creditCardInfo

object

Object containing the following:

ecpInfo

object

See ecpInfo.

sepaDirectDebitInfo

object

wallet

object

See wallet.