Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.
/api/v1/transactionPOST
The digest is the lowercase hexadecimal HMAC-SHA256 of amount|txnid. Use the X-eGovPay-Token value as the HMAC key, but remove a leading test_ staging prefix before signing; production tokens are used unchanged.
Authorization
X-eGovPay-Token *<token>
eGovPay merchant token. Send the complete token in this header. Only digest computation strips a leading test_ prefix.. Token in: header
Request Bodyapplication/jsonrequired
amount *number
callback_url *string (uri)
currency?string
description?object
digest *string
Lowercase hexadecimal HMAC-SHA256 of amount|txnid. The key is the merchant token with a leading test_ prefix removed; production tokens are used unchanged.
email?string
expires_at?string (date-time)
items *object[]
Show item properties
amount *number
name *string
link_expires_at?string (date-time)
mobile?string
name?string
redirect_url *string (uri)
settlement_template_uuid *string (uuid)
txnid *string
Response
201 · Transaction and payment URL created.
data *object
Show properties
channel *object
Show properties
refno *string
url *string
uuid *string
401 · Unauthorized merchant token.
Unauthorized merchant token.
422 · Invalid payment request.
Invalid payment request.
Request example
curl -X POST "https://egovpay-pgi-ws-dev.oueg.info/api/v1/transaction" \ -H "X-eGovPay-Token: <token>" \ -H "Content-Type: application/json" \ -d '{ "amount": 0, "callback_url": "https://example.com", "currency": "string", "description": {}, "digest": "string", "email": "string", "expires_at": "2024-01-15T09:30:00Z", "items": [ { "amount": 0, "name": "string" } ], "link_expires_at": "2024-01-15T09:30:00Z", "mobile": "string", "name": "string", "redirect_url": "https://example.com", "settlement_template_uuid": "550e8400-e29b-41d4-a716-446655440000", "txnid": "string" }'