Dashboard
APIList Payment Requests
api.botsubscription.com
GET/v1/endpoint
AuthenticationBearer
Token
Stays in this tab. Required for this endpoint — the value below is what gets sent.
Examples
curl --request GET \
  --url https://api.botsubscription.com/v1/endpoint \
  --header 'Authorization: Bearer sk_live_•••'

List Payment Requests

Get all payment transactions for your subscription bot. Each payment request record includes the amount, currency, status (pending, completed, failed), payment provider details, and timestamps. Use pagination to efficiently query large transaction histories.

Read status to determine whether a payment request is complete. An amount of "0" alone does not prove completion.

GET/v2/projects/{project_id}/payment-requests

Authorization

Bearer API KeyRequired

API key access: Unrestricted project API key required. Restricted keys cannot call this endpoint.

Path Parameters

project_idstringrequired

The unique identifier of the project.

Query Parameters

user_idstring

Filter to one customer's platform user ID. Requires payment-history:read permission.

limitinteger

Number of items per page. Default: 50

offsetinteger

Number of items to skip. Default: 0

Last updated: