putSubscriptionTokensId
Update a Subscription Token, which represents an association between a Subscription and a means of payment (Token) for that Subscription.
In: header
Path Parameters
The ID of this resource or The Subscription Token ID.
Header Parameters
A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.
A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.
Request Body
application/json
Update Subscription Token Request
Update Subscription Token Request
The identifier of the Token resource that this Subscription Token is associated with. This resource identifies the means of payment for the Subscription identified in the 'subscription' field of this resource.
Whether this resource is marked as inactive.
0- Active1- Inactive
Value in
- 0
- 1
Whether this resource is marked as frozen.
0- Not Frozen1- Frozen
Value in
- 0
- 1
Response Body
application/json
application/json
curl -X PUT "https://example.com/subscriptionTokens/t1_stn_680064d2e16ab367d7dffz0" \ -H "Content-Type: application/json" \ -d '{ "token": "ae1abb3aaa18e4c374ca83fa75a7fff6", "inactive": 0, "frozen": 0 }'{ "response": { "data": [ { "id": "t1_stn_680064d2e16ab367d7dffz0", "created": "2025-04-16 22:17:54.9444", "modified": "2025-04-16 22:17:54.9444", "creator": "t1_log_653ae6ec24a9357ace75ebf", "modifier": "t1_log_653ae6ec24a9357ace75ebf", "subscription": "t1_sbn_680064d2db9dbdc8d3e9a2b", "token": "95d4205826ef9e5e45891182220136ee", "inactive": 0, "frozen": 0 } ], "details": { "requestId": 1, "totals": [], "page": { "current": 1, "last": 1, "hasMore": false } }, "errors": [] }}deleteSubscriptionTokensId DELETE
Delete a Subscription Token, which represents an association between a Subscription and a means of payment (Token) for that Subscription.
getSubscriptionTokens GET
Query a Subscription Tokens resource. A Subscription Tokens resource represents an association between a Subscription and a means of payment (Token) for that Subscription.
