Create Billing Agreement Alias
Creates an alias for an existing billing agreement to help load payment schedule widget.
*Deprecated. For new integrations, see [Grants](https://afterpay.docs.buildwithfern.com/afterpay-online-developer/api-reference/reference/grants/start-grant-approval).*
Authentication
AuthorizationBasic
Basic authentication of the form Basic <base64(username:password)>.
Headers
User-Agent
Accept
Request
The request containing the billing agreement token and optional duration
token
Token of the billing agreement to create an alias for
duration
Duration of the billing agreement in ISO-8601 period format
Response
Alias created successfully
token
Token representing the billing agreement alias
expiry
Timestamp when the alias token expires
Errors
403
Forbidden Error
415
Unsupported Media Type Error