Create Payment
Initiate a payment to a specific terminal with long-polling up to 90 seconds
Long-Polling Behavior
This endpoint uses long-polling and waits up to 90 seconds for the terminal to respond. Plan for this timeout in your HTTP client configuration.Terminal ID Resolution
TheterminalId parameter is resolved in the following order:
- Device ID (Recommended) - First checks if the ID matches a registered
deviceId - Connection ID (Fallback) - If no device ID match, treats it as a
connectionId
Handling Timeouts
If you receive a504 Gateway Timeout response:
- Do not retry the payment immediately
- Use Get Transaction to check if the payment completed
- Only retry if the transaction status is
FAILEDorCANCELLED
Authorizations
HMAC-SHA256 authentication. Requires three headers: x-api-key (your API key), x-timestamp (ISO 8601 timestamp), and x-signature (Base64-encoded HMAC-SHA256 signature). See Authentication documentation for signature computation.
Path Parameters
The terminal identifier. Can be either a deviceId (recommended) or connectionId (legacy fallback).
Body
Payment request details
Payment amount
ISO 4217 currency code (e.g., USD, EUR, PHP)
Payment method
CARD, CASH, MOBILE, OTHER Unique transaction identifier. Auto-generated if not provided.
When true, disables 90-second long-polling and returns 202 Accepted immediately. Payment result will be delivered via webhook. Requires at least one webhook endpoint configured.
Array of products in the transaction
Custom key-value pairs for your use