Billing
Retrieves billing invoices for the authenticated merchant. Requires authentication with merchant credentials.
Authorizations
AuthorizationstringRequired
Authorization token must be included in the Authorization header.
Example: Authorization: Bearer YOUR_TOKEN app_secret from API Keys section
Query parameters
vinteger · enumRequiredPossible values:
API version, must be 1
Responses
200
List of billing invoices successfully retrieved
application/json
401
Unauthorized - Invalid or missing authentication token
get
/billingGET /billing?v=1 HTTP/1.1
Host: api.simplepay.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"amount": "text",
"status": "pending",
"created_at": "2025-12-04T20:30:50.306Z"
}
]Last updated
Was this helpful?