Cancel ghost card
Cancels a ghost card. This is always a soft delete: Payabli keeps the card record, including its transaction history.
Canceling a ghost card frees the vendor’s slot, so you can issue a new ghost card to the same vendor. A card canceled with this endpoint can’t be used, reactivated, or canceled again.
Requires the vcard_delete permission.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
OR
requestTokenstring
Long-lived API token sent in the requestToken header. See API token authentication.
Path parameters
cardToken
Token that identifies the ghost card to cancel. This is the ReferenceId returned when the card was created.
Response
Success response confirming the ghost card was canceled.
isSuccess
Boolean indicating whether the operation was successful. A true value
indicates success. A false value indicates failure.
responseData
Errors
400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error
503
Service Unavailable Error