Update Subnet
Subnet
PATCH
https://api.synapsefi.com/v3.1/users/:user_id/nodes/:node_id/subnets/:subnet_id
This endpoint allows you to update a subnet.
Path Parameters
subnet_id
string
ID of the subnet.
node_id
string
ID of the node.
user_id
string
ID of the user.
Headers
X-SP-USER
string
User's OAuth key and device fingerprint, separated by a pipe.
X-SP-USER-IP
string
IP address of user's device.
X-SP-GATEWAY
string
Your Client ID and Secret, separated by a pipe.
Go to Subnet Object Details to see all the required and optional body parameters allowed during node updates. Following are some examples of most common update calls:
Update Subnet Status
Go to Possible Status Values and Possible Status Codes to learn more.
Set Card Subnet PIN
In the following example the pin is encrypted. Go to Encryption Keys for Subnet to learn more.
Set Card Subnet Preferences
Note: When patching subnet preferences, use USD amounts. When viewing the subnet object using a GET call, the amounts will be shown in cUSD (cents).
Last updated
Was this helpful?