Rotate Access Token
POST /token/{id}
Management endpoint to rotate access token.
Authorizations
Parameters
Path Parameters
Responses
200
OK
object
A single access token or set of access tokens that the client instance can use to call the RS on behalf of the RO.
object
The value of the access token as a string. The value is opaque to the client instance. The value SHOULD be limited to ASCII characters to facilitate transmission over HTTP headers within other protocols without requiring additional encoding.
The management URI for this access token. This URI MUST NOT include the access token value and SHOULD be different for each access token issued in a request.
The number of seconds in which the access will expire. The client instance MUST NOT use the access token past this time. An RS MUST NOT accept an access token past this time.
A description of the rights associated with this access token.
object
The type of resource request as a string. This field defines which other fields are allowed in the request object.
The types of actions the client instance will take at the RS as an array of strings.
A string identifier indicating a specific resource at the RS.
object
The type of resource request as a string. This field defines which other fields are allowed in the request object.
The types of actions the client instance will take at the RS as an array of strings.
A string identifier indicating a specific resource at the RS.
Open Payments specific property that defines the limits under which outgoing payments can be created.
object
The URL of the incoming payment that is being paid.
All amounts are maxima, i.e. multiple payments can be created under a grant as long as the total amounts of these payments do not exceed the maximum amount per interval as specified in the grant.
object
The value is an unsigned 64-bit integer amount, represented as a string.
The assetCode is a code that indicates the underlying asset. This SHOULD be an ISO4217 currency code.
The scale of amounts denoted in the corresponding asset code.
All amounts are maxima, i.e. multiple payments can be created under a grant as long as the total amounts of these payments do not exceed the maximum amount per interval as specified in the grant.
object
The value is an unsigned 64-bit integer amount, represented as a string.
The assetCode is a code that indicates the underlying asset. This SHOULD be an ISO4217 currency code.
The scale of amounts denoted in the corresponding asset code.
Open Payments specific property that defines the limits under which outgoing payments can be created.
object
The URL of the incoming payment that is being paid.
All amounts are maxima, i.e. multiple payments can be created under a grant as long as the total amounts of these payments do not exceed the maximum amount per interval as specified in the grant.
object
The value is an unsigned 64-bit integer amount, represented as a string.
The assetCode is a code that indicates the underlying asset. This SHOULD be an ISO4217 currency code.
The scale of amounts denoted in the corresponding asset code.
All amounts are maxima, i.e. multiple payments can be created under a grant as long as the total amounts of these payments do not exceed the maximum amount per interval as specified in the grant.
object
The value is an unsigned 64-bit integer amount, represented as a string.
The assetCode is a code that indicates the underlying asset. This SHOULD be an ISO4217 currency code.
The scale of amounts denoted in the corresponding asset code.
object
The type of resource request as a string. This field defines which other fields are allowed in the request object.
The types of actions the client instance will take at the RS as an array of strings.
Examples
400
Bad Request
401
Unauthorized
404
Not Found