Update Sub-Payee
If you need to update the settlement details for an existing sub-payee, please follow the instructions below.
PUT https://api.bindpay.xyz/v1/update-subpayeeHeader Name
Value
Description
Request Body
Field Name
Type
Description
Example Request
curl -X PUT "https://api.bindpay.xyz/v1/update-subpayee" \
-H "Content-Type: application/json" \
-H "x-api-key: your_subpayee_creation_api_key_here" \
-d '{
"subPayeeApiKey": "existing-subpayee-api-key",
"toChain": "137",
"toToken": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"toAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44b"
}'import requests
url = "https://api.bindpay.xyz/v1/update-subpayee"
headers = {
"Content-Type": "application/json",
"x-api-key": "your_subpayee_creation_api_key_here"
}
data = {
"subPayeeApiKey": "existing-subpayee-api-key",
"toChain": "137",
"toToken": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"toAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
}
response = requests.put(url, headers=headers, json=data)
print(response.json())Status Code
Error Type
Description
Last updated