Tokens
List Tokens
client.Accounts.Tokens.List(ctx, params) (*V4PagePaginationArray[Token], error)
GET/accounts/{account_id}/tokens
Token Details
client.Accounts.Tokens.Get(ctx, tokenID, query) (*Token, error)
GET/accounts/{account_id}/tokens/{token_id}
Create Token
client.Accounts.Tokens.New(ctx, params) (*TokenNewResponse, error)
POST/accounts/{account_id}/tokens
Update Token
client.Accounts.Tokens.Update(ctx, tokenID, params) (*Token, error)
PUT/accounts/{account_id}/tokens/{token_id}
Delete Token
client.Accounts.Tokens.Delete(ctx, tokenID, body) (*TokenDeleteResponse, error)
DELETE/accounts/{account_id}/tokens/{token_id}
Verify Token
client.Accounts.Tokens.Verify(ctx, query) (*TokenVerifyResponse, error)
GET/accounts/{account_id}/tokens/verify
TokensPermission Groups
List Permission Groups
client.Accounts.Tokens.PermissionGroups.List(ctx, params) (*SinglePage[TokenPermissionGroupListResponse], error)
GET/accounts/{account_id}/tokens/permission_groups
List Permission Groups
client.Accounts.Tokens.PermissionGroups.Get(ctx, params) (*[]TokenPermissionGroupGetResponse, error)
GET/accounts/{account_id}/tokens/permission_groups
TokensValue
Roll Token
client.Accounts.Tokens.Value.Update(ctx, tokenID, params) (*TokenValue, error)
PUT/accounts/{account_id}/tokens/{token_id}/value