# Quickstart

Integrate PayLater in four steps — authenticate, generate a payment link in the sandbox, redirect a test shopper to pay, and confirm the result.

> **Tip: Prefer Postman?**
>
> Skip the copy-paste — [download our Postman collection](https://docs.paylaterapp.com/postman.html) with a ready-to-run sandbox environment and try every endpoint in seconds.

## 1. Get your credentials

There's no separate sandbox to provision. PayLater publishes a shared set of **sandbox test credentials** — Client ID, Client Secret, and Outlet ID — that you can build and test against straight away. You'll find them, along with test shoppers and cards, on the [Test environment](https://docs.paylaterapp.com/test-environment.html) page.

When you're ready to go live, get your **production** credentials from your Merchant Dashboard:

1. Log in to your **PayLater Merchant Dashboard** and open **Settings → Integration** to view your integration credentials.
2. Make sure your account has permission to see them. If you don't, your user role needs the *API credentials* permission.
3. To grant it: go to **User Management → Roles**, click **Edit** on the role, open the **Admin** section, and toggle **API Credentials** on. Log out and back in — the credentials then appear under **Settings → Integration**.

## 2. Get an access token

Exchange your client credentials for an OAuth 2.0 bearer token — see [Authentication](https://docs.paylaterapp.com/authentication.html). Send it as `Authorization: Bearer <ACCESS_TOKEN>` on every call.

## 3. Generate a payment link

Call [Generate Payment Link](https://docs.paylaterapp.com/generate-payment-link.html) with the order amount and your redirect URLs, then send the shopper to the returned `paymentLinkUrl`.

## 4. Confirm the result

Listen for the order [webhook](https://docs.paylaterapp.com/webhooks.html), or poll [Check Payment Status](https://docs.paylaterapp.com/check-payment-status.html).

> **Tip: Need help with credentials?**
>
> Stuck on production credentials or role permissions? Reach the integrations team at [tech@paylaterapp.com](mailto:tech@paylaterapp.com).
