{"_id":"56093fe48aedf50d0004d01e","parentDoc":null,"user":"55f8467359eace0d0087db7e","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"},"githubsync":"","project":"55dd0853d2d97337001800e2","__v":27,"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"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-09-28T13:25:56.616Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"method":"post","results":{"codes":[{"code":"","language":"text"}]},"settings":"5693eae65f1c951900644c21","auth":"required","params":[],"url":"/payments/secure"},"isReference":true,"order":3,"body":"The most common use case for this endpoint is when a javascript front end client is used to tokenize a Card or Bank resulting in a Token. The tokenId can be passed server-side where a payment request is submitted using the tokenId and an Access Token. The direct payment response can be trusted to update server records. Payment webhook events will also be sent and can be used to update server records as well.\n[block:callout]\n{\n  \"type\": \"danger\",\n  \"title\": \"PCI Compliance\",\n  \"body\": \"Embedding Credit Card data directly via the \\\"card\\\" parameter is only allowed via this endpoint if the Customer is PCI Compliant. Abuse of this feature may result in loss of service.\"\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"success\",\n  \"body\": \"If the merchant customer's plan allows recharging of funds, an authorized application can use the cardId or bankId to create a payment. More information can be found at [Recharging Funds](doc:recharging-funds)\",\n  \"title\": \"Recharging a fund using a PayStand cardId or bankId\"\n}\n[/block]\n\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Parameter\",\n    \"h-1\": \"Required\",\n    \"0-0\": \"card\",\n    \"1-0\": \"bank\",\n    \"2-0\": \"tokenId\",\n    \"5-0\": \"amount\",\n    \"6-0\": \"currency\",\n    \"7-0\": \"description\",\n    \"10-0\": \"meta\",\n    \"0-1\": \"Required**\",\n    \"1-1\": \"Required**\",\n    \"2-1\": \"Required**\",\n    \"5-1\": \"Required\",\n    \"6-1\": \"Required\",\n    \"7-1\": \"Optional\",\n    \"10-1\": \"Optional\",\n    \"9-0\": \"payer\",\n    \"9-1\": \"Required [1] ***\",\n    \"3-0\": \"cardId\",\n    \"4-0\": \"bankId\",\n    \"3-1\": \"Required**\",\n    \"4-1\": \"Required**\",\n    \"8-0\": \"payerId\",\n    \"8-1\": \"Required [1] ***\"\n  },\n  \"cols\": 2,\n  \"rows\": 11\n}\n[/block]\n** One of these is required\n*** Either payer or payerId is required\n[1] Only the `name` and `email` attribute on payer is required.  All other payer attributes are optional.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"Authorization\\\": \\\"Bearer 8xwEjewopIwfzWp28ai6VnqNJEEr2Gow\\\",\\n  \\\"X-CUSTOMER-ID\\\": \\\"1ad07cc4c00941648eae30\\\",\\n  \\\"Accept\\\": \\\"application/json\\\",\\n  \\\"Content-Type\\\": \\\"application/json\\\"\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Headers\"\n    }\n  ],\n  \"sidebar\": true\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"amount\\\": \\\"20.37\\\",\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"description\\\": \\\"Authenticated Card payment\\\",\\n  \\\"card\\\": {\\n    \\\"nameOnCard\\\": \\\"Jessica Lin\\\",\\n    \\\"cardNumber\\\": \\\"4242424242424242\\\",\\n    \\\"securityCode\\\": \\\"123\\\",\\n    \\\"expirationMonth\\\": \\\"11\\\",\\n    \\\"expirationYear\\\": \\\"2018\\\",\\n    \\\"billingAddress\\\": {\\n      \\\"name\\\": \\\"Jessica Lin\\\",\\n      \\\"street1\\\": \\\"123 test st\\\",\\n      \\\"city\\\": \\\"santa cruz\\\",\\n      \\\"state\\\": \\\"CA\\\",\\n      \\\"postalCode\\\": \\\"95060\\\",\\n      \\\"country\\\": \\\"USA\\\"\\n    },\\n    \\\"payer\\\": {\\n\\t  \\t\\\"email\\\": \\\"jessica.lin:::at:::paystand.com\\\",\\n    \\t\\\"name\\\": \\\"Jessica Lin\\\",\\n    \\t\\\"address\\\": {\\n\\t    \\t\\\"street1\\\": \\\"123 test st\\\",\\n  \\t  \\t\\\"street2\\\": \\\"3g\\\",\\n   \\t  \\t\\\"city\\\": \\\"santa cruz\\\",\\n   \\t  \\t\\\"state\\\": \\\"CA\\\",\\n      \\t\\\"postalCode\\\": \\\"95060-55\\\",\\n      \\t\\\"country\\\": \\\"USA\\\"\\n  \\t\\t}\\n  \\t},\\n    \\\"meta\\\": {\\n      \\\"clientCardId\\\": \\\"ffef1610470b4d8188d584\\\"\\n    }\\n  }\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Request Card\"\n    },\n    {\n      \"code\": \"{\\n  \\\"amount\\\": \\\"20.37\\\",\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"description\\\": \\\"Authenticated Bank payment\\\",\\n  \\\"bank\\\": {\\n    \\\"nameOnAccount\\\": \\\"Jessica Lin\\\",\\n    \\\"accountType\\\": \\\"checking\\\",\\n    \\\"accountNumber\\\": \\\"000123456789\\\",\\n    \\\"routingNumber\\\": \\\"110000000\\\",\\n    \\\"currency\\\": \\\"USD\\\",\\n    \\\"billingAddress\\\": {\\n      \\\"name\\\": \\\"Jessica Lin\\\",\\n      \\\"street1\\\": \\\"123 test st\\\",\\n      \\\"city\\\": \\\"santa cruz\\\",\\n      \\\"state\\\": \\\"CA\\\",\\n      \\\"postalCode\\\": \\\"95060\\\",\\n      \\\"country\\\": \\\"USA\\\"\\n    },\\n    \\\"payer\\\": {\\n\\t  \\t\\\"email\\\": \\\"jessica.lin@paystand.com\\\",\\n    \\t\\\"name\\\": \\\"Jessica Lin\\\",\\n    \\t\\\"address\\\": {\\n\\t   \\t\\t\\\"street1\\\": \\\"123 test st\\\",\\n  \\t  \\t\\\"street2\\\": \\\"3g\\\",\\n   \\t  \\t\\\"city\\\": \\\"santa cruz\\\",\\n   \\t  \\t\\\"state\\\": \\\"CA\\\",\\n      \\t\\\"postalCode\\\": \\\"95060-55\\\",\\n      \\t\\\"country\\\": \\\"USA\\\"\\n  \\t\\t}\\n\\t  },\\n    \\\"meta\\\": {\\n      \\\"clientBankId\\\": \\\"ffef1610470b4d8188d584\\\"\\n    }\\n  }\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Request Bank\"\n    },\n    {\n      \"code\": \"{\\n  \\\"amount\\\": \\\"20.37\\\",\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"description\\\": \\\"Authenticated TokenId payment\\\",\\n  \\\"meta\\\": {\\n    \\\"clientPaymentId\\\": \\\"ee32fde87779458a8ef1ff\\\"\\n  },\\n  \\\"tokenId\\\": \\\"c80557f206de4d76a29856\\\",\\n  \\\"payer\\\": {\\n    \\\"name\\\": \\\"Jessica Lin\\\",\\n    \\\"email\\\": \\\"jessica.lin@paystand.com\\\",\\n    \\\"address\\\": {\\n\\t    \\\"street1\\\": \\\"123 test st\\\",\\n   \\t  \\\"city\\\": \\\"santa cruz\\\",\\n   \\t  \\\"state\\\": \\\"CA\\\",\\n      \\\"postalCode\\\": \\\"95060-55\\\",\\n      \\\"country\\\": \\\"USA\\\"\\n  \\t}\\n  }\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Request TokenId\"\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\\\": \\\"Authenticated Card payment\\\",\\n  \\\"meta\\\": {\\n    \\\"clientPaymentId\\\": \\\"ee32fde87779458a8ef1ff\\\"\\n  },\\n  \\\"payer\\\": {\\n    \\\"object\\\": \\\"customer\\\",\\n    \\\"id\\\": \\\"523g5sj3gywdijdu6e8q7rga\\\",\\n    \\\"name\\\": \\\"Jessica Lin\\\",\\n    \\\"email\\\": \\\"jessica.lin@paystand.com\\\",\\n    \\\"address\\\": {\\n\\t    \\\"street1\\\": \\\"123 test st\\\",\\n   \\t  \\\"city\\\": \\\"santa cruz\\\",\\n   \\t  \\\"state\\\": \\\"CA\\\",\\n      \\\"postalCode\\\": \\\"95060-55\\\",\\n      \\\"country\\\": \\\"USA\\\"\\n    }\\n  },\\n  \\\"fees\\\": [\\n    {..}\\n  ],\\n  \\\"holds\\\": [\\n    {..}\\n  ],\\n  \\\"sourceId\\\": \\\"crjeild6qpfse3a09vhtxw\\\",\\n  \\\"sourceType\\\": \\\"Card\\\",\\n  \\\"status\\\": \\\"posted\\\",\\n  \\\"created\\\": \\\"2015-10-28T22:55:09.000Z\\\",\\n  \\\"lastUpdated\\\": \\\"2015-10-28T22:55:13.000Z\\\"\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Response Card\"\n    },\n    {\n      \"code\": \"{\\n  \\\"object\\\":\\\"payment\\\",\\n  \\\"id\\\":\\\"h3qo5rine8itrr43wfen2356\\\",\\n  \\\"amount\\\": \\\"20.37\\\",\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"description\\\": \\\"Authenticated Bank payment\\\",\\n  \\\"meta\\\": {\\n    \\\"clientPaymentId\\\": \\\"ee32fde87779458a8ef1ff\\\"\\n  },\\n  \\\"payer\\\": {\\n    \\\"object\\\": \\\"customer\\\",\\n    \\\"id\\\": \\\"523g5sj3gywdijdu6e8q7rga\\\",\\n    \\\"name\\\": \\\"Jessica Lin\\\",\\n    \\\"email\\\": \\\"jessica.lin@paystand.com\\\",\\n    \\\"address\\\": {\\n\\t    \\\"street1\\\": \\\"123 test st\\\",\\n   \\t  \\\"city\\\": \\\"santa cruz\\\",\\n   \\t  \\\"state\\\": \\\"CA\\\",\\n      \\\"postalCode\\\": \\\"95060-55\\\",\\n      \\\"country\\\": \\\"USA\\\"\\n    }\\n  },\\n  \\\"fees\\\": [\\n    {..}\\n  ],\\n  \\\"holds\\\": [\\n    {..}\\n  ],\\n  \\\"sourceId\\\": \\\"crjeild6qpfse3a09vhtxw\\\",\\n  \\\"sourceType\\\": \\\"Bank\\\",\\n  \\\"status\\\": \\\"posted\\\",\\n  \\\"created\\\": \\\"2015-10-28T22:55:09.000Z\\\",\\n  \\\"lastUpdated\\\": \\\"2015-10-28T22:55:13.000Z\\\"\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Response Bank\"\n    },\n    {\n      \"code\": \"{\\n  \\\"object\\\":\\\"payment\\\",\\n  \\\"id\\\":\\\"h3qo5rine8itrr43wfen2356\\\",\\n  \\\"amount\\\": \\\"20.37\\\",\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"description\\\": \\\"Authenticated TokenId payment\\\",\\n  \\\"meta\\\": {\\n    \\\"clientPaymentId\\\": \\\"ee32fde87779458a8ef1ff\\\"\\n  },\\n  \\\"payer\\\": {\\n    \\\"object\\\": \\\"customer\\\",\\n    \\\"id\\\": \\\"523g5sj3gywdijdu6e8q7rga\\\",\\n    \\\"name\\\": \\\"Jessica Lin\\\",\\n    \\\"email\\\": \\\"jessica.lin@paystand.com\\\",\\n    \\\"address\\\": {\\n\\t    \\\"street1\\\": \\\"123 test st\\\",\\n   \\t  \\\"city\\\": \\\"santa cruz\\\",\\n   \\t  \\\"state\\\": \\\"CA\\\",\\n      \\\"postalCode\\\": \\\"95060-55\\\",\\n      \\\"country\\\": \\\"USA\\\"\\n    }\\n  },\\n  \\\"fees\\\": [\\n    {..}\\n  ],\\n  \\\"holds\\\": [\\n    {..}\\n  ],\\n  \\\"tokenId\\\": \\\"c80557f206de4d76a29856\\\",\\n  \\\"sourceId\\\": \\\"crjeild6qpfse3a09vhtxw\\\",\\n  \\\"sourceType\\\": \\\"Bank\\\",\\n  \\\"status\\\": \\\"posted\\\",\\n  \\\"created\\\": \\\"2015-10-28T22:55:09.000Z\\\",\\n  \\\"lastUpdated\\\": \\\"2015-10-28T22:55:13.000Z\\\"\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Response TokenId\"\n    }\n  ],\n  \"sidebar\": true\n}\n[/block]","excerpt":"","slug":"create-payment","type":"endpoint","title":"Create a payment"}

postCreate a payment


Definition

{{ api_url }}{{ page_api_url }}

Documentation

The most common use case for this endpoint is when a javascript front end client is used to tokenize a Card or Bank resulting in a Token. The tokenId can be passed server-side where a payment request is submitted using the tokenId and an Access Token. The direct payment response can be trusted to update server records. Payment webhook events will also be sent and can be used to update server records as well. [block:callout] { "type": "danger", "title": "PCI Compliance", "body": "Embedding Credit Card data directly via the \"card\" parameter is only allowed via this endpoint if the Customer is PCI Compliant. Abuse of this feature may result in loss of service." } [/block] [block:callout] { "type": "success", "body": "If the merchant customer's plan allows recharging of funds, an authorized application can use the cardId or bankId to create a payment. More information can be found at [Recharging Funds](doc:recharging-funds)", "title": "Recharging a fund using a PayStand cardId or bankId" } [/block] [block:parameters] { "data": { "h-0": "Parameter", "h-1": "Required", "0-0": "card", "1-0": "bank", "2-0": "tokenId", "5-0": "amount", "6-0": "currency", "7-0": "description", "10-0": "meta", "0-1": "Required**", "1-1": "Required**", "2-1": "Required**", "5-1": "Required", "6-1": "Required", "7-1": "Optional", "10-1": "Optional", "9-0": "payer", "9-1": "Required [1] ***", "3-0": "cardId", "4-0": "bankId", "3-1": "Required**", "4-1": "Required**", "8-0": "payerId", "8-1": "Required [1] ***" }, "cols": 2, "rows": 11 } [/block] ** One of these is required *** Either payer or payerId is required [1] Only the `name` and `email` attribute on payer is required. All other payer attributes are optional. [block:code] { "codes": [ { "code": "{\n \"Authorization\": \"Bearer 8xwEjewopIwfzWp28ai6VnqNJEEr2Gow\",\n \"X-CUSTOMER-ID\": \"1ad07cc4c00941648eae30\",\n \"Accept\": \"application/json\",\n \"Content-Type\": \"application/json\"\n}", "language": "json", "name": "Headers" } ], "sidebar": true } [/block] [block:code] { "codes": [ { "code": "{\n \"amount\": \"20.37\",\n \"currency\": \"USD\",\n \"description\": \"Authenticated Card payment\",\n \"card\": {\n \"nameOnCard\": \"Jessica Lin\",\n \"cardNumber\": \"4242424242424242\",\n \"securityCode\": \"123\",\n \"expirationMonth\": \"11\",\n \"expirationYear\": \"2018\",\n \"billingAddress\": {\n \"name\": \"Jessica Lin\",\n \"street1\": \"123 test st\",\n \"city\": \"santa cruz\",\n \"state\": \"CA\",\n \"postalCode\": \"95060\",\n \"country\": \"USA\"\n },\n \"payer\": {\n\t \t\"email\": \"jessica.lin@paystand.com\",\n \t\"name\": \"Jessica Lin\",\n \t\"address\": {\n\t \t\"street1\": \"123 test st\",\n \t \t\"street2\": \"3g\",\n \t \t\"city\": \"santa cruz\",\n \t \t\"state\": \"CA\",\n \t\"postalCode\": \"95060-55\",\n \t\"country\": \"USA\"\n \t\t}\n \t},\n \"meta\": {\n \"clientCardId\": \"ffef1610470b4d8188d584\"\n }\n }\n}", "language": "json", "name": "Request Card" }, { "code": "{\n \"amount\": \"20.37\",\n \"currency\": \"USD\",\n \"description\": \"Authenticated Bank payment\",\n \"bank\": {\n \"nameOnAccount\": \"Jessica Lin\",\n \"accountType\": \"checking\",\n \"accountNumber\": \"000123456789\",\n \"routingNumber\": \"110000000\",\n \"currency\": \"USD\",\n \"billingAddress\": {\n \"name\": \"Jessica Lin\",\n \"street1\": \"123 test st\",\n \"city\": \"santa cruz\",\n \"state\": \"CA\",\n \"postalCode\": \"95060\",\n \"country\": \"USA\"\n },\n \"payer\": {\n\t \t\"email\": \"jessica.lin@paystand.com\",\n \t\"name\": \"Jessica Lin\",\n \t\"address\": {\n\t \t\t\"street1\": \"123 test st\",\n \t \t\"street2\": \"3g\",\n \t \t\"city\": \"santa cruz\",\n \t \t\"state\": \"CA\",\n \t\"postalCode\": \"95060-55\",\n \t\"country\": \"USA\"\n \t\t}\n\t },\n \"meta\": {\n \"clientBankId\": \"ffef1610470b4d8188d584\"\n }\n }\n}", "language": "json", "name": "Request Bank" }, { "code": "{\n \"amount\": \"20.37\",\n \"currency\": \"USD\",\n \"description\": \"Authenticated TokenId payment\",\n \"meta\": {\n \"clientPaymentId\": \"ee32fde87779458a8ef1ff\"\n },\n \"tokenId\": \"c80557f206de4d76a29856\",\n \"payer\": {\n \"name\": \"Jessica Lin\",\n \"email\": \"jessica.lin@paystand.com\",\n \"address\": {\n\t \"street1\": \"123 test st\",\n \t \"city\": \"santa cruz\",\n \t \"state\": \"CA\",\n \"postalCode\": \"95060-55\",\n \"country\": \"USA\"\n \t}\n }\n}", "language": "json", "name": "Request TokenId" } ], "sidebar": true } [/block] [block:code] { "codes": [ { "code": "{\n \"object\":\"payment\",\n \"id\":\"h3qo5rine8itrr43wfen2356\",\n \"amount\": \"20.37\",\n \"currency\": \"USD\",\n \"description\": \"Authenticated Card payment\",\n \"meta\": {\n \"clientPaymentId\": \"ee32fde87779458a8ef1ff\"\n },\n \"payer\": {\n \"object\": \"customer\",\n \"id\": \"523g5sj3gywdijdu6e8q7rga\",\n \"name\": \"Jessica Lin\",\n \"email\": \"jessica.lin@paystand.com\",\n \"address\": {\n\t \"street1\": \"123 test st\",\n \t \"city\": \"santa cruz\",\n \t \"state\": \"CA\",\n \"postalCode\": \"95060-55\",\n \"country\": \"USA\"\n }\n },\n \"fees\": [\n {..}\n ],\n \"holds\": [\n {..}\n ],\n \"sourceId\": \"crjeild6qpfse3a09vhtxw\",\n \"sourceType\": \"Card\",\n \"status\": \"posted\",\n \"created\": \"2015-10-28T22:55:09.000Z\",\n \"lastUpdated\": \"2015-10-28T22:55:13.000Z\"\n}", "language": "json", "name": "Response Card" }, { "code": "{\n \"object\":\"payment\",\n \"id\":\"h3qo5rine8itrr43wfen2356\",\n \"amount\": \"20.37\",\n \"currency\": \"USD\",\n \"description\": \"Authenticated Bank payment\",\n \"meta\": {\n \"clientPaymentId\": \"ee32fde87779458a8ef1ff\"\n },\n \"payer\": {\n \"object\": \"customer\",\n \"id\": \"523g5sj3gywdijdu6e8q7rga\",\n \"name\": \"Jessica Lin\",\n \"email\": \"jessica.lin@paystand.com\",\n \"address\": {\n\t \"street1\": \"123 test st\",\n \t \"city\": \"santa cruz\",\n \t \"state\": \"CA\",\n \"postalCode\": \"95060-55\",\n \"country\": \"USA\"\n }\n },\n \"fees\": [\n {..}\n ],\n \"holds\": [\n {..}\n ],\n \"sourceId\": \"crjeild6qpfse3a09vhtxw\",\n \"sourceType\": \"Bank\",\n \"status\": \"posted\",\n \"created\": \"2015-10-28T22:55:09.000Z\",\n \"lastUpdated\": \"2015-10-28T22:55:13.000Z\"\n}", "language": "json", "name": "Response Bank" }, { "code": "{\n \"object\":\"payment\",\n \"id\":\"h3qo5rine8itrr43wfen2356\",\n \"amount\": \"20.37\",\n \"currency\": \"USD\",\n \"description\": \"Authenticated TokenId payment\",\n \"meta\": {\n \"clientPaymentId\": \"ee32fde87779458a8ef1ff\"\n },\n \"payer\": {\n \"object\": \"customer\",\n \"id\": \"523g5sj3gywdijdu6e8q7rga\",\n \"name\": \"Jessica Lin\",\n \"email\": \"jessica.lin@paystand.com\",\n \"address\": {\n\t \"street1\": \"123 test st\",\n \t \"city\": \"santa cruz\",\n \t \"state\": \"CA\",\n \"postalCode\": \"95060-55\",\n \"country\": \"USA\"\n }\n },\n \"fees\": [\n {..}\n ],\n \"holds\": [\n {..}\n ],\n \"tokenId\": \"c80557f206de4d76a29856\",\n \"sourceId\": \"crjeild6qpfse3a09vhtxw\",\n \"sourceType\": \"Bank\",\n \"status\": \"posted\",\n \"created\": \"2015-10-28T22:55:09.000Z\",\n \"lastUpdated\": \"2015-10-28T22:55:13.000Z\"\n}", "language": "json", "name": "Response TokenId" } ], "sidebar": true } [/block]