Skip to main content

Create a browser delegation token

POST 

/registry/v1/delegation

Create a token for use within a buyer's browser. The token is returned as a response header called Two-Delegated-Authority-Token. To use the token, browser-side code should simply add the header to the relevant requests. The token will grant access for 1 hour, for the user's browser to impersonate the merchant for the operations associated with each role specified in the body of this request. No other operations will be possible.

Request​

Responses​

Delegated authority token created and returned in response header named Two-Delegated-Authority-Token