AntaraPayAPI v1

Introduction

AntaraPay API v1 integration guide for merchants and companies: quick flow, endpoint overview, and contents.

Draft contract v1

This document is a draft v1 integration contract. Environment URLs, credentials, active channels, amount limits, and the effective fee policy are provided during onboarding. The examples do not mean the endpoints are already available in production. Use the simulator or sandbox provided by AntaraPay before going live.

About this guide

This guide explains how a merchant backend creates payment instructions, fetches a QRIS or VA, submits payouts, reads balances and journals, and receives status notifications from AntaraPay. Your customers keep interacting with your own website or app.

API contract v1 · English · October 15, 2026. Planned production host: https://api.antarapay.com.

Integration flow at a glance

  1. Keep the API key on your backend. Create an HTTPS webhook endpoint and register it in the integration dashboard.
  2. Create a payin with a unique order reference and an Idempotency-Key. Store the AntaraPay ID you receive.
  3. Fetch the status until the instruction is ready, then show the QR or payment instruction to your customer.
  4. Receive a verified webhook with status completed, failed, or expired. Fulfil the order only on a completed webhook or a payin GET showing SUCCEEDED; balance availability is checked separately.
  5. To send funds, submit a payout through the API. AntaraPay holds the balance and processes it after admin approval.

Endpoint overview

The base path of every endpoint is /api/v1. Every POST requires an Idempotency-Key.

MethodPathScopePurpose
POST/api/v1/payinspayins:writeCreate a payin (202)
GET/api/v1/payinspayins:readList payins
GET/api/v1/payins/{id}payins:readPayin details and instruction
GET/api/v1/payins/{id}/qrpayins:readQR image (PNG)
POST/api/v1/payoutspayouts:writeSubmit a payout (202)
GET/api/v1/payoutspayouts:readList payouts
GET/api/v1/payouts/{id}payouts:readPayout details
POST/api/v1/payouts/{id}/cancelpayouts:writeCancel a payout
GET/api/v1/balancesbalances:readActive, On Hold, Pending balances
GET/api/v1/journalsjournals:readDebit/credit journal
GET/api/v1/settlementssettlements:readSettlements
GET/api/v1/channelschannels:readChannels, limits, and bank codes
POST/api/v1/reports/exportsreports:writeRequest a report export
GET/api/v1/reports/exports/{id}reports:readExport status and download URL

Contents