{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","settings":"","results":{"codes":[]},"params":[]},"next":{"description":"","pages":[]},"title":"credit-card-info","type":"basic","slug":"credit-card-info","excerpt":"Contains the details for a specific credit card, along with billling information","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**\",\n    \"1-2\": \"**Required**\",\n    \"2-2\": \"**Required** if using [Hosted Payment Fields](/v8976-Tools/docs/hosted-payment-fields).\\n\\nDo not include `credit-card` resource if using this token.\",\n    \"2-0\": \"`pf-token`\",\n    \"2-1\": \"*string*\",\n    \"2-3\": \"Hosted Payment Fields token.\",\n    \"3-0\": \"`status`\",\n    \"3-1\": \"*string*\",\n    \"3-2\": \"Optional\",\n    \"3-3\": \"Enter **D** to delete the card from the shopper. \\n\\n**Note:** Specify the card to be deleted by including `card-type` and `card-last-four-digits` within `credit-card`.\"\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\": \"`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]","updates":[],"order":29,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5c742637ad58c70033b9c6f8","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Resources","slug":"resources","order":8,"from_sync":false,"reference":false,"_id":"5c742637ad58c70033b9c6a1","version":"5c742637ad58c70033b9c762","project":"57336fd5a6a9c40e00e13a0b","createdAt":"2015-10-15T16:20:51.519Z","__v":0},"user":"560d5913af97231900938124","parentDoc":null,"project":"57336fd5a6a9c40e00e13a0b","version":{"version":"8976-Extended","version_clean":"8976.0.0-Extended","codename":"Main","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5c742637ad58c70033b9c699","5c742637ad58c70033b9c69a","5c742637ad58c70033b9c69b","5c742637ad58c70033b9c69c","5c742637ad58c70033b9c69d","5c742637ad58c70033b9c69e","5c742637ad58c70033b9c69f","5c742637ad58c70033b9c6a0","5c742637ad58c70033b9c6a1","5c742637ad58c70033b9c6a2","5c742637ad58c70033b9c6a3"],"_id":"5c742637ad58c70033b9c762","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"5bedbcf19b49e8004462d199","createdAt":"2018-04-24T15:33:45.744Z","releaseDate":"2018-04-24T15:33:45.744Z"},"createdAt":"2016-01-05T20:39:03.125Z","githubsync":"","__v":0}

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

Container of credit-card properties.

billing-contact-info

container

Required

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.

Hosted Payment Fields token.

status

string

Optional

Enter D to delete the card from the shopper.

Note: Specify the card to be deleted by including card-type and card-last-four-digits within credit-card.

Response

Property Name
Type
Description

credit-card

container

Container of credit-card properties.

billing-contact-info

container

Container of billing-contact-info properties.