post https://sandbox-api.helix.q2.com/card/lock
Lock a card. Most locks can be reversed by calling /card/unlock. Please check the /card/unlock documentation to see which lock scenarios can be subsequently unlocked. Will apply a lockTypeCode of CST on success and all card-based transactions will fail.
Error Codes
Click to expand
| Code | Message (en-US) | Notes |
|---|---|---|
| 1-60000 | Any "Common Error Code" may occur. | See Common Error Codes |
| 150404 | Use the /card/hotlist route to hotlist card with reason {lockReasonTypeCode}. | Occurs only if given lockReasonTypeCode is LST, STL, UPG, DEC, ESC, DES, ACL, STA or VOD |
| 150405 | Must specify a valid lockReasonTypeCode. Refer to API documentation. | Valid values for lockReasonTypeCode include UNK, FRD, DMG, ADM, TMP, and PIN. |
| 150501 | Invalid Card Lock Reason Type Code {0}. | |
| 150502 | CardId {0} is in a status of '{1}' and cannot be locked. | |
| 150503 | CustomerId {0} does not have access to CardId {1}. | |
| 150504 | CardId {0} has been locked by the System | |
| 154101 | Invalid Card {0} or CustomerId {0} is not associated with the card. | |
| 154102 | Invalid Request |
