> For the complete documentation index, see [llms.txt](https://paylater.gitbook.io/paylater-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://paylater.gitbook.io/paylater-docs/getting-started/quickstart.md).

# API GUIDE

The [PayLater ](https://paylaterapp.com/)API is your gateway to building custom, end-to-end BNPL experiences directly into your platform, mobile app, or checkout flow. Designed with flexibility and performance in mind, our RESTful APIs give you full control — from shopper onboarding and credit checks to transaction creation, refunds, and settlement reporting.

Whether you’re building a lightweight integration or a fully automated finance workflow, this section walks you through every step with clear endpoints, authentication guides, sample requests, and best practices.

### What You’ll Find Here:

OAuth 2.0 Client Credentials

* [Retrieve Your OAuth Credentials](/paylater-docs/getting-started/quickstart/get-access-token.md)

Process Transactions

* [Generate Payment Link](/paylater-docs/getting-started/quickstart/generate-payment-link.md)
* [Request to Pay (POS)](/paylater-docs/getting-started/quickstart/request-to-pay.md)
* [Check Order Status](/paylater-docs/getting-started/quickstart/check-payment-status.md)
* [Get Shopper Information](/paylater-docs/getting-started/quickstart/get-shopper-information.md)
* [Get Transaction by Order ID](/paylater-docs/getting-started/quickstart/get-transaction-by-order-id.md)
* [Get Transactions](/paylater-docs/getting-started/quickstart/get-transactions-list.md)
* [Refund](/paylater-docs/getting-started/quickstart/refund-api.md)
* [Partial Refund](/paylater-docs/getting-started/quickstart/partial-refund.md)
* [Webhook Intergration](/paylater-docs/getting-started/quickstart/webhook-integration.md)
* Error handling & response codes

Start integrating and unlock the power of [PayLater ](https://paylaterapp.com/)— where flexibility meets finance, one API call at a time.

## 🔐Authentication

All API requests must be authenticated using an `Authorization Bearer Token`. This key is issued to each merchant and must be included in all requests.\
\
To receive this Bearer Token use [Retrieve your OAuth Credentials](/paylater-docs/getting-started/quickstart/get-access-token.md) API.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://paylater.gitbook.io/paylater-docs/getting-started/quickstart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
