Remove payout account

Endpoint to remove a payout account

Request:

FieldTypeDescription
businessIdIntegerUnique identifier of business
idIntegerUnique 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:

FieldTypeDescription
statusBooleanStates if request was successfully executed or not
codeIntegerInternal code, success if 200
msgStringA description of the status of the request
dataJSON

Example response

{
    "status": true,
    "code": 200,
    "msg": "bank has been deleted",
    "data": {}
}
Language
Authorization
Header
Click Try It! to start a request and see the response here!