test_framework

Get payment history

Changed on

Returns a paginated list of all payments (auto-pay, one-time, subscription) made by the organization.

get/test_framework/billing/payment-history/

Request

  • Base URL
    https://api.cekura.ai
  • URL
    https://api.cekura.ai/test_framework/billing/payment-history/
  • Auth
    • API key in header X-CEKURA-API-KEY
    • or HTTP bearer
    • or HTTP bearer

Query parameters

organization_idinteger required

Organization ID

Response

idinteger
amountstring
currencystring nullable

Currency code (e.g. USD, INR)

payment_type'auto_pay' | 'one_time_payment' | 'self_serve_credits' | 'self_serve_member_seat' | 'subscription' | 'subscription_member_seat' | 'null' nullable

Type of payment (auto_pay or one_time_payment)

  • auto_pay - Auto Pay
  • one_time_payment - One-Time Payment
  • self_serve_credits - Self-Serve Credits
  • self_serve_member_seat - Self-Serve Member Seat
  • subscription - Subscription
  • subscription_member_seat - Subscription Member Seat
descriptionstring

Payment description or notes

stripe_payment_intent_idstring nullable

Stripe PaymentIntent ID for tracking. CAUTION: subscription renewal rows (written by StripeWebhookView.handle_invoice_paid) store the Stripe invoice id here instead of a PI id. The payment_intent.payment_failed ops alert (send_granted_before_payment_failed_alert) matches this field against PI ids and relies on renewals NOT matching — if renewals ever store real PI ids, every dunning retry on a renewal would page ops.

created_atstring date-time

Changes