Dashboard
APIGet Payment Request API | BotSubscription
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_•••'

Get Payment Request - View Transaction Details via API

Retrieve a payment request by its ID for reconciliation or customer support.

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/{payment_request_id}

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.

payment_request_idstringrequired

The unique identifier of the payment request (UUID).

Trial confirmation and removed payment accounts

Completed automatic-trial receipts can include payment_request_data.trial with version: 1, UTC ISO starts_at and ends_at, and auto_renews: true. The marker records initial automatic enrollment, rather than current renewal status after a later cancellation. It is omitted for manual trials, pending setup, or unreadable receipt data; absence does not establish that membership activation failed. Project API keys create manual trials, but can read an existing automatic-trial receipt.

A removed merchant account can leave merchant_account_id: null while provider retains the original gateway. Payment history remains available after removal.

Last updated: