Yedpay

Description (Delete Account)

Delete the selected bank account. (DELETE)

End Point

https://api.yedpay.com/v1/accounts/{{bank_account_id}}

Variable

# Name Type Description
1 bank_account_id String Bank Account's ID

Request Header

# Key Value Description
1 Authorization Bearer {{access_token}} Login Token

Response

# Name Type Description
1 success Boolean Delete bank account's Information Success or Fail
2 message String Success or fail message

Example Success Response

        {
            "success": true,
            "message": "request accepted"
        }
        

* Possible of Error Response

# Status Code Message Description
1 400 No default bank account The company has no default account after deleting account, the user should set one default before deleting

Example Error Response

            {
                "success": false,
                "message": "Unauthenticated.",
                "status": 500
            }
        

v1.28.0-20190905 © The Payment Cards Group Limited. All rights reserved.