{"_id":"5bedd214812951004a2ad98f","category":{"_id":"5bedd214812951004a2ad94e","version":"5bedd214812951004a2ad9df","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"},"user":"560d5913af97231900938124","project":"57336fd5a6a9c40e00e13a0b","parentDoc":null,"version":{"_id":"5bedd214812951004a2ad9df","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"5bcf36ac4eaaa605217d94b8","createdAt":"2018-04-24T15:22:41.561Z","releaseDate":"2018-04-24T15:22:41.561Z","categories":["5bedd214812951004a2ad943","5bedd214812951004a2ad944","5bedd214812951004a2ad945","5bedd214812951004a2ad946","5bedd214812951004a2ad947","5bedd214812951004a2ad948","5bedd214812951004a2ad949","5bedd214812951004a2ad94a","5bedd214812951004a2ad94b","5bedd214812951004a2ad94c","5bedd214812951004a2ad94d","5bedd214812951004a2ad94e","5bedd214812951004a2ad94f","5bedd214812951004a2ad950","5bedd214812951004a2ad951"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.28 Release","version_clean":"8976.0.0-JSON","version":"8976-JSON"},"githubsync":"","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-01-06T13:15:19.038Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":25,"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\": \"*array* \",\n    \"h-3\": \"Description\",\n    \"0-3\": \"Array containing the following for each payment source (there may be multiple payment sources):\\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 credit-card resource if using this token. Relevant only for [Create Vaulted Shopper](doc:create-vaulted-shopper) and [Update Vaulted Shopper](doc:update-vaulted-shopper).\\n\\n* `status` *string* Enter **D** to delete the card from the shopper.\\n\\n**Note:** If `status` is included in the request, specify the card to be deleted by including `cardType` and `cardLastFourDigits` within `creditCard`.\",\n    \"0-2\": \"Optional\",\n    \"1-0\": \"`ecpDetails`\",\n    \"1-1\": \"*array*\",\n    \"1-2\": \"Optional\",\n    \"1-3\": \"Array containing the ecp detail properties. See [ecpDetails](doc:ecpdetails).\",\n    \"2-0\": \"`sepaDirectDebitInfo`\",\n    \"2-1\": \"*array*\",\n    \"2-2\": \"Optional\",\n    \"2-3\": \"Array containing the following for each payment source (there may be multiple payment sources):\\n\\n* [billingContactInfo](doc:billing-contact-info) \\n*object* optional\\n\\n* [sepaDirectDebit](doc:sepadirectdebit) *object* optional\",\n    \"3-0\": \"`ecpInfo`\",\n    \"3-1\": \"*object*\",\n    \"3-2\": \"Optional\",\n    \"3-3\": \"Contains information about the ACH/ECP account. See [ecpInfo](doc:ecp-info).\\n\\n**Note: ** This is deprecated as of API v3.0.\"\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\": \"*array* \",\n    \"0-2\": \"Array containing the following for each payment source (there may be multiple payment sources):\\n\\n* [billingContactInfo](doc:billing-contact-info) *object* optional\\n\\n* [creditCard](doc:credit-card) *object*\\n \\n* [processingInfo](doc:processing-info) *object*\",\n    \"1-2\": \"Array containing the ecp detail properties. See [ecpDetails](doc:ecpdetails).\",\n    \"1-1\": \"*array*\",\n    \"1-0\": \"`ecpDetails`\",\n    \"2-0\": \"`sepaDirectDebitInfo`\",\n    \"2-1\": \"*array*\",\n    \"2-2\": \"Array containing the following for each payment source (there may be multiple payment sources):\\n\\n* [billingContactInfo](doc:billing-contact-info) \\n*object* optional\\n\\n* [sepaDirectDebit](doc:sepadirectdebit) *object* optional\",\n    \"3-0\": \"`ecpInfo`\",\n    \"3-1\": \"*object*\",\n    \"3-2\": \"Contains information about the ACH/ECP account. See [ecpInfo](doc:ecp-info).\\n\\n**Note: ** This is deprecated as of API v3.0.\"\n  },\n  \"cols\": 3,\n  \"rows\": 4\n}\n[/block]","excerpt":"Contains payment source information for vaulted shoppers","slug":"payment-sources","type":"basic","title":"paymentSources"}

paymentSources

Contains payment source information for vaulted shoppers

Request

Property Name
Type
Required
Description

creditCardInfo

array

Optional

Array containing the following for each payment source (there may be multiple payment sources):

Note: If status is included in the request, specify the card to be deleted by including cardType and cardLastFourDigits within creditCard.

ecpDetails

array

Optional

Array containing the ecp detail properties. See ecpDetails.

sepaDirectDebitInfo

array

Optional

Array containing the following for each payment source (there may be multiple payment sources):

ecpInfo

object

Optional

Contains information about the ACH/ECP account. See ecpInfo.

Note: This is deprecated as of API v3.0.

Response

Property Name
Type
Description

creditCardInfo

array

Array containing the following for each payment source (there may be multiple payment sources):

ecpDetails

array

Array containing the ecp detail properties. See ecpDetails.

sepaDirectDebitInfo

array

Array containing the following for each payment source (there may be multiple payment sources):

ecpInfo

object

Contains information about the ACH/ECP account. See ecpInfo.

Note: This is deprecated as of API v3.0.