> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sendapay.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Senda's REST API — resource-oriented URLs, JSON responses, and Bearer-token authentication

Senda's REST API is organized around standard resource-oriented URLs, returns JSON-encoded responses, and leverages standard HTTP response codes and authentication patterns.

Our staging sandboxes and live processors are separated by prefix-level key discrimination (`sk_test_` vs `sk_live_`).

## Service Base URLs

All API calls must target the canonical gateway:

* **Production API base:** `https://api.sendapay.io/v1`
* **Local Dev API base:** `http://localhost:8080/v1`

## API Authentication

Authenticate your API requests by including your secret key in the `Authorization` header of all server-to-server requests:

```http theme={null}
Authorization: Bearer sk_test_your_secret_key
```

Never expose your secret keys (`sk_`) in client-side code, mobile applications, or frontend bundles. Use your publishable keys (`pk_`) exclusively for client-side SDK initializations.
