{"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":29,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5f43d7db37d54d01d8ef0812","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"JSON Objects","slug":"resources","order":14,"from_sync":false,"reference":false,"_id":"5f43d7db37d54d01d8ef07d6","version":"5f43d7db37d54d01d8ef0876","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.35 Release","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5f43d7db37d54d01d8ef07cb","5f43d7db37d54d01d8ef07cc","5f43d7db37d54d01d8ef07cd","5f43d7db37d54d01d8ef07ce","5f43d7db37d54d01d8ef07cf","5f43d7db37d54d01d8ef07d0","5f43d7db37d54d01d8ef07d1","5f43d7db37d54d01d8ef07d2","5f43d7db37d54d01d8ef07d3","5f43d7db37d54d01d8ef07d4","5f43d7db37d54d01d8ef07d5","5f43d7db37d54d01d8ef07d6","5f43d7db37d54d01d8ef07d7","5f43d7db37d54d01d8ef07d8","5f43d7db37d54d01d8ef07d9","5f43d7db37d54d01d8ef07da","5f43d7db37d54d01d8ef07db","5f45521ec5bfe9005a858533"],"_id":"5f43d7db37d54d01d8ef0876","project":"57336fd5a6a9c40e00e13a0b","__v":1,"forked_from":"5ed0377101fdb400214dedaa","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.