post https://api.vendy.money/payout-account/remove
Endpoint to remove a payout account
Request:
Field | Type | Description |
---|---|---|
businessId | Integer | Unique identifier of business |
id | Integer | Unique identifier of payout account |
Example request
curl --location 'https://api.vendy.money/payout-account/remove' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data '{
"businessId":3,
"id": 5
}'
Response:
Field | Type | Description |
---|---|---|
status | Boolean | States if request was successfully executed or not |
code | Integer | Internal code, success if 200 |
msg | String | A description of the status of the request |
data | JSON |
Example response
{
"status": true,
"code": 200,
"msg": "bank has been deleted",
"data": {}
}