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
This endpoint expects an object.
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
Alias Billing Agreement Request Forbidden Error
415
Alias Billing Agreement Request Unsupported Media Type Error