Create Grant

Creates a new grant from a grant approval token.

Authentication

AuthorizationBasic

Basic authentication of the form Basic <username:password>.

Headers

AcceptstringOptionalDefaults to application/json

Request

This endpoint expects an object.
requestIdstringRequired<=64 characters
A unique request ID, required for idempotent retries. It is recommended that the merchant generate a UUID for each unique request.
tokenstringRequired
The token returned from the create approval request.
codestringOptional

The one-time code received from the consumer. Note: The code will only be sent with the headless integration.

Response

Created
grantobject

Errors