---
id: endpoints
title: Endpoints
sidebar_label: Endpoints
hide_title: true
description: "Walley Checkout API endpoints for test and production"
---

import Ingress from '../../src/components/ingress/ingress.react';

<Ingress title="Checkout Environment Endpoints">
    The hostname in the example requests throughout this documentation should be changed to the environment currently being used.
    For testing and staging purposes, Walley Merchant Services will setup an account in the UAT environment where you can test your implementation before moving to production.
</Ingress>

## Testing endpoints 🧪

No real money will be involved in transactions.

| Environment             | Checkout Environment Endpoint                           | Description                                                                                                                                     |
| ----------------------- | ------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| Backend API             | https://api.uat.walleydev.com/checkouts                 | Called from your backend to initialize and update checkout sessions, and to obtain information about checkout sessions and completed purchases. |
| Iframe loader script    | https://api.uat.walleydev.com/walley-checkout-loader.js | Used for loading the checkout iframe.                                                                                                           |
| Authentication Endpoint | https://api.uat.walleydev.com/oauth2/v2.0/token         | Read about [Authentication](/docs/checkout/authorization)                                                                                       |

## Production endpoints 🚀

All purchases are real and real money will be involved in transactions.

| Environment             | Checkout Environment Endpoint                       | Description                                                                                                                                     |
| ----------------------- | --------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| Backend API             | https://api.walleypay.com/checkouts                 | Called from your backend to initialize and update checkout sessions, and to obtain information about checkout sessions and completed purchases. |
| Iframe loader script    | https://api.walleypay.com/walley-checkout-loader.js | Used for loading the checkout iframe.                                                                                                           |
| Authentication Endpoint | https://api.walleypay.com/oauth2/v2.0/token         | Read about [Authentication](/docs/checkout/authorization)                                                                                       |
