Dashboard Overview
Checking Xero...
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
ID Store Order Ref Customer Amount Xero # Crezco URL Status Actions Date
Loading...
Showing 1 to 20
Xero OAuth 2.0 Integration
Connect and manage the official Xero organization for live invoice generation
Disconnected
Connected Organization:
Not Connected
Tenant ID: -
Available placeholders: #{order_id}, {buyer_name}, {site_name}
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"
}