Start Billing Agreement Link Flow
Initiates the headless billing agreement link flow process.
*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.
alias
Email or phone number associated with the consumer's afterpay account
requestId
A unique identifier for this request
Response
Link flow started successfully
token
Token identifying the billing agreement to be created
requestId
The unique identifier from the request
expiresAt
When this link attempt will expire
deliveryType
How the verification code was delivered to the consumer
Errors
404
Start Billing Agreement Link Request Not Found Error
412
Start Billing Agreement Link Request Precondition Failed Error
429
Start Billing Agreement Link Request Too Many Requests Error