Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 2.2 KB

File metadata and controls

16 lines (12 loc) · 2.2 KB

Voucherify.Model.OAuthTokenGenerateResponseBody

Response body schema for POST /oauth/token.

Properties

Name Type Description Notes
AccessToken string The access token used to authorize access to the Voucherify API. [optional]
ClientId string Unique client identifier, assigned by Voucherify, for OAuth. [optional]
ExpiresAt int? Timestamp in seconds in the Unix format indicating when the token expires. [optional]
ExpiresIn int? Number of seconds left until the token expires. [optional]
Scope string Defines the scope of possible actions that can be done with the OAuth token. The `api` scope allows using the server-side API. The `client_api` scope allows using the whole client-side API. Possible values: `api`, `assets`, `async-actions`, `campaigns`, `categories`, `client_api`, `client_consents`, `client_customers`, `client_events`, `client_promotions`, `client_publish`, `client_qualifications`, `client_redeem`, `client_redemptions`, `client_validate`, `client_validations`, `client_vouchers`, `consents`, `customers`, `events`, `exports`, `locations`, `loyalties`, `metadata-schemas`, `orders`, `product-collections`, `products`, `promotions`, `publications`, `qualifications`, `redemptions`, `referrals`, `rewards`, `segments`, `skus`, `task-results`, `templates`, `trash-bin`, `validation-rules-assignments`, `validation-rules`, `validations`, `vouchers`. [optional]
TokenType string Type of the token. Use the value as the header prefix for authorization. [optional]

[Back to Model list] [Back to API list] [Back to README]