Dashboard Overview
Checking Xero...
Auto-Sync Activ (30s)
Total Invoices
0
0 Paid0 Pending
Total Volume
£0.00
£0.00 Paid£0.00 Pending
Active API Keys
0
0 connected websites
Xero Status
Connecting...
Direct API Ready
Recent Invoices & Crezco Links
Real-time payment requests generated by external stores
Order Ref Store / Site Customer Amount Xero Invoice # Direct Crezco Link Payment Status Quick Action Created At
Loading transactions...
Instant Invoice & Crezco Link Generator
Test the live workflow: creates contact & invoice in Xero, launches headless Chrome to resolve Crezco pay URL, and returns checkout link
API Keys for External Stores
Manage API credentials for external ecommerce websites and partner channels
Store / Channel API Key Token Total Invoices Status Last Used Actions
Loading API keys...
All Gateway Invoices
Complete audit log of all generated invoices and payment statuses
Auto-Sync (30s): Activ
ID Store Order Ref Customer Amount Xero # Crezco URL Status Actions Date
Loading...
Showing 1 to 20
X
Xero OAuth 2.0
Disconnected
Not Connected
No organization linked yet
Scopes: ✓ Invoices ✓ Payments ✓ Contacts ✓ Settings ✓ Offline Access
API Credentials & Settings
Update Client ID, Secret and invoice template. Save first, then click Authorize.
Encrypted & Secured
#{order_id} {buyer_name} {site_name}
After saving, click Authorize / Reconnect above to complete OAuth flow.
1️⃣
Save Credentials
Enter Client ID & Secret then hit Save Settings
2️⃣
Authorize on Xero
Click Authorize / Reconnect and approve on Xero
3️⃣
Auto-Synced
Invoices & payments sync automatically every 30s
Integration Guide & Code Snippets
How to integrate external websites with this Payment Gateway via REST API

1. Endpoint: Create Payment Invoice

Send a POST request with your API Key to generate an instant Crezco checkout link.

POST https://payment.onlineservicegateway.com/api/gateway/invoices
Loading snippet...

2. Expected JSON Response

{
  "ok": true,
  "status": "success",
  "id": 104,
  "siteName": "Main Platform",
  "externalOrderId": "ORD-58192",
  "invoiceNumber": "INV-MAIN-ORD58192",
  "paymentUrl": "https://app.crezco.com/pay/cFd89qtAmUiyoTczedAMiQ",
  "crezcoUrl": "https://app.crezco.com/pay/cFd89qtAmUiyoTczedAMiQ",
  "xeroOnlineUrl": "https://in.xero.com/00192a-uuid-link",
  "amount": 1250,
  "currency": "GBP"
}