Skip to main content
GET

Overview

Check payment status in real-time using the payment reference. Essential for order processing, status polling, and payment verification.
Automatic Environment Detection: This endpoint automatically checks both production (SATIM) and sandbox transactions based on where the payment was created.

Path Parameters

string
required
Payment reference code (format: OCPL-XXXXXX-YYYY) Examples: - OCPL-A1B2C3-D4E5 - OCPL-123456-7890
This is the paymentRef returned when you created the payment link

Response

boolean
Indicates if the operation was successful
object
Payment status information
object
Response metadata

Status Values Explained

When you see this:
  • Customer hasn’t started the payment process yet
  • Payment is currently being processed by the bank
  • Link was just created and not yet used
What to do:
  • Continue polling for status updates
  • Display “Payment pending” to customer
  • Don’t fulfill the order yet
When you see this: - Payment completed successfully - Funds will be credited to your OneClick balance What to do: - Mark order as paid in your system - Fulfill the order/provide service - Send confirmation to customer
When you see this:
  • Payment was declined or failed
  • Payment link expired (20 minutes)
  • Customer cancelled the payment
What to do:
  • Mark order as failed/cancelled
  • Create a new payment link if customer wants to retry
  • Don’t fulfill the order
Payment links expire 20 minutes after creation if no payment is initiated. After expiration, the status will be FAILED.

Integration Example

Here’s how to implement status checking in your order system:

Next Steps

Create Payment Link

Learn how to create payment links

Integration Guide

Complete Navio integration guide