The OwnPay Merchant API lets you programmatically initiate payments, query transactions, issue refunds, manage customers, and manage API keys.
Full interactive reference: docs.ownpay.org
Base URL
The API is served from your brand’s own custom domain:
Every brand gets its own isolated API endpoint.
Authentication
All endpoints require a Bearer API key in the Authorization header:
API keys carry scopes - read, write, and admin.
Get your API key: Admin Panel > Developer Hub > API Keys > Generate
API keys are shown once at creation. Store them in a secrets manager immediately.
All responses are JSON:
Error responses:
HTTP status codes
Endpoints
Health check
Returns system status. No authentication required.
Payments
Initiate payment intent
Retrieve payment details
Transactions
List transactions
Retrieve transaction
Refunds
List refunds
Request refund
Customers
List customers
Create customer
Retrieve customer
Looks up by email address or phone number (URL-encoded).
API keys
Requires write + admin scopes
List API keys
Generate API key
Revoke API key
Webhooks
Dispatch test webhook
Webhook delivery log
Quick reference
See Also