{"_id":"5b5218b3ae239d00034209b9","project":"59f79e3c584eb200345ceafc","version":{"_id":"59f79e3c584eb200345ceaff","project":"59f79e3c584eb200345ceafc","__v":8,"createdAt":"2015-09-17T03:47:20.956Z","releaseDate":"2015-09-17T03:47:20.956Z","categories":["59f79e3c584eb200345ceb3a","59f79e3c584eb200345ceb3b","59f79e3c584eb200345ceb3c","59f79e3c584eb200345ceb3d","59f79e3c584eb200345ceb3e","59f79e3c584eb200345ceb3f","59f79e3c584eb200345ceb45","59f79e3c584eb200345ceb46","59f79e3c584eb200345ceb48","59f79e3c584eb200345ceb49","5aa21b60c0bda0002d1568b6","5afb6888212c690003ae3d3b","5b4bdcd3737d1800031d2293","5b9ed89212362100036b5a1c","5bb29bec77c22500034757ea","5bb29bfe77c22500034757ec","5bc8fa8063924c00186c5ded","5bc8fe9fa472190014a6b103"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.1.0","version":"3.1"},"category":{"_id":"59f79e3c584eb200345ceb3c","version":"59f79e3c584eb200345ceaff","project":"59f79e3c584eb200345ceafc","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-09-19T00:05:19.904Z","from_sync":false,"order":5,"slug":"nodes","title":"Nodes"},"user":"54e4044e8ef7552300409dcb","githubsync":"","__v":3,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2018-07-20T17:15:31.471Z","link_external":false,"link_url":"","sync_unique":"","hidden":true,"api":{"settings":"","examples":{"codes":[{"name":"","language":"http","code":"PATCH /v3.1/users/5b516cee14ddee72cee6fb1d/nodes/5b516d3b45d1cc0079549c89?reorder_card=YES HTTP/1.1\nHost: uat-api.synapsefi.com\nX-SP-USER-IP: 127.0.0.1\nX-SP-USER: oauth_z3Ekar6JmeiGBdMKL70IuPgpRxUH2TSj481ZscwN|e83cf6ddcf778e37bfe3d48fc78a6502062fc\nContent-Type: application/json\n\n{}"}]},"method":"patch","results":{"codes":[{"name":"","code":"{\n    \"_id\": \"5b516d3b45d1cc0079549c89\",\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://uat-api.synapsefi.com/v3.1/users/5b516cee14ddee72cee6fb1d/nodes/5b516d3b45d1cc0079549c89\"\n        }\n    },\n    \"allowed\": \"CREDIT-AND-DEBIT\",\n    \"client\": {\n        \"id\": \"589acd9ecb3cd400fa75ac06\",\n        \"name\": \"SynapseFI\"\n    },\n    \"extra\": {\n        \"note\": null,\n        \"other\": {\n            \"access_token\": \"5b516d3b966964002ac92450\"\n        },\n        \"supp_id\": \"ABC124\"\n    },\n    \"info\": {\n        \"balance\": {\n            \"amount\": 0,\n            \"currency\": \"USD\"\n        },\n        \"card_hash\": \"468ea9ed507f73f96fc77c28a44badd129177cb71aec32362129f227b36a701a\",\n        \"card_type\": \"PHYSICAL\",\n        \"document_id\": \"2a4a5957a3a62aaac1a0dd0edcae96ea2cdee688ec6337b20745eed8869e3ac8\",\n        \"monthly_withdrawals_remaining\": null,\n        \"name_on_account\": \" \",\n        \"nickname\": \"My Debit Card\",\n        \"preferences\": {\n            \"allow_foreign_transactions\": false,\n            \"atm_withdrawal_limit\": 1000,\n            \"max_pin_attempts\": 3,\n            \"pos_withdrawal_limit\": 1000,\n            \"security_alerts\": true\n        }\n    },\n    \"is_active\": true,\n    \"timeline\": [\n        {\n            \"date\": 1532063022395,\n            \"note\": \"Node created.\"\n        },\n        {\n            \"date\": 1532063090686,\n            \"note\": \"Node's 'preferences' updated.\"\n        },\n        {\n            \"date\": 1532063215072,\n            \"note\": \"Debit Card Reordered\"\n        },\n        {\n            \"date\": 1532063220077,\n            \"note\": \"'allowed' updated to CREDIT-AND-DEBIT\"\n        },\n        {\n            \"date\": 1532063272845,\n            \"note\": \"Debit Card Reissued\"\n        },\n        {\n            \"date\": 1532063278104,\n            \"note\": \"'allowed' updated to PENDING\"\n        },\n        {\n            \"date\": 1532107007769,\n            \"note\": \"Debit Card Reissued\"\n        },\n        {\n            \"date\": 1532107038549,\n            \"note\": \"Debit Card Reordered\"\n        },\n        {\n            \"date\": 1532107043530,\n            \"note\": \"'allowed' updated to CREDIT-AND-DEBIT\"\n        }\n    ],\n    \"type\": \"CARD-US\",\n    \"user_id\": \"5b516cee14ddee72cee6fb1d\"\n}","language":"json","status":200}]},"auth":"required","params":[{"_id":"5948247a524b9a000fb7dcbe","ref":"","in":"query","required":true,"desc":"Set value to YES to wish to reorder debit card for supplied node","default":"YES/NO","type":"string","name":"reorder_card"},{"_id":"594e64feb895b9004bbf1686","ref":"","in":"path","required":true,"desc":"The user ID of the user","default":"","type":"string","name":"user_id"},{"_id":"594e64feb895b9004bbf1685","ref":"","in":"path","required":true,"desc":"The node ID of the node","default":"","type":"string","name":"node_id"}],"url":"/v3.1/users/:user_id/nodes/:node_id?reorder_card=YES"},"isReference":true,"order":17,"body":"[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Reissue vs Reorder\",\n  \"body\": \"Use Reissue if you wish to change the card number associated with the debit card. This is meant to be used in instances where the user wishes to change their existing card number (due to fraud or any other reason).\\n\\nUse Reorder if the user wishes to keep the same card number but want to order a new plastic. Can be used in scenarios where the user's card was destroyed.\"\n}\n[/block]","excerpt":"Reorder Debit Card","slug":"reorder-debit-card","type":"endpoint","title":"Reorder Debit Card"}

patchReorder Debit Card

Reorder Debit Card

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

user_id:
required
string
The user ID of the user
node_id:
required
string
The node ID of the node

Query Params

reorder_card:
required
stringYES/NO
Set value to YES to wish to reorder debit card for supplied node

Examples


Result Format


Documentation

[block:callout] { "type": "info", "title": "Reissue vs Reorder", "body": "Use Reissue if you wish to change the card number associated with the debit card. This is meant to be used in instances where the user wishes to change their existing card number (due to fraud or any other reason).\n\nUse Reorder if the user wishes to keep the same card number but want to order a new plastic. Can be used in scenarios where the user's card was destroyed." } [/block]