Lock/Unlock

These endpoints modify the isLocked field of the object that is returned on each card:

Get Debit Cards
{
    "id": "312",
    "accountId": "999900843213",
    "cardLastFourDigits": "8236",
    "status": "active",
    "image": "imageBase64",
    "type": "virtual",
    "isLocked": true,
    "isReadyToUse": true
}

Lock

Endpoint: BASE_URL/baas/debit-cards/:id/lock

Unlock

Endpoint: BASE_URL/baas/debit-cards/:id/unlock

Linker example response:

{
    "statusCode": 200
}

For both endpoints, if the request gets completed, a 200 status will be returned.

Last updated