{"_id":"565d2cc52206890d00ba0578","version":{"_id":"55de36ec9067202b00de0015","__v":33,"project":"55dd0853d2d97337001800e2","createdAt":"2015-08-26T22:00:12.384Z","releaseDate":"2015-08-26T22:00:12.383Z","categories":["55de36ed9067202b00de0016","55de36ed9067202b00de0017","55de36ed9067202b00de0018","55df7dcd437b3f0d004ba204","55e4e014177b6e0d00333141","55e4e01fe252ac0d00303a99","55e4e05240cda60d003bad67","55e4e070177b6e0d00333142","55e4e0753325e60d007fbee6","55e4e0803325e60d007fbee7","55e4e086177b6e0d00333143","55e4e0a1177b6e0d00333144","55e4e0aa3325e60d007fbee8","55e4e0b140cda60d003bad6b","55e4e0bae252ac0d00303a9d","55e4e0c5177b6e0d00333145","55e4e0ee3325e60d007fbeea","55e4e0fae252ac0d00303a9e","55e4e100177b6e0d00333147","55f85c8ba3271b0d00498d55","56092e1ac5cff70d007d0131","564b64a3ee12850d0095866e","564b64b5791099170071e9ea","565cd0bfd18ae50d007183d8","565f5f5d6bafd40d0030a063","565f790d6bafd40d0030a09f","56611c464851190d003f9f5d","56637d5b7988ab0d00d0522e","56637d687988ab0d00d0522f","567835df6928b40d009dd650","56e59c043c29b117008dae5b","5704013559c5190e000ab646","572be252de40590e00026934","58af1bf6ebd7370f0078ba09","5cdad81d912ece0039e9a939"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.0.0","version":"3.0"},"__v":58,"parentDoc":null,"project":"55dd0853d2d97337001800e2","user":"55dd080d0efd5821000d53b3","category":{"_id":"55e4e0aa3325e60d007fbee8","pages":["55e5f1059416190d00dc3a49","55e9fe81c584fb2300291dcf","55e9feaab44f7b1700e4527b","55e9fef4c584fb2300291dd1","56093fe48aedf50d0004d01e","5609409b6d8c440d000c7a73","5609411a8aedf50d0004d020","5641517d25f31f0d00ae7997","565d2cc52206890d00ba0578","56e889c6ce05a20e0010f7f7"],"version":"55de36ec9067202b00de0015","__v":10,"project":"55dd0853d2d97337001800e2","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-08-31T23:18:02.019Z","from_sync":false,"order":11,"slug":"payments","title":"Payments"},"githubsync":"","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-12-01T05:14:45.769Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":true,"order":0,"body":"[block:callout]\n{\n  \"type\": \"success\",\n  \"title\": \"Accept payments\",\n  \"body\": \"The payment resource allows you to accept Card and Bank account payments.\"\n}\n[/block]\n## Request\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Embedded Card or Bank\",\n  \"body\": \"When using the \\\"card\\\" or \\\"bank\\\" object parameters, an associated Card or Bank resource will automatically be created and associated with the payment. The associated resource will appear in the payment response in the \\\"sourceType\\\" and \\\"sourceId\\\" parameters.\"\n}\n[/block]\n\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Parameter\",\n    \"h-1\": \"Specifications\",\n    \"0-0\": \"card\",\n    \"1-0\": \"bank\",\n    \"2-0\": \"tokenId\",\n    \"5-0\": \"amount\",\n    \"6-0\": \"currency\",\n    \"9-0\": \"description\",\n    \"10-0\": \"meta\",\n    \"0-1\": \"**Type**: JSON Object\\n**Format**: [Card](doc:the-card-resource) \\n**Description**: The card that is to be charged for this payment\",\n    \"1-1\": \"**Type**: JSON Object\\n**Format**: [Bank](doc:the-bank-resource) \\n**Description**: The bank that is to be charged for this payment\",\n    \"2-1\": \"**Type**: String\\n**Format**: [Token](doc:the-token-resource)  Id\\n**Description**: The id for the token that is to be charged for this payment\",\n    \"5-1\": \"**Type**: String\\n**Format**: Positive Decimal String\\n**Example**: \\\"10.00\\\"\\n**Description**: The requested payment amount as a decimal string.\",\n    \"6-1\": \"**Type**: String\\n**Format**: ISO4217 Currency Code\\n**Example**: \\\"USD\\\"\\n**Description**: The currency for the payment amount.\",\n    \"9-1\": \"**Type**: String\\n**Length**: 0-512 characters\\n**Description**: An optional short description that describes the reason for the refund.\",\n    \"10-1\": \"**Type**: JSON Object\\n**Format**: [Meta](doc:meta) \\n**Description**: An optional object to store custom data for the Payment.\",\n    \"3-1\": \"**Type**: String\\n**Format**: PayStand Id\\n**Description**: The PayStand Id for the card that is to be charged for this payment.\",\n    \"3-0\": \"cardId\",\n    \"4-0\": \"bankId\",\n    \"4-1\": \"**Type**: String\\n**Format**: PayStand Id\\n**Description**: The PayStand Id for the bank that is to be charged for this payment.\",\n    \"7-0\": \"payer\",\n    \"7-1\": \"**Type**: JSON Object\\n**Format**: Payer\\n**Description**: Payer information for this payment.\",\n    \"8-0\": \"payer.address\",\n    \"8-1\": \"**Type**: JSON Object\\n**Format**: [Address](doc:address) \\n**Description**: The billing address for this payer.\"\n  },\n  \"cols\": 2,\n  \"rows\": 11\n}\n[/block]\n## Response\n\nWith the exception of the \"card\" and \"bank\" parameters, all Request values are returned in the Response. In addition, the following parameters are also returned in a payment response.\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Payment source fund\",\n  \"body\": \"The Card or Bank payment source fund is returned in the \\\"sourceId\\\" and \\\"sourceType\\\" fields. For a card payment, \\\"sourceType\\\" will be \\\"Card\\\" and \\\"sourceId\\\" will be the id of the Card resource attributed to the payment. For a bank payment, the \\\"sourceType\\\" will be \\\"Bank\\\".\"\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Empty values\",\n  \"body\": \"Fees, holds, refunds, and disputes may not show in responses when the arrays are empty.\"\n}\n[/block]\n\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Parameter\",\n    \"h-1\": \"Description\",\n    \"0-0\": \"id\",\n    \"1-0\": \"object\",\n    \"2-0\": \"fees\",\n    \"2-1\": \"An array of Fees associated with the payment.\",\n    \"3-0\": \"holds\",\n    \"4-0\": \"refunds\",\n    \"5-0\": \"disputes\",\n    \"8-0\": \"sourceId\",\n    \"9-0\": \"sourceType\",\n    \"10-0\": \"status\",\n    \"11-0\": \"created\",\n    \"11-1\": \"The date the payment was created.\",\n    \"12-0\": \"lastUpdated\",\n    \"0-1\": \"The unique identifier for the payment.\",\n    \"12-1\": \"The date the payment was last updated.\",\n    \"1-1\": \"Will have value \\\"payment\\\" indicating that the object is a payment response.\",\n    \"10-1\": \"The current status of the payment. One of: \\\"created\\\", \\\"processing\\\", \\\"posted\\\", \\\"paid\\\", \\\"failed\\\"\",\n    \"9-1\": \"The payment source fund type. One of: \\\"Card\\\", \\\"Bank\\\"\",\n    \"8-1\": \"The payment source fund Id. Either a cardId or a bankId.\",\n    \"3-1\": \"An array of Holds associated with the payment.\",\n    \"4-1\": \"An array of Refunds associated with the payment.\",\n    \"5-1\": \"An array of Disputes associated with the payment.\",\n    \"7-0\": \"source\",\n    \"7-1\": \"Either the card or bank object used for this payment.\",\n    \"6-0\": \"tokenId\",\n    \"6-1\": \"Contains token id if payment is created with a token.\"\n  },\n  \"cols\": 2,\n  \"rows\": 13\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"card\\\": {..},\\n  \\\"bank\\\": {..},\\n  \\\"tokenId\\\": \\\"29u4m1vivkhgnxcwj02w7bp9\\\",\\n  \\\"amount\\\": \\\"10.20\\\",\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"description\\\": \\\"My PayStand Payment\\\",\\n  \\\"meta\\\": {\\n  \\t\\\"invoice\\\": \\\"number\\\"\\n  },\\n  \\\"payer\\\": {\\n  \\t\\\"name\\\": \\\"Christina Chan\\\",\\n    \\\"email\\\": \\\"cchan:::at:::paystand.com\\\"\\n  }\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Payment Request\"\n    }\n  ],\n  \"sidebar\": true\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"object\\\":\\\"payment\\\",\\n  \\\"id\\\":\\\"h3qo5rine8itrr43wfen2356\\\",\\n  \\\"amount\\\": \\\"20.37\\\",\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"description\\\": \\\"Public Card payment\\\",\\n  \\\"payer\\\": {\\n    \\\"name\\\": \\\"Jessica Lin\\\",\\n    \\\"email\\\": \\\"jessica.lin@paystand.com\\\",\\n    \\\"address\\\": {\\n    \\t\\\"street1\\\": \\\"123 test st\\\",\\n    \\t\\\"street2\\\": \\\"3g\\\",\\n    \\t\\\"city\\\": \\\"santa cruz\\\",\\n    \\t\\\"state\\\": \\\"CA\\\",\\n    \\t\\\"postalCode\\\": \\\"95060-55\\\",\\n    \\t\\\"country\\\": \\\"USA\\\"\\n  \\t}\\n  },\\n  \\\"fees\\\": [\\n    {..}\\n  ],\\n  \\\"holds\\\": [\\n    {..}\\n  ],\\n\\t\\\"source\\\": {\\n    \\\"object\\\": \\\"card\\\", // bank\\n    \\\"id\\\": \\\"4fmjngmtayyvlh7644btou15\\\",\\n    \\\"nameOnCard\\\": \\\"Christopher\\\",\\n    \\\"brand\\\": \\\"visa\\\",\\n    \\\"last4\\\": \\\"0077\\\",\\n    \\\"expirationMonth\\\": \\\"03\\\",\\n    \\\"expirationYear\\\": \\\"2019\\\",\\n    \\\"fingerprint\\\": \\\"2dx65pou90bkj7bt1zknhe40\\\",\\n    \\\"billingAddress\\\": {\\n      \\\"street1\\\": \\\"41 Grandview St Unit C\\\",\\n      \\\"city\\\": \\\"Santa Cruz\\\",\\n      \\\"state\\\": \\\"CA\\\",\\n      \\\"postalCode\\\": \\\"95060\\\",\\n      \\\"country\\\": \\\"USA\\\"\\n    },\\n    \\\"created\\\": \\\"2016-09-09T16:58:26.000Z\\\",\\n    \\\"lastUpdated\\\": \\\"2016-09-09T16:58:27.000Z\\\",\\n    \\\"status\\\": \\\"active\\\"\\n  },\\n  \\\"sourceId\\\": \\\"crjeild6qpfse3a09vhtxw\\\",\\n  \\\"sourceType\\\": \\\"Card\\\",\\n  \\\"status\\\": \\\"posted\\\",\\n  \\\"meta\\\": {\\n    \\\"clientPaymentId\\\": \\\"ee32fde87779458a8ef1ff\\\"\\n  },\\n  \\\"created\\\": \\\"2015-10-28T22:55:09.000Z\\\",\\n  \\\"lastUpdated\\\": \\\"2015-10-28T22:55:13.000Z\\\"\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Card Payment Response\"\n    }\n  ],\n  \"sidebar\": true\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"object\\\": \\\"payment\\\",\\n  \\\"id\\\": \\\"b7g54dvnhaqhou86bs6470gk\\\",\\n  \\\"amount\\\": \\\"15.00\\\",\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"payer\\\": {\\n    \\\"object\\\": \\\"customer\\\",\\n    \\\"id\\\": \\\"to7dh1ung3bwm79x4choo0fp\\\",\\n    \\\"name\\\": \\\"Chris\\\",\\n    \\\"email\\\": \\\"cchen+test@paystand.com\\\",\\n    \\\"address\\\": {\\n      \\\"street1\\\": \\\"41 Grandview St Unit D\\\",\\n      \\\"city\\\": \\\"Santa Cruz\\\",\\n      \\\"state\\\": \\\"CA\\\",\\n      \\\"postalCode\\\": \\\"95060\\\",\\n      \\\"country\\\": \\\"USA\\\"\\n    }\\n  },\\n  \\\"fees\\\": [\\n    {\\n      \\\"object\\\": \\\"fee\\\",\\n      \\\"id\\\": \\\"othhxycqmmbmp7y6ssrpik6c\\\",\\n      \\\"amount\\\": \\\"0.25\\\",\\n      \\\"currency\\\": \\\"USD\\\",\\n      \\\"resourceAmount\\\": \\\"15\\\",\\n      \\\"status\\\": \\\"active\\\",\\n      \\\"created\\\": \\\"2016-09-09T19:05:35.000Z\\\",\\n      \\\"lastUpdated\\\": \\\"2016-09-09T19:05:35.000Z\\\"\\n    }\\n  ],\\n  \\\"holds\\\": [\\n    {\\n      \\\"object\\\": \\\"hold\\\",\\n      \\\"id\\\": \\\"n3k1zi5020twipu81im2muet\\\",\\n      \\\"amount\\\": \\\"15.00\\\",\\n      \\\"currency\\\": \\\"USD\\\",\\n      \\\"holdTime\\\": \\\"5\\\",\\n      \\\"releaseDate\\\": \\\"2016-09-16T19:05:38.000Z\\\",\\n      \\\"status\\\": \\\"active\\\",\\n      \\\"created\\\": \\\"2016-09-09T19:05:38.000Z\\\",\\n      \\\"lastUpdated\\\": \\\"2016-09-09T19:05:38.000Z\\\"\\n    }\\n  ],\\n  \\\"source\\\": {\\n    \\\"object\\\": \\\"bank\\\",\\n    \\\"id\\\": \\\"2igzgmx2xcwaifqrhelcduaa\\\",\\n    \\\"last4\\\": \\\"6789\\\",\\n    \\\"fingerprint\\\": \\\"lv5rz4qvn6bvhz1lv62u2d2y\\\",\\n    \\\"accountType\\\": \\\"checking\\\",\\n    \\\"bankName\\\": \\\"PAYSTAND TEST BANK\\\",\\n    \\\"routingNumber\\\": \\\"110000000\\\",\\n    \\\"nameOnAccount\\\": \\\"Christopher\\\",\\n    \\\"accountHolderType\\\": \\\"individual\\\",\\n    \\\"currency\\\": \\\"USD\\\",\\n    \\\"dropped\\\": false,\\n    \\\"verified\\\": false,\\n    \\\"billingAddress\\\": {\\n      \\\"street1\\\": \\\"41 Grandview St Unit D\\\",\\n      \\\"city\\\": \\\"Santa Cruz\\\",\\n      \\\"state\\\": \\\"CA\\\",\\n      \\\"postalCode\\\": \\\"95060\\\",\\n      \\\"country\\\": \\\"USA\\\"\\n    },\\n    \\\"created\\\": \\\"2016-09-09T19:05:26.000Z\\\",\\n    \\\"lastUpdated\\\": \\\"2016-09-09T19:05:26.000Z\\\",\\n    \\\"status\\\": \\\"active\\\"\\n  },\\n  \\\"tokenId\\\": \\\"ob5nyrx9f7xkmcnms8x89yao\\\",\\n  \\\"sourceId\\\": \\\"2igzgmx2xcwaifqrhelcduaa\\\",\\n  \\\"sourceType\\\": \\\"Bank\\\",\\n  \\\"status\\\": \\\"posted\\\",\\n  \\\"created\\\": \\\"2016-09-09T19:05:34.000Z\\\",\\n  \\\"lastUpdated\\\": \\\"2016-09-09T19:05:38.000Z\\\"\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Bank Token Payment Response\"\n    }\n  ],\n  \"sidebar\": true\n}\n[/block]","excerpt":"","slug":"the-payment-resource","type":"basic","title":"Payment resource"}
[block:callout] { "type": "success", "title": "Accept payments", "body": "The payment resource allows you to accept Card and Bank account payments." } [/block] ## Request [block:callout] { "type": "info", "title": "Embedded Card or Bank", "body": "When using the \"card\" or \"bank\" object parameters, an associated Card or Bank resource will automatically be created and associated with the payment. The associated resource will appear in the payment response in the \"sourceType\" and \"sourceId\" parameters." } [/block] [block:parameters] { "data": { "h-0": "Parameter", "h-1": "Specifications", "0-0": "card", "1-0": "bank", "2-0": "tokenId", "5-0": "amount", "6-0": "currency", "9-0": "description", "10-0": "meta", "0-1": "**Type**: JSON Object\n**Format**: [Card](doc:the-card-resource) \n**Description**: The card that is to be charged for this payment", "1-1": "**Type**: JSON Object\n**Format**: [Bank](doc:the-bank-resource) \n**Description**: The bank that is to be charged for this payment", "2-1": "**Type**: String\n**Format**: [Token](doc:the-token-resource) Id\n**Description**: The id for the token that is to be charged for this payment", "5-1": "**Type**: String\n**Format**: Positive Decimal String\n**Example**: \"10.00\"\n**Description**: The requested payment amount as a decimal string.", "6-1": "**Type**: String\n**Format**: ISO4217 Currency Code\n**Example**: \"USD\"\n**Description**: The currency for the payment amount.", "9-1": "**Type**: String\n**Length**: 0-512 characters\n**Description**: An optional short description that describes the reason for the refund.", "10-1": "**Type**: JSON Object\n**Format**: [Meta](doc:meta) \n**Description**: An optional object to store custom data for the Payment.", "3-1": "**Type**: String\n**Format**: PayStand Id\n**Description**: The PayStand Id for the card that is to be charged for this payment.", "3-0": "cardId", "4-0": "bankId", "4-1": "**Type**: String\n**Format**: PayStand Id\n**Description**: The PayStand Id for the bank that is to be charged for this payment.", "7-0": "payer", "7-1": "**Type**: JSON Object\n**Format**: Payer\n**Description**: Payer information for this payment.", "8-0": "payer.address", "8-1": "**Type**: JSON Object\n**Format**: [Address](doc:address) \n**Description**: The billing address for this payer." }, "cols": 2, "rows": 11 } [/block] ## Response With the exception of the "card" and "bank" parameters, all Request values are returned in the Response. In addition, the following parameters are also returned in a payment response. [block:callout] { "type": "info", "title": "Payment source fund", "body": "The Card or Bank payment source fund is returned in the \"sourceId\" and \"sourceType\" fields. For a card payment, \"sourceType\" will be \"Card\" and \"sourceId\" will be the id of the Card resource attributed to the payment. For a bank payment, the \"sourceType\" will be \"Bank\"." } [/block] [block:callout] { "type": "info", "title": "Empty values", "body": "Fees, holds, refunds, and disputes may not show in responses when the arrays are empty." } [/block] [block:parameters] { "data": { "h-0": "Parameter", "h-1": "Description", "0-0": "id", "1-0": "object", "2-0": "fees", "2-1": "An array of Fees associated with the payment.", "3-0": "holds", "4-0": "refunds", "5-0": "disputes", "8-0": "sourceId", "9-0": "sourceType", "10-0": "status", "11-0": "created", "11-1": "The date the payment was created.", "12-0": "lastUpdated", "0-1": "The unique identifier for the payment.", "12-1": "The date the payment was last updated.", "1-1": "Will have value \"payment\" indicating that the object is a payment response.", "10-1": "The current status of the payment. One of: \"created\", \"processing\", \"posted\", \"paid\", \"failed\"", "9-1": "The payment source fund type. One of: \"Card\", \"Bank\"", "8-1": "The payment source fund Id. Either a cardId or a bankId.", "3-1": "An array of Holds associated with the payment.", "4-1": "An array of Refunds associated with the payment.", "5-1": "An array of Disputes associated with the payment.", "7-0": "source", "7-1": "Either the card or bank object used for this payment.", "6-0": "tokenId", "6-1": "Contains token id if payment is created with a token." }, "cols": 2, "rows": 13 } [/block] [block:code] { "codes": [ { "code": "{\n \"card\": {..},\n \"bank\": {..},\n \"tokenId\": \"29u4m1vivkhgnxcwj02w7bp9\",\n \"amount\": \"10.20\",\n \"currency\": \"USD\",\n \"description\": \"My PayStand Payment\",\n \"meta\": {\n \t\"invoice\": \"number\"\n },\n \"payer\": {\n \t\"name\": \"Christina Chan\",\n \"email\": \"cchan@paystand.com\"\n }\n}", "language": "json", "name": "Payment Request" } ], "sidebar": true } [/block] [block:code] { "codes": [ { "code": "{\n \"object\":\"payment\",\n \"id\":\"h3qo5rine8itrr43wfen2356\",\n \"amount\": \"20.37\",\n \"currency\": \"USD\",\n \"description\": \"Public Card payment\",\n \"payer\": {\n \"name\": \"Jessica Lin\",\n \"email\": \"jessica.lin@paystand.com\",\n \"address\": {\n \t\"street1\": \"123 test st\",\n \t\"street2\": \"3g\",\n \t\"city\": \"santa cruz\",\n \t\"state\": \"CA\",\n \t\"postalCode\": \"95060-55\",\n \t\"country\": \"USA\"\n \t}\n },\n \"fees\": [\n {..}\n ],\n \"holds\": [\n {..}\n ],\n\t\"source\": {\n \"object\": \"card\", // bank\n \"id\": \"4fmjngmtayyvlh7644btou15\",\n \"nameOnCard\": \"Christopher\",\n \"brand\": \"visa\",\n \"last4\": \"0077\",\n \"expirationMonth\": \"03\",\n \"expirationYear\": \"2019\",\n \"fingerprint\": \"2dx65pou90bkj7bt1zknhe40\",\n \"billingAddress\": {\n \"street1\": \"41 Grandview St Unit C\",\n \"city\": \"Santa Cruz\",\n \"state\": \"CA\",\n \"postalCode\": \"95060\",\n \"country\": \"USA\"\n },\n \"created\": \"2016-09-09T16:58:26.000Z\",\n \"lastUpdated\": \"2016-09-09T16:58:27.000Z\",\n \"status\": \"active\"\n },\n \"sourceId\": \"crjeild6qpfse3a09vhtxw\",\n \"sourceType\": \"Card\",\n \"status\": \"posted\",\n \"meta\": {\n \"clientPaymentId\": \"ee32fde87779458a8ef1ff\"\n },\n \"created\": \"2015-10-28T22:55:09.000Z\",\n \"lastUpdated\": \"2015-10-28T22:55:13.000Z\"\n}", "language": "json", "name": "Card Payment Response" } ], "sidebar": true } [/block] [block:code] { "codes": [ { "code": "{\n \"object\": \"payment\",\n \"id\": \"b7g54dvnhaqhou86bs6470gk\",\n \"amount\": \"15.00\",\n \"currency\": \"USD\",\n \"payer\": {\n \"object\": \"customer\",\n \"id\": \"to7dh1ung3bwm79x4choo0fp\",\n \"name\": \"Chris\",\n \"email\": \"cchen+test@paystand.com\",\n \"address\": {\n \"street1\": \"41 Grandview St Unit D\",\n \"city\": \"Santa Cruz\",\n \"state\": \"CA\",\n \"postalCode\": \"95060\",\n \"country\": \"USA\"\n }\n },\n \"fees\": [\n {\n \"object\": \"fee\",\n \"id\": \"othhxycqmmbmp7y6ssrpik6c\",\n \"amount\": \"0.25\",\n \"currency\": \"USD\",\n \"resourceAmount\": \"15\",\n \"status\": \"active\",\n \"created\": \"2016-09-09T19:05:35.000Z\",\n \"lastUpdated\": \"2016-09-09T19:05:35.000Z\"\n }\n ],\n \"holds\": [\n {\n \"object\": \"hold\",\n \"id\": \"n3k1zi5020twipu81im2muet\",\n \"amount\": \"15.00\",\n \"currency\": \"USD\",\n \"holdTime\": \"5\",\n \"releaseDate\": \"2016-09-16T19:05:38.000Z\",\n \"status\": \"active\",\n \"created\": \"2016-09-09T19:05:38.000Z\",\n \"lastUpdated\": \"2016-09-09T19:05:38.000Z\"\n }\n ],\n \"source\": {\n \"object\": \"bank\",\n \"id\": \"2igzgmx2xcwaifqrhelcduaa\",\n \"last4\": \"6789\",\n \"fingerprint\": \"lv5rz4qvn6bvhz1lv62u2d2y\",\n \"accountType\": \"checking\",\n \"bankName\": \"PAYSTAND TEST BANK\",\n \"routingNumber\": \"110000000\",\n \"nameOnAccount\": \"Christopher\",\n \"accountHolderType\": \"individual\",\n \"currency\": \"USD\",\n \"dropped\": false,\n \"verified\": false,\n \"billingAddress\": {\n \"street1\": \"41 Grandview St Unit D\",\n \"city\": \"Santa Cruz\",\n \"state\": \"CA\",\n \"postalCode\": \"95060\",\n \"country\": \"USA\"\n },\n \"created\": \"2016-09-09T19:05:26.000Z\",\n \"lastUpdated\": \"2016-09-09T19:05:26.000Z\",\n \"status\": \"active\"\n },\n \"tokenId\": \"ob5nyrx9f7xkmcnms8x89yao\",\n \"sourceId\": \"2igzgmx2xcwaifqrhelcduaa\",\n \"sourceType\": \"Bank\",\n \"status\": \"posted\",\n \"created\": \"2016-09-09T19:05:34.000Z\",\n \"lastUpdated\": \"2016-09-09T19:05:38.000Z\"\n}", "language": "json", "name": "Bank Token Payment Response" } ], "sidebar": true } [/block]