WiPay
WAPIsv2.0.0Trusted Cards

Delete Trusted Card

Remove a trusted card from file

Delete a trusted card from the authenticated user's account.

Endpoint

DELETE /trusted-cards/{uuid}
AccessRequirement
AuthenticatedYes
Required Scopewapi-trusted-cards-delete, or wapi-trusted-cards-all
Rate Limit15 requests per minute

Request

Headers

HeaderValue
Acceptapplication/json
AuthorizationBearer <access_token>
X-WAPI-Keywapi_live_<kid>_<secret> or wapi_test_<kid>_<secret>

Send exactly one of Authorization or X-WAPI-Key.

Path Parameters

ParameterTypeRequiredDescription
uuidstringYesThe UUID of the trusted card to delete

Notes:

  • uuid must be a valid UUID.
  • If the card has not yet been verified, deleting it also voids the underlying trusted-card prerequest.

Responses

200 OK

{
  "message": "OK"
}

400 Bad Request

{
  "message": "The selected uuid is invalid."
}

401 Unauthorized

{
  "message": "Unauthorized"
}

403 Forbidden

Invalid scopes
{
  "message": "Invalid scope(s) provided."
}

Example

curl -X DELETE "https://ttsb.wipayfinancial.com/wapi/trusted-cards/213e4777-2179-4fbd-9540-84e8ed83187a" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>"