Skip to Content
VantraAPI Docs
API reference

API reference

Merchant endpoint inventory and response conventions.

MethodRoute (prefix /api/v1)Auth
POST/payments/generate-ldb-qrHMAC; optional Idempotency-Key
POST/payments/generate-ib-qrHMAC; optional Idempotency-Key
POST/payments/cardHMAC; optional Idempotency-Key
POST/payments/walletHMAC; optional Idempotency-Key
GET/payments/card/{identifier}/statusHMAC
GET/payments/wallet/{identifier}/statusHMAC
DELETE/payments/ldb-qr/{orderId}/cancelHMAC
DELETE/payments/wallet/cancel.serviceHMAC
POST/transactions/bank-reference/inquireHMAC
GET/payments/hosted/{transactionId}/statusx-payment-token; LIVE only
POST / GET/webhooksMerchant Bearer session
GET / PATCH / DELETE/webhooks/{id}Merchant Bearer session

See payment methods for create bodies, status for inquiries/cancellation, and webhook configuration for management. Portal-only routes such as GET /payments/{transactionId} require a merchant session and are not a generic HMAC status API.

Success envelope

{
  "success": true,
  "title": "CREATED",
  "message": "Simulated payment created; no funds move",
  "timestamp": "2026-11-10T05:00:00.000Z",
  "data": { "transactionId": "TXN-EXAMPLE", "status": "PENDING", "environment": "TEST" }
}

This is an abbreviated example, not a complete schema. Creation responses also include method-specific fields. The request helper unwraps data for you.

This reference is reviewed against the current controllers and DTOs. A downloadable merchant-only OpenAPI specification has not yet been generated; the service's combined Swagger output includes internal/admin operations and should not be published as merchant documentation unchanged.

Helper functions

Preview the full source and copy it directly from the code block. Each page documents arguments, return values, errors, and integration requirements. Downloads are optional.

On this page