Sha256: aea59faf27863b255e5abeb315906914c87eab1de5c043641607d60429e0b33a

Contents?: true

Size: 1.17 KB

Versions: 5

Compression:

Stored size: 1.17 KB

Contents

# VeloPayments::AccessTokenResponse

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **access_token** | **String** | Bearer token used in headers to access secure endpoints  | [optional] |
| **token_type** | **String** | the type of the token | [optional][default to 'bearer'] |
| **refresh_token** | **String** | can be used to obtain a new access token | [optional] |
| **expires_in** | **Integer** | The lifetime in seconds of the access token | [optional] |
| **scope** | **String** | the scope of the access token | [optional] |
| **user_info** | [**UserInfo**](UserInfo.md) |  | [optional] |
| **entity_ids** | **Array<String>** | If the user is a payee then the payeeId<P> If the user is a payor then the payorId  | [optional] |

## Example

```ruby
require 'velopayments'

instance = VeloPayments::AccessTokenResponse.new(
  access_token: 9b58410b-e1b7-4f90-bebb-7e09c5427020,
  token_type: bearer,
  refresh_token: c3d0f771-0997-4814-84e3-09690208545a,
  expires_in: 1800,
  scope: https://api.velopayments.com/scopes/auth/users,
  user_info: null,
  entity_ids: ["ed89eaa0-4450-4916-a4ff-62a328d60bd6"]
)
```

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
velopayments-2.37.150.beta1 docs/AccessTokenResponse.md
velopayments-2.35.58 docs/AccessTokenResponse.md
velopayments-2.35.58.beta1 docs/AccessTokenResponse.md
velopayments-2.29.128.beta1 docs/AccessTokenResponse.md
velopayments-2.26.124.beta1 docs/AccessTokenResponse.md