Deactivate Sub-Payee
Deactivate a subpayee to prevent further transactions - don't hesitate to reach out for additional support at support@bindpay.xyz
Endpoint
Headers
Content-Type
application/json
The content type of the request
x-api-key
Your subpayee creation API key
The API key used for creating subpayees
Need a subpayee creation API key? Generate one in the developer portal
Request Body
subPayeeApiKey
string
Yes
The API key of the subpayee to deactivate
Notes
Only the parent business can deactivate their subpayees
Must use the subpayee creation API key, not the regular business API key
Deactivation is permanent and cannot be undone
Existing transactions will not be affected
New transactions using the deactivated subpayee's API key will be rejected
Example Request
Response
The API will respond with a JSON object containing the deactivation details.
Successful Response
Response Fields
message
string
Success confirmation message
subPayeeName
string
Name of the deactivated subpayee
deactivatedAt
string
Timestamp of deactivation
Status Codes
200
Success
Subpayee successfully deactivated
400
Bad Request
Missing API key or subpayee API key
404
Not Found
Parent business or subpayee not found
400
Bad Request
Subpayee already deactivated
500
Internal Server Error
Server error
For more information on error handling and response codes, please refer to our Error Handling documentation or get in contact with support@bindpay.xyz.
Last updated