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}| Access | Requirement |
|---|---|
| Authenticated | Yes |
| Required Scope | wapi-trusted-cards-delete, or wapi-trusted-cards-all |
| Rate Limit | 15 requests per minute |
Request
Headers
| Header | Value |
|---|---|
Accept | application/json |
Authorization | Bearer <access_token> |
X-WAPI-Key | wapi_live_<kid>_<secret> or wapi_test_<kid>_<secret> |
Send exactly one of Authorization or X-WAPI-Key.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
uuid | string | Yes | The UUID of the trusted card to delete |
Notes:
uuidmust 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
{
"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>"