Delete Card
Bank card deletion using an already known id. You can only delete your card using JWT.
Path parameters
-
Id of the bank card in database (retrieved using GET /bank-card)
Responses
-
200 application/json
Successful bank card deletion.
-
400 application/json
Validation error of given input.
-
401 application/json
User is not unauthorized or permissions are missing.
-
404 application/json
Nothing found with given input.
-
429 application/json
Rate limit exceeded - 100 queries per 15 minutes.
DELETE
/bank-card/{bank_card_id}
curl \
-X DELETE http://63.141.232.244:25540/v0/bank-card/{bank_card_id} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"success": true
}
Response examples (400)
{
"success": false,
"error": [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"client_id"
],
"message": "Required"
}
]
}
Response examples (401)
{
"success": false,
"error": "Unauthorized"
}
Response examples (404)
{
"success": false,
"error": "Not found"
}
Response examples (429)
{
"success": false,
"error": "Too many requests, please try again later"
}