Create Billing Agreement Alias

Creates an alias for an existing billing agreement to help load payment schedule widget.

Deprecated. For new integrations, see Grants.

post/v2/billing-agreements/alias

Request

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

Headers

User-Agentstring required
Accept'application/json' required

Request body

tokenstring required

Token of the billing agreement to create an alias for

durationstring

Duration of the billing agreement in ISO-8601 period format

Response

Alias created successfully

tokenstring required

Token representing the billing agreement 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.