Additional features
Beyond taking payments, the gateway offers services for surcharging, international sales, disputes, and real-time event notifications. Use them on their own or alongside your current integration.
Surcharging
A surcharge lets you add a fee to a card payment to cover card processing costs. Before you charge, request a surcharge advice: it checks whether the card allows a surcharge, works out the amount, and returns the adjusted total.
- 1Send a POST to
/surcharge-adviceswith the payment method (a stored card, hosted card, wallet payment, or card number) and the amount. - 2Show the customer the surcharge and adjusted total, and get their acknowledgement.
- 3Create the payment with the surcharge advice attached.
- 4If the card doesn't allow a surcharge, ask for a different card or go ahead without the surcharge.
Warning
Currency conversion
Two models are available for international payments. They differ in who chooses the currency, when the conversion happens, and what your integration must support.
| Multi-currency conversion (MCC) | Dynamic currency conversion (DCC) | |
|---|---|---|
| Who chooses | You. The customer pays in the currency your site shows. | The cardholder, at checkout |
| When it converts | At settlement, after authorization and batching | At the moment of payment |
| What you build | Send the right amount and ISO 4217 currency codes. No currency prompt is needed. | Show a quote and the required disclosures, capture the cardholder's choice, and print compliant receipts |
Note
Disputes
Dispute tools help you track and respond to chargebacks: collect evidence, follow each case, and meet response deadlines from one place. Learn how to prevent and win disputes in ONKORE's Chargeback Center.
Webhooks and notifications
The gateway creates a notification each time something important happens, such as a payment being authorized, captured, or settled. You can receive them two ways:
- Push (webhooks): the gateway sends each event to a URL you provide, so your system updates in real time.
- Pull: your server asks for notifications with a GET request to
/notifications, authenticated with your merchant alias and secret key. You can filter by creation date to fetch only new events.
Supported events
| Resource | Event types |
|---|---|
| Transaction | saleDeclined, saleAuthorized, saleHeldForReview, saleCaptured, saleSettled, voidDeclined, voidAuthorized, refundDeclined, refundAuthorized, refundCaptured, refundSettled |
| Payment session | expired, reset, saleDeclined, saleAuthorized, saleAuthorizationPending |
| Payment link | expired, saleDeclined, saleAuthorized, saleAuthorizationPending |
GET https://<api-host>/notificationsTreat notifications as a signal to check the latest status, make your handler safe to run more than once, and respond quickly. Webhook setup details come with your sandbox access.
Gateway services in this section are provided through ONKORE's processing partner, Elavon. Developer accounts, sandbox and production credentials, the developer portal, and the merchant portal are provided by Elavon, so you'll see the Elavon name in those emails, portals, and API addresses. ONKORE remains your point of contact.
