Terminate Card
https://sandboxapi.bitnob.co/api/v1/virtualcards/terminate (opens in a new tab)
block a card
Body Parameters
Parameter | type | Required |
---|---|---|
cardId | string | ✅ |
Request
Virtual Cards/Freeze Card [POST]
curl --request POST \
--url https://sandboxapi.bitnob.co/api/v1/virtualcards/terminate \
--header 'Authorization: Bearer API-KEY' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"cardId":"string"}'
Responses
🟢 200 - Result example
{
"status": true,
"message": "freeze card successfully",
"data": {
"id": "4f644a2c-3c4f-48c7-a3fa-e896b544d546",
"createdAt": "2022-12-20T09:29:05.615Z",
"updatedAt": "2022-12-20T09:33:14.558Z",
"balance": 1500,
"cardNumber": "4677470929033271",
"last4": "3271",
"cardName": "monasia mahlaya",
"cardType": "virtual",
"cardBrand": "visa",
"cvv2": "519",
"expiry": "2026-12-31T23:59:59.999Z",
"status": "terminated",
"valid": "12/2026",
"reference": "testing22",
"createdStatus": "success",
"customerId": "8fa845e4-29f7-4006-9af6-c0fe04eea02f",
"billingAddress": {
"city": "Newark",
"street": "256 Chapman Road STE 105-4",
"zipCode": "19702",
"countryCode": "US",
"country": "United States"
},
"customerEmail": "joe@gmail.com"
}
}
Last updated on