{"_id":"59a45d467ee621000fc9d416","category":{"_id":"59a45d447ee621000fc9d3c4","version":"59a45d437ee621000fc9d3b7","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"},"user":"560d5913af97231900938124","parentDoc":null,"project":"57336fd5a6a9c40e00e13a0b","version":{"_id":"59a45d437ee621000fc9d3b7","project":"57336fd5a6a9c40e00e13a0b","__v":1,"createdAt":"2017-08-28T18:13:23.840Z","releaseDate":"2017-08-28T18:13:23.840Z","categories":["59a45d447ee621000fc9d3b8","59a45d447ee621000fc9d3b9","59a45d447ee621000fc9d3ba","59a45d447ee621000fc9d3bb","59a45d447ee621000fc9d3bc","59a45d447ee621000fc9d3bd","59a45d447ee621000fc9d3be","59a45d447ee621000fc9d3bf","59a45d447ee621000fc9d3c0","59a45d447ee621000fc9d3c1","59a45d447ee621000fc9d3c2","59a45d447ee621000fc9d3c3","59a45d447ee621000fc9d3c4","59a45d447ee621000fc9d3c5","59a45d447ee621000fc9d3c6","59a45d447ee621000fc9d3c7"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.22.1","version_clean":"8976.0.0-XML","version":"8976-XML"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-01-05T20:39:03.125Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":59,"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`\",\n    \"0-1\": \"container\",\n    \"h-3\": \"Description\",\n    \"0-3\": \"Container of [credit-card](doc:credit-card) properties.\",\n    \"1-0\": \"`billing-contact-info`\",\n    \"1-1\": \"container\",\n    \"1-3\": \"Container of [billing-contact-info](doc:billing-contact-info) properties.\",\n    \"h-4\": \"Description\",\n    \"0-2\": \"**Required** if sending credit card data.\\n\\nDo not include if using Hosted Payment Fields.\",\n    \"1-2\": \"Optional\",\n    \"2-0\": \"`pf-token`\",\n    \"2-2\": \"**Required** if using [Hosted Payment Fields](/v4.0/docs/hosted-payment-fields).\\n\\nDo not include `credit-card` resource if using this token.\\n\\nRelevant only for [Create Vaulted Shopper](doc:create-vaulted-shopper) and [Update Vaulted Shopper](doc:update-vaulted-shopper).\",\n    \"2-1\": \"*string*\",\n    \"2-3\": \"Hosted Payment Fields token\"\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\": \"`credit-card`\",\n    \"0-1\": \"container\",\n    \"h-3\": \"Description\",\n    \"0-3\": \"Defines the type of transaction. Values can be:\\nAUTH_ONLY\\nAUTH_CAPTURE\\nCAPTURE\\nAUTH_REVERSAL\\nSee Transaction Types\",\n    \"1-0\": \"`billing-contact-info`\",\n    \"1-1\": \"container\",\n    \"1-3\": \"BlueSnap identifier for the transaction.\",\n    \"h-4\": \"Description\",\n    \"0-2\": \"Container of [credit-card](doc:credit-card) properties.\",\n    \"1-2\": \"Container of [billing-contact-info](doc:billing-contact-info) properties.\"\n  },\n  \"cols\": 3,\n  \"rows\": 2\n}\n[/block]","excerpt":"Contains the details for a specific credit card, along with billling information","slug":"credit-card-info","type":"basic","title":"credit-card-info"}

credit-card-info

Contains the details for a specific credit card, along with billling information

Request

Property Name
Type
Required
Description

credit-card

container

Required if sending credit card data.

Do not include if using Hosted Payment Fields.

Container of credit-card properties.

billing-contact-info

container

Optional

Container of billing-contact-info properties.

pf-token

string

Required if using Hosted Payment Fields.

Do not include credit-card resource if using this token.

Relevant only for Create Vaulted Shopper and Update Vaulted Shopper.

Hosted Payment Fields token

Response

Property Name
Type
Description

credit-card

container

Container of credit-card properties.

billing-contact-info

container

Container of billing-contact-info properties.