The Python SDK is available at OrcusHQ/orcuspay-python. Uses requests, no other dependencies.

Requirements

  • Python 3.9+
  • Orcuspay access and secret keys

Install

Create a checkout session

Retrieve a checkout session

List payments

Error handling

Available methods

  • create_checkout_session(params) — Create a hosted checkout page
  • get_checkout_session(id) — Retrieve a checkout session
  • list_payments(limit?, cursor?, status?) — List payments with pagination
  • get_payment(id) — Retrieve a single payment
  • list_payment_links(limit?, cursor?) — List payment links
  • create_payment_link(params) — Create a payment link
  • get_payment_link(id) — Retrieve a payment link
  • status() — Check API status

API URL

The SDK defaults to https://brain.orcuspay.com/api/v1. For self-hosted instances: