Routes
API endpoints for managing Routes in the PayID platform.
API keys are provided when a partner account is created and can be regenerated if needed.
To authenticate requests, include your API key in the request headers using the Bearer token format:
Authorization: Bearer your-api-key
Required Permissions
The following permissions are required for the Routes endpoints:
- route:create - Create new routes for users associated with your partner account
- route:read - View routes for users associated with your partner account
- route:update - Modify route information for users associated with your partner account
- route:delete - Delete routes for users associated with your partner account
ID of the user this route belongs to
38acfa0a-74a6-4e37-9168-eeddacc36444Name of the route. Minimum length: 1 character.
my first route everList of incoming wallet addresses that can use this route. The system performs minimal validation - verify addresses are valid for the corresponding blockchain.
["0x9c02cBF68E61591A2d8f05dF3318e244768f7ec0","0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"]Network to swap on (optional). If provided, swapToken must also be specified.
Token to swap to (optional). If provided, swapNetwork must also be specified.
Destination wallet address where funds will be sent. The system performs minimal validation - ensure you're providing a valid blockchain address for the corresponding network.
0x9c02cBF68E61591A2d8f05dF3318e244768f7ec0Route created successfully
Invalid input data
Unauthorized
User not found
Server error
Unsupported Combinations
API keys are provided when a partner account is created and can be regenerated if needed.
To authenticate requests, include your API key in the request headers using the Bearer token format:
Authorization: Bearer your-api-key
Required Permissions
The following permissions are required for the Routes endpoints:
- route:create - Create new routes for users associated with your partner account
- route:read - View routes for users associated with your partner account
- route:update - Modify route information for users associated with your partner account
- route:delete - Delete routes for users associated with your partner account
ID of the user to get routes for
Routes retrieved successfully
Invalid input
Unauthorized
User not found
Server error
API keys are provided when a partner account is created and can be regenerated if needed.
To authenticate requests, include your API key in the request headers using the Bearer token format:
Authorization: Bearer your-api-key
Required Permissions
The following permissions are required for the Routes endpoints:
- route:create - Create new routes for users associated with your partner account
- route:read - View routes for users associated with your partner account
- route:update - Modify route information for users associated with your partner account
- route:delete - Delete routes for users associated with your partner account
ID of the route to update
ID of the user this route belongs to. This is required as an authorization check, not as a field to update.
38acfa0a-74a6-4e37-9168-eeddacc36444Name of the route. Minimum length: 1 character.
my first route everList of incoming wallet addresses
["0x9c02cBF68E61591A2d8f05dF3318e244768f7ec0","0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"]Network to swap on (optional)
Token to swap to (optional)
ETHPossible values: Destination wallet address. Minimal validation is performed - ensure it's a valid address for the network.
0x9c02cBF68E61591A2d8f05dF3318e244768f7ec0Route updated successfully
Invalid input data
Unauthorized
Forbidden - User does not have access to this route
Route or user not found
Server error
API keys are provided when a partner account is created and can be regenerated if needed.
To authenticate requests, include your API key in the request headers using the Bearer token format:
Authorization: Bearer your-api-key
Required Permissions
The following permissions are required for the Routes endpoints:
- route:create - Create new routes for users associated with your partner account
- route:read - View routes for users associated with your partner account
- route:update - Modify route information for users associated with your partner account
- route:delete - Delete routes for users associated with your partner account
ID of the route to delete
ID of the user this route belongs to
38acfa0a-74a6-4e37-9168-eeddacc36444Route deleted successfully
Invalid input data
Unauthorized
Forbidden - User does not have access to this route
Route or user not found
Server error
Last updated
Was this helpful?

