# Afterpay with Low-Code / No-Code

![Afterpay login and authorization popup](/assets/payment_links_after_pay_authorizations.df5f30de6b5e644744009dca2d7ad69c34f74860881ddb76ceab81e0a12e5378.08ff7529.png)

Finix's low-code products handle the heavy lifting of the Afterpay integration for you.

Afterpay is supported across the following Finix low-code products:

| Product | Afterpay Support | Notes |
|  --- | --- | --- |
| **Payment Links** | Supported | Available via Dashboard and API. |
| **Checkout Pages** | Supported | Available via API only. |
| **Subscriptions** | Not Supported | Afterpay is not available for recurring payments. |
| **Subscription Links** | Not Supported | Afterpay is not available for Subscription Links. |


Afterpay is in Early Access
Afterpay is currently in Early Access. To enable it on your Finix Application, reach out to your Finix point of contact or email [support@finix.com](mailto:support@finix.com).

## How It Works

When a buyer opens a Payment Link or Checkout Page that has Afterpay enabled, they'll see Afterpay as a checkout option. The buyer selects Afterpay and is guided through the Afterpay authorization flow where they confirm their installment plan. Finix handles creating the payment instrument and processing the transaction automatically.

## What the Buyer Sees

When a buyer opens a Payment Link or Checkout Page with Afterpay enabled, they'll see an **Afterpay** button alongside any other enabled payment methods.

![Buyer view of a Payment Link with Afterpay selected](/assets/payment_links_after_pay_buyer_experience.2a57517bbf76faabd46031b7738b9e808220a19f95c90bd0b54748f779b79e2d.08ff7529.png)

### Afterpay Authorization

After selecting Afterpay, the buyer is prompted to log in to their Afterpay account in a popup modal, where they review their installment plan and confirm the payment. This flow is the same on desktop and mobile.

![Afterpay login and authorization popup](/assets/payment_links_after_pay_authorizations.df5f30de6b5e644744009dca2d7ad69c34f74860881ddb76ceab81e0a12e5378.08ff7529.png)

### Completing Transaction

Once the buyer completes authorization, Finix automatically creates the payment instrument and processes the transaction. No additional steps are needed on your end.

## Enabling Afterpay for your Application

Before you can use Afterpay in any low-code product, it must be enabled on your Finix Application.

## Enabling Afterpay on Low-Code / No-Code

### Payment Link

1. Log in to your [Finix Dashboard](https://finix.payments-dashboard.com/Login).
2. Navigate to **Payment Tools** > **Payment Links**.
3. Click **Create Payment Link** or select an existing link to edit.
4. Under **Allowed Payment Methods**, enable **Afterpay**.
5. Complete the remaining fields and save.


![Enabling payment methods on a Payment Link in the Finix Dashboard](/assets/payment_links_cash_app_pay.c2679c3519dd436b0cf1d80a3feba09fb9e120719b73f55b565f21050d4f5517.08ff7529.png)

## Using the API

To accept Afterpay through your low-code products, add `AFTERPAY` to the `allowed_payment_methods` list when creating or updating a Payment Link or Checkout Page.

### Payment Link

To create a Payment Link with Afterpay enabled, include `AFTERPAY` in the `allowed_payment_methods` array:


```shell Create Payment Link with Afterpay
curl -i -X POST \
  -u USfdccsr1Z5iVbXDyYt7hjZZ:313636f3-fac2-45a7-bff7-a334b93e7bda \
  https://finix.sandbox-payments-api.com/payment_links \
  -H 'Content-Type: application/json' \
  -H 'Finix-Version: 2022-02-01' \
  -d '{
    "merchant_id": "MU7noQ1wdgdAeAfymw2rfBMq",
    "application_id": "APc9vhYcPsRuTSpKD9KpMtPe",
    "payment_frequency": "ONE_TIME",
    "is_multiple_use": false,
    "allowed_payment_methods": [
      "PAYMENT_CARD",
      "BANK_ACCOUNT",
      "APPLE_PAY",
      "GOOGLE_PAY",
      "AFTERPAY"
    ],
    "amount_details": {
      "amount_type": "FIXED",
      "total_amount": 7500,
      "currency": "USD"
    },
    "additional_details": {
      "terms_of_service_url": "https://example.com/terms"
    }
  }'
```

For full API reference, see [Create Payment Link](/api/payment-links/createpaymentlink).

### Checkout Pages

Checkout Pages are available via the API only. To create a Checkout Page with Afterpay enabled, include `AFTERPAY` in the `allowed_payment_methods` array:


```shell Create Checkout Page with Afterpay
curl -i -X POST \
  -u USfdccsr1Z5iVbXDyYt7hjZZ:313636f3-fac2-45a7-bff7-a334b93e7bda \
  https://finix.sandbox-payments-api.com/checkout_forms \
  -H 'Content-Type: application/json' \
  -H 'Finix-Version: 2022-02-01' \
  -d '{
    "merchant_id": "MU7noQ1wdgdAeAfymw2rfBMq",
    "allowed_payment_methods": [
      "PAYMENT_CARD",
      "AFTERPAY"
    ],
    "amount_details": {
      "amount_type": "FIXED",
      "total_amount": 5000,
      "currency": "USD"
    }
  }'
```

For full API reference, see [Create Checkout Form](/api/checkout-forms/createcheckoutform).