ArgusDocs
English Türkçe

Overview

On this page

The concepts you need before you write code: accounts, keys, amounts, payment statuses, idempotency, versions and rate limits.

The API is a REST API over HTTPS. Requests and responses are JSON, every endpoint is under /v1, and you authenticate with an API key sent as a bearer token. To take a test payment right away, go to the quickstart.

Merchant account

Everything you create belongs to your merchant account: payments, refunds, customers and webhook endpoints. Your team manages the account in the merchant panel. Your servers call the API with the API keys of the same account.

Sandbox and live

Sandbox Live
Purpose Build and test your integration Real payments
Money Simulated, nothing moves Real
Secret key prefix sk_sandbox_ sk_live_
livemode on objects false true

Sandbox and live are separate installations. Each has its own base URL, keys, webhook endpoints and data, and a key works only in the installation that issued it. The samples on this site use the address of the installation you are reading, followed by /v1.

API keys

Key Prefix Where to use it
Secret sk_sandbox_…, sk_live_… Your server. Full access to your account.
Restricted rk_sandbox_…, rk_live_… Your server, limited to the scopes you choose. For example, a reporting job.
Publishable pk_sandbox_…, pk_live_… The browser or a mobile app. It can only collect cards and preview installments.

Create keys on the API keys page in the Developers menu of the merchant panel. See authentication.

Amounts

Amounts are integers in the minor unit of the currency, never decimals. Currencies are three-letter ISO codes in lowercase.

You mean You send
₺125.00 "amount": 12500, "currency": "try"
₺1,000.50 "amount": 100050, "currency": "try"

The amount of a payment is always the price of your goods. When the customer pays an installment surcharge, the card is charged amount_charged instead. Captures and refunds still use amount. See installments.

Payments

A card payment is a payment intent (pi_…). Its status is one of these:

status Meaning
requires_payment_method No card yet, or the last attempt failed. Ask for another card.
requires_confirmation The payment has a card and waits for you to confirm it.
requires_action The customer must complete 3D Secure.
processing The bank has not answered yet.
requires_capture The card is authorized. Capture the payment to collect the money (pre-authorization).
succeeded Paid.
canceled Canceled before capture, or refunded in full on the day of the sale.

A paid payment can later be disputed by the cardholder's bank. Its dispute field then shows the latest dispute, such as {"id": "dp_…", "status": "received"}, and is null otherwise. See disputes.

Getting paid

A captured payment reaches your available balance on its settlement date, net of fees. A payout then sends it to your bank account. See balance and payouts.

Idempotency

Send an Idempotency-Key header with every POST. If a request times out, send it again with the same key. It runs at most once, and you get the first answer. See errors and retries.

API versions

Your account is pinned to the API version that was current when you started. To use another version for one request, send Argus-Version: YYYY-MM-DD. Every response names the version it used in its Argus-Version header. The current version is 2026-10-01. New fields and endpoints are added without a new version. See Versioning.

Rate limits

A secret or restricted key can send 600 requests a minute. Above that you get 429 with a Retry-After header. See rate limits.

IDs, timestamps and metadata

Next: Make a test payment with the Quickstart, then read Authentication and API keys.