Skip to content

Close CardPOST


Overview

Closes a card. 1

Endpoint URL

https://api-s.nolantechnologies.com/v0/banking/cards/:cardId/close

Endpoint Data

Parameter Name Description
cardId The Unit card ID

Example Request

curl -i -X POST "https://api-s.nolantechnologies.com/v0/banking/cards/123456/close" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -H "X-Nolan-API-Key: YourNolanApiKey" 

Example Response

HTTP/1.1 200 OK
X-Powered-By: Express
Content-Type: application/json; charset=utf-8
Content-Length: 332
ETag: W/"14c-PIXt+3CWLR/8LXvJ5oHPfhWsbyg"
Date: Sat, 23 Sep 2023 20:51:38 GMT
Connection: keep-alive
Keep-Alive: timeout=5

{
    "data": {
        "id": "123456",
        "accountId": "160275",
        "createdAt": "2021-12-16T17:42:19.442Z",
        "last4Digits": "4914",
        "expirationDate": "2024-12",
        "status": "ClosedByCustomer",
        "type": "individualDebitCard",
        "design": "black",
        "shippingAddress": {
            street: '123 Main Street,
            street2: '456',
            city: 'Dallas',
            state: 'TX',
            postalCode: '75201',
            country: 'US'
        }
    }
}

  1. Read more about this endpoint in the Unit API docs