ArgusDocs
English Türkçe

Merchant applications

On this page

If you resell payment services to your own sellers, send their merchant applications and documents through the API and follow the review.

Integrator keys

Your payment institution opens your integrator account. The account gets its own API keys: ik_live_…, or ik_sandbox_… in the sandbox. The keys carry the scopes merchant_applications:read and merchant_applications:write. Send the key as a bearer token.

Integrator keys open only the /v1/partner/* endpoints, and merchant keys are not accepted there. You see only your own applications. Any other id returns 404 resource_missing. An invalid key returns 401, and a key without the scope returns 403 insufficient_scope.

The limit is 120 requests per minute and 60 document uploads per minute. Above it you get 429. Wait for the Retry-After seconds. These endpoints do not use Idempotency-Key. If a create request times out, send it again with the same external_reference. You get either the new application or 409 with the id of the one that exists.

1. Create the application

Send the company, its partners and authorized signatories, its websites, the payout account (IBAN) and the products it asks for.

company.legal_name, company.tax_id (10 or 11 digits) and company.mcc (4 digits) are required. company.mersis_no (16 digits) is optional. You can send up to 20 partners and 10 websites. Without products, the application asks for virtual_pos. The other products are physical_pos and softpos.

company.legal_form (sole_proprietorship, limited or joint_stock) must fit the tax id: 11 digits for a sole proprietorship, 10 digits for a company. Otherwise the call returns 400.

Each partner needs a type (individual or legal_entity), a name and an identity:

Field Rule
tckn The 11-digit ID number of an individual who is a Turkish citizen.
passport_number, nationality For a foreign individual: the passport number and the two-letter country code, such as DE.
vkn The 10-digit tax number of a legal_entity.
birth_date YYYY-MM-DD. Required for an individual. A legal entity has none.
share_ppm The share in parts per million, from 0 to 1000000. 1000000 is 100%. A partner with a share is a shareholder.
roles Any of shareholder, board_member, authorized_signatory and managing_partner.
signature_authority single or joint for an authorized_signatory. Leave it out, or send none, for everyone else.

external_reference is your own id for the application, up to 100 characters. It must be unique among your applications. If you send one that exists, you get 409 resource_already_exists with the id of the existing application.

{
  "external_reference": "MUS-1042",
  "company": {
    "legal_name": "Moda Kitabevi Ltd. Şti.",
    "trade_name": "Moda Kitabevi",
    "tax_id": "1234567890",
    "legal_form": "limited",
    "mcc": "5942"
  },
  "contact": {"name": "Mehmet Demir", "email": "mehmet.demir@modakitabevi.com.tr", "phone": "+905339876543"},
  "partners": [
    {
      "type": "individual",
      "name": "Mehmet Demir",
      "tckn": "12345678950",
      "birth_date": "1978-06-03",
      "share_ppm": 1000000,
      "roles": ["managing_partner", "authorized_signatory"],
      "signature_authority": "single"
    }
  ],
  "websites": ["https://modakitabevi.com.tr"],
  "settlement_account": {"iban": "TR190006400123456789012345", "holder_name": "Moda Kitabevi Ltd. Şti."},
  "products": ["virtual_pos"]
}
curl -X POST https://api.pf.organizer.tr/v1/partner/merchant_applications \
  -H "Authorization: Bearer ik_sandbox_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d @application.json

The response is the application in draft. It lists the documents the company's legal form requires:

{
  "id": "mapp_01J9ZQ4V8K2M3N5P7R9T1W3Y5A",
  "object": "merchant_application",
  "status": "draft",
  "status_reason": null,
  "external_reference": "MUS-1042",
  "merchant": "mer_01J9ZQ4V8K2M3N5P7R9T1W3Y5A",
  "livemode": false,
  "company": {"legal_name": "Moda Kitabevi Ltd. Şti.", "trade_name": "Moda Kitabevi", "legal_form": "limited", "mcc": "5942"},
  "requested_products": ["virtual_pos"],
  "requirements": [
    {"type": "tax_certificate", "required": true, "state": "missing", "reason": null, "document": null},
    {"type": "signature_circular", "required": true, "state": "missing", "reason": null, "document": null},
    {"type": "trade_registry_gazette", "required": true, "state": "missing", "reason": null, "document": null},
    {"type": "id_copy", "required": true, "state": "missing", "reason": null, "document": null},
    {"type": "activity_certificate", "required": true, "state": "missing", "reason": null, "document": null},
    {"type": "bank_letter", "required": true, "state": "missing", "reason": null, "document": null}
  ],
  "created": 1795167000,
  "submitted": null,
  "status_changed": 1795167000
}

Each requirement has a state: missing, pending_review, approved, expiring, expired, rejected or missing_info. reason says why a document was rejected or needs more information.

Required documents by legal form:

Legal form Required types
sole_proprietorship tax_certificate, id_copy, activity_certificate, bank_letter, signature_declaration
limited tax_certificate, id_copy, activity_certificate, bank_letter, signature_circular, trade_registry_gazette
joint_stock The limited set, plus shareholding_structure

Without legal_form, an 11-digit tax id counts as a sole proprietorship and a 10-digit one as a joint-stock company. This holds until the review confirms the form.

2. Upload the documents

Upload each document as multipart/form-data with type, file and, when needed, issued_on, valid_until (both YYYY-MM-DD) and a note for the reviewer, up to 500 characters. type is one of the types in the table above, or other for any extra document. PDF, PNG and JPEG are accepted, up to 20 MB, and the file type is read from the content. A file that fails the malware scan is refused with 400.

activity_certificate needs issued_on. If you send issued_on without valid_until, the document is valid for 180 days after the issue date for an activity certificate and 365 days for a tax certificate. issued_on cannot be in the future. valid_until cannot be in the past or before issued_on. A document that has already expired on that date is refused with 400.

Uploading a type again replaces its current version. The review keeps the earlier versions.

curl -X POST https://api.pf.organizer.tr/v1/partner/merchant_applications/mapp_01J9ZQ4V8K2M3N5P7R9T1W3Y5A/documents \
  -H "Authorization: Bearer ik_sandbox_YOUR_KEY" \
  -F type=activity_certificate \
  -F issued_on=2026-10-01 \
  -F file=@faaliyet-belgesi.pdf
{
  "id": "doc_01JB2Z7A1C3E5G7J9L1N3Q5S7U",
  "object": "merchant_document",
  "type": "activity_certificate",
  "version": 1,
  "status": "pending_review",
  "reason": null,
  "file_name": "faaliyet-belgesi.pdf",
  "content_type": "application/pdf",
  "size": 48213,
  "sha256": "9f2c1d8e4b7a6f3e2d1c0b9a8f7e6d5c4b3a2f1e0d9c8b7a6f5e4d3c2b1a0f9e",
  "issued_on": "2026-10-01",
  "valid_until": "2027-03-30",
  "created": 1795167300
}

3. Submit

Submit the application once every required document is uploaded. If one is missing, you get 400 with the missing types. Submitting the same application twice also returns 400.

curl -X POST https://api.pf.organizer.tr/v1/partner/merchant_applications/mapp_01J9ZQ4V8K2M3N5P7R9T1W3Y5A/submit \
  -H "Authorization: Bearer ik_sandbox_YOUR_KEY"

4. Follow the status

Status Meaning
draft Created, not submitted.
submitted, in_review Waiting for review, or under review.
action_required A required document is missing, expired or rejected, or the review needs more information. status_reason and the reason of each requirement say what to fix. Upload a new version.
approved, rejected The decision of the review.
active, suspended, terminated The states after approval.

You can upload documents until the decision: in draft, submitted, in_review and action_required. In any other status the upload returns 400.

When the review approves or rejects an application, the owners and admins of the merchant account who already have panel access also get an email. Your integrator account also receives the merchant_application.updated webhook.

curl https://api.pf.organizer.tr/v1/partner/merchant_applications/mapp_01J9ZQ4V8K2M3N5P7R9T1W3Y5A \
  -H "Authorization: Bearer ik_sandbox_YOUR_KEY"

curl "https://api.pf.organizer.tr/v1/partner/merchant_applications?status=action_required&limit=20" \
  -H "Authorization: Bearer ik_sandbox_YOUR_KEY"

The list shows the newest application first. limit is 1 to 100 (default 10). For the next page, set starting_after to the last application id. An id that is not yours returns 404.

Webhooks

Give your webhook URL to your payment institution. You receive the signing secret once.

Each delivery is a POST with a JSON event and the header Argus-Signature: t=<unix>,v1=<signature>. The signature is the hex HMAC-SHA256 of t + "." + body, computed with your secret. Verify it as the Webhooks guide describes.

Event types:

The URL must be an https address with a host name, not an IP address. It must resolve to a public address, and redirects are not followed. Answer with any 2xx status. Any other answer, or no answer, is a failure. A failed delivery is retried with growing delays, up to 8 attempts in about two hours. Skip duplicates by the event id.

{
  "id": "ievt_01JB2ZB4D6F8H0K2M4P6R8T0V2",
  "object": "event",
  "type": "merchant_application.updated",
  "created": 1795253400,
  "livemode": false,
  "data": {
    "object": {
      "id": "mapp_01J9ZQ4V8K2M3N5P7R9T1W3Y5A",
      "object": "merchant_application",
      "status": "action_required",
      "previous_status": "in_review",
      "status_reason": "trade_registry_gazette: The latest gazette page is missing."
    }
  }
}

Sandbox

In the sandbox (ik_sandbox_… keys, livemode: false), the review is simulated right after you submit:

The simulated decision changes only the application status. The sandbox never opens a live merchant account.

In the API reference

Next: Read how keys work in Authentication and API keys, then check Going live.