Developer & Business Integration
Integrate KIATOKEN payments into business portals, websites, applications, invoicing systems, WordPress, Elementor, POS, CRM/ERP platforms, and other trusted business systems.
Hosted payment. Verified completion.
Your trusted server creates a payment request through the KIA-PAY Developer API. KIA-PAY returns a hosted payment URL, handles the payment experience and verification, and provides status updates and signed webhook delivery.
Business System
↓
KIA-PAY Developer API
↓
Hosted Secure Payment Page
↓
Customer Pays
↓
Verified Completion
↓
Webhook / Status UpdateWhat is the KIA-PAY API?
The KIA-PAY API is a secure integration layer for businesses that want to accept KIATOKEN through their own website, customer portal, e-commerce workflow, invoicing system, POS, CRM/ERP platform, SaaS product, or mobile application.
External systems do not receive or use the merchant's KIA-PAY username and password. A trusted business server uses a merchant-owned Developer API key to communicate with KIA-PAY.
Basic integration flow
- Create or use an approved KIA-PAY merchant account.
- Create a Developer API key for the appropriate environment.
- Store the API key only on your trusted server.
- Send a server-side request to create a payment.
- Open or redirect the customer to the returned payment URL.
- Use a signed webhook as the primary automatic update mechanism.
- Use the status endpoint for checks and reconciliation.
- Treat a payment as paid only after KIA-PAY marks it Completed.
Production API endpoints
| Method | Endpoint | Purpose |
|---|---|---|
GET | https://pay.kiahelps.com/api/v1/health | Check API availability |
POST | https://pay.kiahelps.com/api/v1/payments | Create a payment request |
GET | https://pay.kiahelps.com/api/v1/payments/{paymentId} | Retrieve payment status and details |
Supported payment input
| Field | Type | Required | Description |
|---|---|---|---|
amount | number / string | Yes | Positive payment amount |
currency | string | Yes | Payment currency |
merchant_reference | string | No | Invoice, order, or business reference |
customer_note | string | No | Note visible with the payment request |
merchant_note | string | No | Internal merchant note |
customer_name | string | No | Customer full name |
customer_email | string | No | Customer email address |
customer_phone | string | No | Customer phone number |
customer_address | string | No | Customer billing or mailing address |
customer_id_type | string | No | drivers_license, passport, national_id, or other |
customer_id_number | string | No | Only the last 4 characters are persisted in the payment record |
apply_tax | boolean | No | Apply merchant-defined tax |
tax_name | string | No | Tax label, such as Sales Tax |
tax_rate | number / string | No | Tax percentage |
Example create-payment request
POST /api/v1/payments
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
Idempotency-Key: order-1001
{
"amount": 100,
"currency": "USD",
"merchant_reference": "ORDER-1001",
"customer_name": "Example Customer",
"customer_email": "customer@example.com",
"customer_phone": "555-123-4567",
"customer_address": "123 Example Street",
"customer_id_type": "drivers_license",
"customer_id_number": "EXAMPLE1234",
"customer_note": "Payment for Order 1001",
"merchant_note": "Online order",
"apply_tax": true,
"tax_name": "Sales Tax",
"tax_rate": "5"
}A successful request returns payment information including a unique KIA-PAY payment ID and a hosted payment_urlthat can be opened for the customer.
Status, verification & expiration
Retrieve a payment through GET /api/v1/payments/{paymentId}. The response provides payment status and core payment details for the authenticated merchant.
Current Developer API and merchant-created payment requests use a 24-hour expiration period.
Automatic business updates
Webhooks allow KIA-PAY to notify your business system when a verified event occurs. The primary payment event is payment.completed.
Webhook delivery headers
Content-Type: application/json User-Agent: KIA-PAY-Webhooks/1.0 KIA-Pay-Event-Id: evt_... KIA-Pay-Timestamp: <unix seconds> KIA-Pay-Signature: v1=<hex HMAC-SHA256>
Webhook endpoints must use a public HTTPS URL. Your handler should validate the signature, timestamp, event identity, and replay/duplicate behavior before applying a business action. Webhook processing should be idempotent.
Receipts & verification
Completed KIA-PAY payments support receipt information, receipt-hash verification, and automatic receipt email when an eligible customer email is available.
Receipt hashes are created only for completed payments. They are not created for pending, expired, cancelled, or failed payment requests.
Low-code business integration
The KIATOKEN KIA-PAY WordPress plugin provides a server-side bridge between a WordPress business website and the KIA-PAY Developer API. The API key remains in the plugin/server configuration rather than being exposed to the customer.
[kia_pay_portal]- Install the KIATOKEN KIA-PAY plugin.
- Create a KIA-PAY Developer API key.
- Store the connection in the plugin settings.
- Use the KIA-PAY portal, payment shortcode, or Elementor widget.
- Publish and test payment creation.
- Confirm the hosted page belongs to the correct merchant.
- Complete a controlled payment and verify status and receipt behavior.
Integrate from your trusted backend
KIA-PAY can be integrated with Node.js / Next.js, PHP / Laravel, Python / Django, ASP.NET, Java, and other server-side environments capable of making HTTPS requests.
Customer Browser
↓
Business Portal Backend
↓
KIA-PAY Developer API
↓
payment_id + payment_url
↓
Business Portal Backend
↓
Open KIA-PAY Hosted Payment PageAfter payment creation, use the webhook as the primary automatic update mechanism and the payment-status endpoint for checks, reconciliation, and recovery workflows.
Integration requirements
- Keep API keys and webhook secrets server-side.
- Use separate keys per merchant and environment where appropriate.
- Revoke and replace any exposed API key.
- Use a unique Idempotency-Key for payment creation.
- Verify webhook signatures and protect against replay and duplicate events.
- Do not authorize a payment only from merchant_reference.
- Do not log plaintext API keys, webhook secrets, or full customer ID numbers.
- For fixed-price commerce, derive or verify the amount on the trusted server.
- Use verified KIA-PAY Completed status as payment authority.
Bring KIATOKEN payments to your business.
Register a business, access your merchant account, or visit the Help Center for additional KIA-PAY guidance.
