Endpoints Overview
Base URLs
Authentication
All transaction endpoints require API key authentication via request headers.Rate Limits
Rate limits are applied per merchant per endpoint.Endpoints
Process a Card Sale
Processes a card payment transaction for a merchant. Card data is passed via secure Ozura tokenization — you must provide anozuraVaultToken and ozuraCvcSession rather than raw card details.
Processor Cascading: The
processor field is optional. If omitted,
OzuraPay will automatically select a processor based on the merchant’s active
integrations. To target a specific processor, pass one of the supported values
explicitly.Authentication
Request Body
Sales tax. When
salesTaxExempt is false, tax is calculated from the billing address and added to amount: US sales tax, and VAT, GST or sales tax in the other covered countries. For any other billing country no tax is added. Billing addresses in Mexico, China, Paraguay and Costa Rica are refused for now (Sales tax calculation failed, naming the country), and nothing is charged.billingState and billingZipcode must always be sent. Outside the US and Canada they may be empty ("") when the address has no region or postal code.Example Request
Query Transactions
Retrieves transaction records for a merchant. You can query by a specific transaction ID or by a date range.Authentication
Query Parameters
merchantReference, merchantRecurringReference, merchantPayLinkReference,
and paymentLinkId are only present on a transaction if they were provided
when it was created. Transactions without them omit the fields entirely.Example Requests
Response
Process a Card Refund
Processes a full or partial refund against a previously successful transaction.Partial vs. Full Refunds: The
amount field is optional. If omitted, the
full remaining refundable amount (currentAmount) of the original transaction
will be refunded. To issue a partial refund, specify the desired refund amount
as a decimal string.