Create Grant Alias

Creates an alias for an existing grant to help load the payment schedule widget.

post/v2/grants/alias

Request

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

Headers

Acceptstring

Request body

tokenstring required

Token of the grant to create an alias for

durationstring duration nullable

Duration of the grant in ISO-8601 period format

Response

OK

tokenstring required

Token representing the grant alias

expirystring date-time required

Timestamp when the alias token expires

Changes

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