The DELETE /session_tokens/{id} call allows your platform to delete a single session token.
Api-Version required | string Example: 3.0 |
Unique-Key | string |
WePay-Risk-Token | string This header is required when tokenizing Payment Methods, Legal Entities, and Payout Methods when the tokenization JS library is not being used. |
Client-IP | string This header is required when tokenizing Payment Methods, Legal Entities, and Payout Methods when the tokenization JS library is not being used. |
INVALID_PARAMS
NOT_AUTHORIZED
UNEXPECTED_ERROR
{- "id": "c0e72785-195f-4a96-86b1-171a7a60da13",
- "path": "/session_tokens/c0e72785-195f-4a96-86b1-171a7a60da13",
- "resource": "session_tokens",
- "type": "mobile_session",
- "owner": {
- "id": "4cf8bab9-271f-4008-8a3d-aeccc127ad67",
- "resource": "accounts",
- "path": "/accounts/4cf8bab9-271f-4008-8a3d-aeccc127ad67"
}, - "state": "deleted",
- "api_version": "3.0",
- "create_time": 1619042611,
- "expire_time": 1619129011,
- "session_token": "prod_NTFfOTFmMDY3ZjctYmFjOC00NDA4LThhNGItNzMyNjk3NzRmMWJl",
- "mobile_session": {
- "time_to_live": 86400,
- "account_id": "4cf8bab9-271f-4008-8a3d-aeccc127ad67"
}
}