API Reference
Overview
REST API documentation for GivePay payment sessions
Overview
The GivePay API allows you to create and manage payment sessions programmatically. Use these endpoints to integrate GivePay payments directly into your application.
Base URL
https://api.givepay.co/api/v1Authentication
All API requests require an API key passed in the Authorization header:
Authorization: YOUR_API_KEYYou can obtain your API key from the GivePay dashboard.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
POST | /payment-session/checkout | Create a payment session and get checkout URL |
GET | /payment-session/:slug | Retrieve payment session details |
GET | /subscription/:slug | Retrieve subscription details |