Payments
Get Payment
Retrieve the details and current status of a specific payment
GET
Documentation Index
Fetch the complete documentation index at: https://docs-openpay.nipuntheekshana.com/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
This endpoint supports two authentication methods:- Bearer token via the
Authorizationheader - HMAC signature via
X-API-KeyandX-Signatureheaders
Path Parameters
The unique identifier of the payment (e.g.,
pay_abc123def456).Response
Unique identifier for the payment.
Current payment status:
initiated, pending, confirming, paid, failed, or expired.The fiat amount of the payment.
The fiat currency (
USD or LKR).The equivalent USDT amount.
The blockchain wallet address for the payment.
URL to the QR code image.
The hosted checkout page URL.
The payment description.
The customer’s email address, if provided.
Custom key-value metadata attached to the payment.
The on-chain transaction hash, available once the payment is detected.
ISO 8601 timestamp of when the payment was confirmed, if applicable.
ISO 8601 timestamp indicating when the payment expires.
ISO 8601 timestamp of when the payment was created.