Back to Documentation
API Reference
Complete reference for Solid API endpoints with live examples
For the full interactive OpenAPI specification, visit the OpenAPI Explorer.
6
Categories
1,342
Endpoints
Bearer Token
Auth
JSON
Format
Looking for the full API?
The OpenAPI Explorer has all 1,342 endpoints with interactive try-it-out functionality.
Categories
Payments
POST
/v1/paymentsCreate a new payment
Example Request
curl https://api.solidnumber.com/v1/payments \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"amount": 5000,
"currency": "usd",
"payment_method": "card",
"customer_id": "cus_123",
"description": "Order #1234"
}'Request Body
{
"amount": 5000,
"currency": "usd",
"payment_method": "card",
"customer_id": "cus_123",
"description": "Order #1234"
}Response
{
"id": "pay_123",
"amount": 5000,
"currency": "usd",
"status": "succeeded",
"created_at": "2025-01-01T00:00:00Z",
"receipt_url": "https://..."
}