Create Grant Approval

Initiates the approval process for a new grant.

Authentication

AuthorizationBasic

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

Headers

User-AgentstringRequired
AcceptstringOptionalDefaults to application/json

Request

This endpoint expects an object.
grantslist of objectsRequired

Grant type for approval (only single grant is supported)

merchantobjectRequired
merchantReferencestringOptional<=128 characters
Merchant's unique reference for this grant
consumerobjectOptional
Consumer details for the grant

Response

OK
tokenstring
Token identifying this grant approval request
expiresstringformat: "date-time"
When this approval request expires
redirectCheckoutUrlstringformat: "uri"
URL where the consumer should be redirected to complete approval

Errors