mirror of
https://github.com/plutov/paypal.git
synced 2025-02-02 15:10:36 +01:00
Merge pull request #12 from ivpusic/patch-1
add expires_in field to `TokenResponse`
This commit is contained in:
commit
6b094a602b
1
types.go
1
types.go
|
@ -321,6 +321,7 @@ type (
|
||||||
RefreshToken string `json:"refresh_token"`
|
RefreshToken string `json:"refresh_token"`
|
||||||
Token string `json:"access_token"`
|
Token string `json:"access_token"`
|
||||||
Type string `json:"token_type"`
|
Type string `json:"token_type"`
|
||||||
|
ExpiresIn int64 `json:"expires_in"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Transaction https://developer.paypal.com/webapps/developer/docs/api/#transaction-object
|
// Transaction https://developer.paypal.com/webapps/developer/docs/api/#transaction-object
|
||||||
|
|
Loading…
Reference in New Issue
Block a user