Create Grant

Creates a new grant from a grant approval token.

post/v2/grants

Request

  • Base URL: https://global-api-sandbox.afterpay.com
  • URL: https://global-api-sandbox.afterpay.com/v2/grants
  • Auth: HTTP basic

Headers

Acceptstring

Request body

requestIdstring required

A unique request ID, required for idempotent retries. It is recommended that the merchant generate a UUID for each unique request.

tokenstring required

The token returned from the create approval request.

codestring

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

Response

Created

Changes

No recorded changes to this operation across all 1 revision of this API.