Beginning with our new acquiring solution, you can request the deletion or archiving of the network token.

The endpoint for archiving the network token is PUT /api/v2/Payment/Containers/{id}/archive:

Request
PUT /api/v2/Smart/Transactions/PCT_3JU4VGYZF2XY8EJHH9FQ7WGYNZGJA4/archive HTTP/1.1
Host: connect-testing.secuconnect.com
Authorization: Bearer qb56tjj1bcvo9n2nj4u38k84lo
Accept: application/json

If everything is fine, the API responds with HTTP status 200 OK, and confirms the successful deletion request:

Response
HTTP/1.1 200 OK
Content-Type: application/json
 
{
"result": true
}

This will cause the following token status flow and actions:

Status

Meaning

archivePending

Token was invalidated, and deletion request is forwarded to the card network.

In the live environment this will usually last less than 60 seconds. In the testing environment it will stay at archivePending.

archived

Deletion request was executed.

S. a. API Reference, Archive Container

You will also receive push notificatiosn, s. Network Token Status Notifications