ArgusDocs
English Türkçe

Wallet top-ups, payments and transfers

On this page

This guide covers the first money movements of a wallet: a load by card or bank transfer, a payment to a merchant's code, a transfer to another user and a withdrawal to a bank account. It starts where Wallet sign-up and verification ends, with a signed-in user.

Every call below carries the app headers, the access token and a DPoP proof, as that guide shows. Where a request is shown as a JSON block, the block is its body. Amounts are integers in kuruş: 25000 is ₺250.00.

Each kind of money movement has a switch in GET /meta channels: wallet_loads, wallet_payments, wallet_transfers_out and wallet_withdrawals. Show an action only while its switch is open. A closed one answers 503 channel_closed, and nothing moves.

Read the account

Every money call names an account: the wal_ id of the user's personal account. Read it, with the balance, from GET /accounts. GET /home returns the same account together with the latest statement lines.

curl https://wallet.pf.organizer.tr/w1/accounts \
  -H "Argus-App-Platform: ios" \
  -H "Argus-App-Version: 2.4.0" \
  -H "Authorization: DPoP lxsFzKevwOEfzeNdK6Hbe-ixyOgxgMPFJX5kMMqe3rQ" \
  -H "DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4Ijoi..."
{
  "data": [
    {
      "id": "wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ",
      "object": "wallet_account",
      "type": "personal",
      "name": "Ayşe Yılmaz",
      "currency": "TRY",
      "balance": 150000,
      "sendable": 125000,
      "card_balance": 25000,
      "held": 0,
      "pots": 0,
      "status": "active"
    }
  ]
}

balance is what the user can spend at merchants. sendable is the part that can go to a person or to a bank account, so money loaded by card is not in it. card_balance is that card money, held is set aside for payments still under way, and pots is set aside in pots. balance is sendable plus card_balance.

Idempotency keys

Every call that moves money or creates something takes an Idempotency-Key header. Make a new key, such as a UUID, for each action of the user, and keep it until that action has an answer.

Send the same key and body within 24 hours and you get the first answer again, with the header Idempotent-Replayed: true. Nothing runs twice. When the user corrects something, such as a wrong PIN, send the corrected request with a new key. A missing key is 400 parameter_missing. The reference lists every rule of retries.

Here the same quote request was sent twice with one key, then a third time with the same key and another amount:

curl -X POST https://wallet.pf.organizer.tr/w1/loads/quote \
  -H "Argus-App-Platform: ios" \
  -H "Argus-App-Version: 2.4.0" \
  -H "Authorization: DPoP lxsFzKevwOEfzeNdK6Hbe-ixyOgxgMPFJX5kMMqe3rQ" \
  -H "DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4Ijoi..." \
  -H "Idempotency-Key: 9d4b6e21-7c3a-4f58-b0e9-1a2c3d4e5f60" \
  -H "Content-Type: application/json" \
  -d '{"account": "wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ", "method": "card", "amount": 25000}'

The second answer is the first one again, with Idempotent-Replayed: true. The third is refused:

{
  "error": {
    "type": "idempotency_error",
    "code": "idempotency_conflict",
    "param": null,
    "message": "Keys for idempotent requests can only be used with the same parameters they were first used with. Try using a key other than this one if you meant to execute a different request.",
    "request_id": "req_01M4ZCMBM0W6TD2YWJPJ3BP6D0"
  }
}

Load by card

A load by card adds money from a credit card issued outside the wallet. It works before identification too, within the small allowance. At that stage a card issued outside Türkiye is declined, and a load that would pass the allowance ends expired with failure_code: unverified_limit_exceeded. The card payment is then refunded. GET /meta says whether the installation takes card loads (card_loads: true).

Get a quote

The installation may charge a fee for a card load. Ask what the load costs before the card page opens:

{
  "account": "wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ",
  "method": "card",
  "amount": 25000
}
{
  "id": "wlq_01M4ZCMBM05V9D9NXR1R8ESPCP",
  "object": "load_quote",
  "account": "wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ",
  "method": "card",
  "amount": 25000,
  "fee": 725,
  "total": 25725,
  "currency": "TRY",
  "fee_bearer": "user",
  "fee_ppm": 25000,
  "fee_fixed": 100,
  "created": 1792054800,
  "expires_at": 1792055400
}

The account is credited exactly amount. The fee comes on top, and the card is charged total. Show all three before the user goes on: the amount to load, the fee (leave it out when it is 0) and what the card is charged.

Here the fee is 2.5% (fee_ppm 25000 is 25,000 parts per million) plus ₺1.00 (fee_fixed): 625 + 100 = 725 kuruş. With fee_bearer: institution, the fee is 0 and the card is charged amount.

The quote works for 10 minutes and for one load. Nothing is charged or held by a quote.

Start the load

Send the quote's id with the same account and amount:

curl -X POST https://wallet.pf.organizer.tr/w1/loads \
  -H "Argus-App-Platform: ios" \
  -H "Argus-App-Version: 2.4.0" \
  -H "Authorization: DPoP lxsFzKevwOEfzeNdK6Hbe-ixyOgxgMPFJX5kMMqe3rQ" \
  -H "DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4Ijoi..." \
  -H "Idempotency-Key: 2f7a9c03-58e1-4b6d-9a4f-c1e0b2d3a4f5" \
  -H "Content-Type: application/json" \
  -d '{"account": "wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ", "method": "card", "amount": 25000, "quote": "wlq_01M4ZCMBM05V9D9NXR1R8ESPCP"}'
{
  "classification": {
    "movement_code": "A3",
    "relation": "own",
    "from_account_type": "card_scheme",
    "to_account_type": "personal",
    "purpose": {
      "category": "own_funds",
      "subcategory": "load",
      "detail": null,
      "source": "inferred"
    }
  },
  "id": "wld_01M4ZCMBM0DHHKS6PG30Z617XS",
  "object": "load",
  "account": "wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ",
  "method": "card",
  "status": "awaiting_payment",
  "reference": "WLZ1HBQ1F4",
  "currency": "TRY",
  "amount_received": null,
  "bank_account": {
    "iban": "TR800009090000000000200001",
    "holder_name": "Örnek Ödeme ve Elektronik Para A.Ş.",
    "bank_name": "Örnek Bank"
  },
  "created": 1792054800,
  "expires_at": 1792056600,
  "not_credited": [],
  "amount": 25000,
  "card_page": null,
  "failure_code": null,
  "save_card": false,
  "saved_card": null,
  "fee": 725,
  "amount_charged": 25725,
  "quote": "wlq_01M4ZCMBM05V9D9NXR1R8ESPCP"
}

card_page is null at first. Poll GET /loads/{id} every second or two until it carries the URL of the payment page, then open that page in the app's web view. The user types the card there and completes 3D Secure. The card number never reaches this API or the app.

Keep polling until the load is completed or expired. A load not paid within 30 minutes is expired. A card the load does not take (a debit, prepaid or unknown card, or the wallet's own card) ends it expired with failure_code: card_not_accepted. A bank decline ends it expired with card_declined. Nothing is charged in either case. Offer the user a new load. When the load completes, the user's devices get a push, and GET /home shows the new balance.

Money loaded by card pays merchants, the wallet's cards and wallet payments. It cannot be sent to a person or withdrawn, so it is not part of the account's sendable amount.

Code Status What the app does
load_quote_required 409 The installation charges a fee and no quote was sent. Get a quote, show it, and send its id.
load_quote_expired, load_quote_outdated, load_quote_used 409 The quote is too old, the fee changed or another load used it. Get a new quote.
load_quote_mismatch 400 The quote is for another account or amount.

A load without a quote, where the installation charges a fee, looks like this:

{
  "error": {
    "type": "invalid_request_error",
    "code": "load_quote_required",
    "param": "quote",
    "message": "Loading by card has a fee: get a quote (POST /w1/loads/quote), show it, and send its id as quote.",
    "request_id": "req_01M4ZCMBM0KWDYAR0GZD84FV83"
  }
}

Load by bank transfer

A load by bank transfer needs an identified user. The user sends a transfer from a bank account in their own name to the institution's account, and writes the load's reference in the transfer description.

{
  "account": "wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ",
  "method": "bank_transfer",
  "amount": 50000
}
{
  "classification": {
    "movement_code": "A1",
    "relation": "own",
    "from_account_type": "bank",
    "to_account_type": "personal",
    "purpose": {
      "category": "own_funds",
      "subcategory": "load",
      "detail": null,
      "source": "inferred"
    }
  },
  "id": "wld_01M4ZCMBM06354TQ6BY6EN1VD0",
  "object": "load",
  "account": "wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ",
  "method": "bank_transfer",
  "status": "awaiting_transfer",
  "reference": "WLCYODX95K",
  "currency": "TRY",
  "amount_received": null,
  "bank_account": {
    "iban": "TR800009090000000000200001",
    "holder_name": "Örnek Ödeme ve Elektronik Para A.Ş.",
    "bank_name": "Örnek Bank"
  },
  "created": 1792054800,
  "expires_at": 1793264400,
  "not_credited": [],
  "amount": 50000,
  "card_page": null,
  "failure_code": null,
  "save_card": false,
  "saved_card": null,
  "fee": 0,
  "amount_charged": null,
  "quote": null
}

Show bank_account and reference, each with a copy button. amount is only what the user expects to send. The amount that arrives is what is credited, in amount_received.

The load completes when the institution's bank statement shows the transfer, and the user gets a push. The bank account the money came from then appears in GET /bank_accounts, and a withdrawal can go to it.

In the sandbox

On a sandbox whose GET /meta answers test_bank: true, the simulated bank can book the transfer for you. The load completes within about a minute, when the statement import runs.

curl -X POST https://wallet.pf.organizer.tr/w1/sandbox/test_transfers \
  -H "Argus-App-Platform: ios" \
  -H "Argus-App-Version: 2.4.0" \
  -H "Authorization: DPoP lxsFzKevwOEfzeNdK6Hbe-ixyOgxgMPFJX5kMMqe3rQ" \
  -H "DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4Ijoi..." \
  -H "Idempotency-Key: 5b8c1d2e-3f40-4a51-8b62-7c83d94ea5f6" \
  -H "Content-Type: application/json" \
  -d '{"load": "wld_01M4ZCMBM06354TQ6BY6EN1VD0", "amount": 50000}'
{
  "object": "test_transfer",
  "load": "wld_01M4ZCMBM06354TQ6BY6EN1VD0",
  "amount": 50000,
  "currency": "TRY",
  "reference": "WLCYODX95K",
  "sender": "holder",
  "sender_name": "AYŞE YILMAZ",
  "sender_iban": "TR700006200000000006299999",
  "bank_reference": "TOP-20261026-000001",
  "created": 1792054810
}

The call credits nothing itself. Poll GET /loads/{id} every few seconds until status is completed. amount_received then holds the credited amount, and the balance changes. sender_iban is the test bank account the transfer came from. It becomes a source for withdrawals and appears in GET /bank_accounts.

With "sender": "third_party" the transfer comes from someone else and goes back, the way a real one would. A user can send 10 test transfers an hour (429 rate_limited). The load must still be waiting for its transfer, otherwise the answer is 409 load_not_awaiting_transfer. A live installation has no such URL: it answers 404.

Confirm with the device and the PIN

A payment, a transfer and a withdrawal move money only after the user confirms them. Each one has a challenge: the exact data the user approves.

  1. Read the challenge. A payment carries it in GET /payments/{code}. A transfer or a withdrawal is first drafted, and the draft carries it.
  2. Show the user what the challenge says: the amount, the fee, the payee and the description.
  3. Sign challenge.canonical with the device key: ES256, as base64url of the 32-byte r followed by the 32-byte s. Sign the bytes exactly as they arrive, without parsing them first.
  4. Make a PIN proof of purpose confirm, with the device's wdv_ id (the device of the answer that bound it), challenge.digest, and the DPoP-Nonce that this request's DPoP proof names.
  5. Send both in the confirm call, with a new Idempotency-Key.

Wallet proof samples has code for steps 3 to 5 in Go, Swift and Kotlin.

The PIN proof is sealed as The PIN proof shows, from this plaintext:

{
  "pin": "482913",
  "purpose": "confirm",
  "device": "wdv_01M4ZCMBM0VFSCYC6RA84Y57MJ",
  "digest": "<challenge.digest>",
  "nonce": "<the DPoP-Nonce of the last answer>"
}

digest is the base64url SHA-256 of canonical. The server checks the signature, the PIN and that the challenge is unchanged, all in one step. A wrong PIN looks like this:

{
  "error": {
    "attempts_remaining": 4,
    "code": "pin_invalid",
    "message": "The PIN is not correct.",
    "param": null,
    "request_id": "req_01M4ZCMEHRNDVD3A36XRQRPBK5",
    "type": "authentication_error"
  }
}

Let the user enter the PIN again, and send the new proofs with a new Idempotency-Key. Five wrong PINs in a row lock PIN use for 30 minutes: then the answer is 423 pin_locked, with Retry-After.

Pay a merchant's code

A merchant of the installation creates a payment and shows the user a QR code or a link. The app has one scanner, and it sends every code it reads to POST /qr/resolve. A payment link opens the app as <scheme>://pay?code=wpa_…, where <scheme> is the installation's link scheme (pfwallet in the sandbox). The app sends it the same way.

A merchant makes the payment with POST /v1/wallet_payments of the Argus PF API. To get a code in a sandbox, make one that way: next_action.wallet_authorize.deeplink is the link and qr_payload is the QR code. A payment works for 5 minutes.

curl -X POST https://wallet.pf.organizer.tr/w1/qr/resolve \
  -H "Argus-App-Platform: ios" \
  -H "Argus-App-Version: 2.4.0" \
  -H "Authorization: DPoP lxsFzKevwOEfzeNdK6Hbe-ixyOgxgMPFJX5kMMqe3rQ" \
  -H "DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4Ijoi..." \
  -H "Content-Type: application/json" \
  -d '{"payload": "pfwallet://pay?code=wpa_01M4ZCMBM0VHD7C7CYT67MWNGD"}'

kind says what the code is. For payment, the answer carries the payment, and the app reads it in full with its challenge:

curl https://wallet.pf.organizer.tr/w1/payments/wpa_01M4ZCMBM0VHD7C7CYT67MWNGD \
  -H "Argus-App-Platform: ios" \
  -H "Argus-App-Version: 2.4.0" \
  -H "Authorization: DPoP lxsFzKevwOEfzeNdK6Hbe-ixyOgxgMPFJX5kMMqe3rQ" \
  -H "DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4Ijoi..."
{
  "amount": 18990,
  "challenge": {
    "v": 1,
    "type": "payment",
    "code": "wpa_01M4ZCMBM0VHD7C7CYT67MWNGD",
    "merchant": "mer_demo",
    "amount": 18990,
    "currency": "TRY",
    "expires_at": 1792055400,
    "canonical": "{\"v\":1,\"type\":\"payment\",\"code\":\"wpa_01M4ZCMBM0VHD7C7CYT67MWNGD\",\"merchant\":\"mer_demo\",\"amount\":18990,\"currency\":\"TRY\",\"expires_at\":1792055400}",
    "digest": "VVdqu6J2Y0EJINuy_bXC2tfJWEsvbHUWS_nOPUyZeYU"
  },
  "classification": null,
  "code": "wpa_01M4ZCMBM0VHD7C7CYT67MWNGD",
  "currency": "TRY",
  "description": "Sipariş 42",
  "expires_at": 1792055400,
  "failure_code": null,
  "merchant_city": null,
  "merchant_name": "Moda Kitabevi",
  "object": "wallet_payment",
  "status": "open"
}

Show the merchant's name, the amount and the description. The merchant's name comes from the installation, never from the code. The user pays, or refuses with POST /payments/{code}/decline.

curl -X POST https://wallet.pf.organizer.tr/w1/payments/wpa_01M4ZCMBM0VHD7C7CYT67MWNGD/confirm \
  -H "Argus-App-Platform: ios" \
  -H "Argus-App-Version: 2.4.0" \
  -H "Authorization: DPoP lxsFzKevwOEfzeNdK6Hbe-ixyOgxgMPFJX5kMMqe3rQ" \
  -H "DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4Ijoi..." \
  -H "Idempotency-Key: 7e1f2a3b-4c5d-4e6f-8a9b-0c1d2e3f4a5b" \
  -H "Content-Type: application/json" \
  -d @confirm.json
{
  "signature": "AMCugBHTh0PHWbQCYVV2fsv96Bwm36iovSQQbjbNFDeElI86okenmC-ihv7Fm9mE0L8d6J1GDW8uoOkegSup7w",
  "pin_proof": {
    "key_id": "pk_1",
    "ciphertext": "4XGTJCYMg6iVAQdu4NYRC0J1NAfkXiCHh1UHRcIztHBSj_usG0x7_lU15X0A8fyjdydKoaHvrR-fiNcBz4yHcHM_5YZnKgeNX6OqZO1p0mCtKpzvDVXGiO8K4R-ebpw37r-ynBjJUGTqyNAVwZT0fBctn2Quo0SQkIhv5Lab7h0poDeW4ka_UYmyX5TWqxB5eoZGtE00KpyLPZdR06Anr96HHUD0qGrEPdkAfueaEOxB5AvYLfqb4tRP2iz3xG6x582b9A8"
  }
}

The status code tells the app what happened:

Answer Meaning What the app does
200, status: paid The merchant is paid. Show the receipt.
202, status: approved The payment is approved and still being made. Poll GET /payments/{code} until it is paid or failed.
402, the payment with status: failed It failed while being made. failure_code says why. Show the failure. Nothing was spent.
402, an error It was refused before anything moved. Show the error. The code stays payable until it expires.
{
  "amount": 18990,
  "classification": null,
  "code": "wpa_01M4ZCMBM0VHD7C7CYT67MWNGD",
  "currency": "TRY",
  "description": "Sipariş 42",
  "expires_at": 1792055400,
  "failure_code": null,
  "merchant_city": null,
  "merchant_name": "Moda Kitabevi",
  "object": "wallet_payment",
  "status": "approved"
}

A user who is not identified yet can pay only in person: a merchant's printed code or a till that takes in-person payments only. An online checkout answers 409 identification_required with param: online.

Code Status What the app does
insufficient_balance 402 The balance does not cover the amount. Offer a load.
merchant_category_blocked 402 The merchant takes only money that can be sent, and the rest of the balance came from a card.
payment_expired 409 The payment passed its time. The merchant must make a new one.
payment_closed 409 The payment was decided already. A paid payment answers 200 as it is.
risk_unavailable 503 A short failure. The code stays payable, so try again.

Pay a printed code

A merchant can also print a code that has no amount, a static TR Karekod. POST /qr/resolve answers it with kind: static_code and a qr_code:

{
  "fast": null,
  "kind": "static_code",
  "object": "qr_resolution",
  "payment": null,
  "qr_code": {
    "code": "mqr_01M4ZCMBM0RA8YJ7C4V9X1E5HN",
    "currency": "TRY",
    "label": "Kasa 1",
    "merchant_city": "İstanbul",
    "merchant_name": "Moda Kitabevi",
    "object": "wallet_qr_code"
  },
  "refund_code": null
}

Ask the user for the amount, then start the payment:

curl -X POST https://wallet.pf.organizer.tr/w1/qr_codes/mqr_01M4ZCMBM0RA8YJ7C4V9X1E5HN/payments \
  -H "Argus-App-Platform: ios" \
  -H "Argus-App-Version: 2.4.0" \
  -H "Authorization: DPoP lxsFzKevwOEfzeNdK6Hbe-ixyOgxgMPFJX5kMMqe3rQ" \
  -H "DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4Ijoi..." \
  -H "Idempotency-Key: 1c9d8e7f-6a5b-4c3d-9e2f-0a1b2c3d4e5f" \
  -H "Content-Type: application/json" \
  -d '{"amount": 7500}'

The merchant's payment is made in a few seconds, and the call waits for it:

{
  "amount": 7500,
  "created": 1792054900,
  "currency": "TRY",
  "failure_code": null,
  "id": "wqp_01M4ZCMBM0Z3N6T8W1Y4B7D9F2",
  "merchant_name": "Moda Kitabevi",
  "object": "wallet_qr_payment",
  "payment": {
    "amount": 7500,
    "challenge": {
      "v": 1,
      "type": "payment",
      "code": "wpa_01M4ZCMBM0Q5S8V1X4Z7C9E2G6",
      "merchant": "mer_demo",
      "amount": 7500,
      "currency": "TRY",
      "expires_at": 1792055200,
      "canonical": "{\"v\":1,\"type\":\"payment\",\"code\":\"wpa_01M4ZCMBM0Q5S8V1X4Z7C9E2G6\",\"merchant\":\"mer_demo\",\"amount\":7500,\"currency\":\"TRY\",\"expires_at\":1792055200}",
      "digest": "CEtrRb9-FVKpPcvfA0vhXKmGmx7n4ynp7Mgxq9akMjg"
    },
    "classification": null,
    "code": "wpa_01M4ZCMBM0Q5S8V1X4Z7C9E2G6",
    "currency": "TRY",
    "description": "Kasa 1",
    "expires_at": 1792055200,
    "failure_code": null,
    "merchant_city": "İstanbul",
    "merchant_name": "Moda Kitabevi",
    "object": "wallet_payment",
    "status": "open"
  },
  "qr_code": "mqr_01M4ZCMBM0RA8YJ7C4V9X1E5HN",
  "status": "opened"
}
Answer Meaning What the app does
200, status: opened The payment is ready, in payment. Show it and confirm it as above, with POST /payments/{code}/confirm.
200, status: failed The payment could not be made. failure_code says why. Show the failure. Nothing moved.
202, status: requested The payment is still being made. Poll GET /qr_payments/{id} until it is opened or failed.
Code Status What the app does
amount_confirmation_required 409 The amount is far above the merchant's usual payments. Ask the user whether it is right, then send it again with confirm_amount: true.
qr_code_inactive 409 The merchant stopped this code. Nothing to pay.
currency_mismatch 400 The code is in another currency than the account.

Send money to another user

A transfer goes to another identified user of the installation. It needs an identified sender, and it has no fee.

Find the recipient

curl -X POST https://wallet.pf.organizer.tr/w1/recipients/resolve \
  -H "Argus-App-Platform: ios" \
  -H "Argus-App-Version: 2.4.0" \
  -H "Authorization: DPoP lxsFzKevwOEfzeNdK6Hbe-ixyOgxgMPFJX5kMMqe3rQ" \
  -H "DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4Ijoi..." \
  -H "Content-Type: application/json" \
  -d '{"phone": "+905550801002"}'
{
  "found": true,
  "masked_name": "Me*** Ka***",
  "object": "recipient",
  "recipient": "wrc_2SETGJECMYAQZZ5KKMJX3NM7EB"
}

Show masked_name so the user can check they have the right person. When nobody is found, found is false and the other fields are null. Nothing else about the number is revealed. Only an identified user can look up a number. The same number twice in an hour counts once. By default a user may look up 20 different numbers an hour. Past that the answer is 429 rate_limited: wait Retry-After seconds.

Draft the transfer

{
  "from_account": "wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ",
  "recipient": "wrc_2SETGJECMYAQZZ5KKMJX3NM7EB",
  "amount": 25000,
  "currency": "TRY",
  "description": "Kitap bedeli",
  "purpose": "friend_personal"
}

purpose comes from the categories in GET /meta. A new payee or a large amount needs it, and without it the draft answers 400 purpose_required. Ask for it every time if that is simpler.

{
  "approvals_required": 0,
  "id": "wtr_01M4ZCMCK86T51XQ6GR4BHBTSX",
  "object": "transfer",
  "kind": "p2p",
  "from_account": "wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ",
  "to": {
    "kind": "wallet",
    "account": "wrc_2SETGJECMYAQZZ5KKMJX3NM7EB",
    "masked_name": "Me*** Ka***"
  },
  "amount": 25000,
  "currency": "TRY",
  "fee": 0,
  "description": "Kitap bedeli",
  "status": "requires_confirmation",
  "challenge": {
    "v": 1,
    "type": "transfer",
    "amount": 25000,
    "currency": "TRY",
    "fee": 0,
    "payee": {
      "kind": "wallet",
      "account": "wrc_2SETGJECMYAQZZ5KKMJX3NM7EB",
      "masked_name": "Me*** Ka***"
    },
    "source_account": "wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ",
    "description": "Kitap bedeli",
    "purpose": "friend_personal",
    "draft": "wtr_01M4ZCMCK86T51XQ6GR4BHBTSX",
    "draft_version": 1,
    "nonce": "8JzegGV_STba_1vpeLLjbAVWO2_YQOfu",
    "expires_at": 1792055101,
    "device": "wdv_01M4ZCMBM0VFSCYC6RA84Y57MJ",
    "digest": "_7Wyk_UTOau-2y4cR5OOkSe7lD9v0_PBcK0M-RuHyZs",
    "canonical": "{\"amount\":25000,\"currency\":\"TRY\",\"description\":\"Kitap bedeli\",\"device\":\"wdv_01M4ZCMBM0VFSCYC6RA84Y57MJ\",\"draft\":\"wtr_01M4ZCMCK86T51XQ6GR4BHBTSX\",\"draft_version\":1,\"expires_at\":1792055101,\"fee\":0,\"nonce\":\"8JzegGV_STba_1vpeLLjbAVWO2_YQOfu\",\"payee\":{\"account\":\"wrc_2SETGJECMYAQZZ5KKMJX3NM7EB\",\"kind\":\"wallet\",\"masked_name\":\"Me*** Ka***\"},\"purpose\":\"friend_personal\",\"source_account\":\"wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ\",\"type\":\"transfer\",\"v\":1}"
  },
  "failure_code": null,
  "created": 1792054801,
  "expires_at": 1792055101,
  "refund_of": null,
  "classification": {
    "movement_code": "B1",
    "relation": "third_party",
    "from_account_type": "personal",
    "to_account_type": "personal",
    "purpose": {
      "category": "friend_personal",
      "subcategory": null,
      "detail": null,
      "source": "holder"
    }
  }
}

The draft moves no money and cannot change. Confirm it within 5 minutes, before expires_at, or draft a new one. A draft that could never be confirmed is refused at this step, before the PIN. A balance that is too small is one such case:

{
  "error": {
    "type": "balance_error",
    "code": "insufficient_balance",
    "param": "amount",
    "message": "The balance is not enough for this amount.",
    "request_id": "req_01M4ZCMEHRH031G8X1MVVMNVGH"
  }
}

Only the sendable balance counts. Money loaded by card is never sent.

Confirm the transfer

curl -X POST https://wallet.pf.organizer.tr/w1/transfers/wtr_01M4ZCMCK86T51XQ6GR4BHBTSX/confirm \
  -H "Argus-App-Platform: ios" \
  -H "Argus-App-Version: 2.4.0" \
  -H "Authorization: DPoP lxsFzKevwOEfzeNdK6Hbe-ixyOgxgMPFJX5kMMqe3rQ" \
  -H "DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4Ijoi..." \
  -H "Idempotency-Key: c4d5e6f7-0819-4a2b-b3c4-d5e6f7a8b9c0" \
  -H "Content-Type: application/json" \
  -d @confirm.json
{
  "challenge_version": 1,
  "signature": "icANt0d-lHnMd-NvUGZdYLvPn1i3myRS0FfAQbwLzsgQp_oxOIsK91goiefheJq8oijM2zQ05FjTLORzhNqKag",
  "pin_proof": {
    "key_id": "pk_1",
    "ciphertext": "8JhaQQu08qSeaj2YBuShkuyf0a7q99XyMyJWMTtWDmv9WYAwWY1LSoDGpEqANiNhIS-YKgaj3hZgngvnBFc-ZFerndGEhEaG4lZifzktceDy07T9QC9OWKASvDjrfdzy8kArKq66753236A4UuDq6RPH1n9ifnJYztlTfZ1yhvxQCTkvi0oOMgbnoBzs_qDF0_PCw-hBhXQvN-nYk6gV5keTLpBKqdLJeXpfrhYn2IIKVpNs8JFUz2jDZzTvAZwLctlYB60"
  }
}

challenge_version is the challenge's draft_version. A transfer that passes is booked at once and answers 200:

{
  "approvals_required": 0,
  "id": "wtr_01M4ZCMCK86T51XQ6GR4BHBTSX",
  "object": "transfer",
  "kind": "p2p",
  "from_account": "wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ",
  "to": {
    "kind": "wallet",
    "account": "wrc_2SETGJECMYAQZZ5KKMJX3NM7EB",
    "masked_name": "Me*** Ka***"
  },
  "amount": 25000,
  "currency": "TRY",
  "fee": 0,
  "description": "Kitap bedeli",
  "status": "completed",
  "challenge": null,
  "failure_code": null,
  "created": 1792054801,
  "expires_at": 1792055101,
  "refund_of": null,
  "classification": {
    "movement_code": "B1",
    "relation": "third_party",
    "from_account_type": "personal",
    "to_account_type": "personal",
    "purpose": {
      "category": "friend_personal",
      "subcategory": null,
      "detail": null,
      "source": "holder"
    }
  }
}

The receiver gets a push, and both sides see a line in their statements. A transfer that the risk rules hold answers 202 with status: held_for_review. Examples are a large amount for its purpose, or more transfers in one hour than the installation allows (five by default). The amount stays held until a reviewer approves it (completed) or rejects it (rejected, and the amount is released). Show the user that the transfer waits for a check.

When the risk check itself does not answer, the draft is 503 risk_unavailable. Nothing was drafted and no money moved, so send the same request again.

Code Status What the app does
signature_invalid 400 The signature does not match the challenge. Sign canonical exactly as received.
draft_changed 409 The draft changed after the app read it. Read it again with GET /transfers/{id}.
challenge_expired 409 The 5 minutes ran out. Draft a new transfer.
challenge_used 409 The draft was confirmed or ended already.
recipient_unavailable 409 The receiver cannot take money now.

Withdraw to a bank account

A withdrawal sends money by EFT to a bank account in the user's own name that the user has loaded money from. Offer it only when GET /meta says eft_withdrawals: true. The wallet_withdrawals channel also covers FAST and ATM cash, so it can be open while EFT is off, and POST /withdrawals then answers 503 channel_closed. List those accounts first:

curl https://wallet.pf.organizer.tr/w1/bank_accounts \
  -H "Argus-App-Platform: ios" \
  -H "Argus-App-Version: 2.4.0" \
  -H "Authorization: DPoP lxsFzKevwOEfzeNdK6Hbe-ixyOgxgMPFJX5kMMqe3rQ" \
  -H "DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4Ijoi..."
{
  "data": [
    {
      "id": "wba_6BCSEP5Z2TN1X6DEDAQXA9XSTY",
      "object": "bank_account",
      "account": "wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ",
      "iban_masked": "TR70******************9999",
      "holder_name": "AYŞE YILMAZ",
      "bank_name": "Örnek Bank",
      "created": 1792054800
    }
  ],
  "has_more": false,
  "object": "list",
  "url": "/w1/bank_accounts"
}

Draft the withdrawal to one of them:

{
  "account": "wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ",
  "bank_account": "wba_6BCSEP5Z2TN1X6DEDAQXA9XSTY",
  "amount": 150000,
  "currency": "TRY",
  "description": "Kira"
}
{
  "id": "wwd_01M4ZCMBM0A9BZ63J76YAJBRGF",
  "object": "withdrawal",
  "account": "wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ",
  "bank_account": "wba_6BCSEP5Z2TN1X6DEDAQXA9XSTY",
  "amount": 150000,
  "currency": "TRY",
  "fee": 0,
  "status": "draft",
  "iban_masked": "TR70******************9999",
  "holder_name": "AYŞE YILMAZ",
  "description": "Kira",
  "challenge": {
    "v": 1,
    "type": "withdrawal",
    "amount": 150000,
    "currency": "TRY",
    "fee": 0,
    "payee": {
      "kind": "iban",
      "account": "TR700006200000000006299999",
      "institution": "Örnek Bank",
      "name": "AYŞE YILMAZ",
      "name_check": null
    },
    "source_account": "wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ",
    "description": "Kira",
    "draft": "wwd_01M4ZCMBM0A9BZ63J76YAJBRGF",
    "draft_version": 1,
    "nonce": "yZljL0f6D8TdMoAoyVnZZ0GMQiVaDwW1",
    "expires_at": 1792055100,
    "device": "wdv_01M4ZCMBM0VFSCYC6RA84Y57MJ",
    "digest": "OkiiYz5K05E8IJqyiSdJWrw5TZ7FmNiLdn43Y1wXxsM",
    "canonical": "{\"amount\":150000,\"currency\":\"TRY\",\"description\":\"Kira\",\"device\":\"wdv_01M4ZCMBM0VFSCYC6RA84Y57MJ\",\"draft\":\"wwd_01M4ZCMBM0A9BZ63J76YAJBRGF\",\"draft_version\":1,\"expires_at\":1792055100,\"fee\":0,\"nonce\":\"yZljL0f6D8TdMoAoyVnZZ0GMQiVaDwW1\",\"payee\":{\"account\":\"TR700006200000000006299999\",\"institution\":\"Örnek Bank\",\"kind\":\"iban\",\"name\":\"AYŞE YILMAZ\",\"name_check\":null},\"source_account\":\"wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ\",\"type\":\"withdrawal\",\"v\":1}"
  },
  "failure_code": null,
  "scheduled_for": 1792065600,
  "expected_send_on": "2026-10-15",
  "arrives": "today",
  "sent_at": null,
  "paid_at": null,
  "created": 1792054800,
  "classification": {
    "movement_code": "C1",
    "relation": "own",
    "from_account_type": "personal",
    "to_account_type": "bank",
    "purpose": {
      "category": "own_funds",
      "subcategory": "withdrawal",
      "detail": null,
      "source": "inferred"
    }
  }
}

The challenge carries the full IBAN, so the user approves the exact account. Every other answer shows it masked. expected_send_on and arrives say when the money goes out and when it arrives: a draft made after the bank's cutoff goes out on the next business day.

Confirm it the same way as a transfer, at POST /withdrawals/{id}/confirm with a body of challenge_version, signature and pin_proof. The answer is 200 with status: requested, or 202 with held_for_review when the institution checks it first. Follow it with GET /withdrawals/{id}:

status Meaning
draft Waiting for the confirmation.
held_for_review The institution checks it first. The amount is held.
requested Confirmed. It goes out at scheduled_for.
sent The EFT left. sent_at says when.
paid The bank took it. paid_at says when.
failed, returned The bank refused it, or sent it back after it arrived. The amount is back in the wallet, failure_code says why, and the bank account leaves the list.
canceled, expired The user canceled it, or the draft was not confirmed in time.

By default a withdrawal needs a fully bound device. From a device in its first 72 hours, the draft answers 403 withdrawal_not_allowed_from_device. Ask the user to withdraw from another device or to wait.

Code Status What the app does
bank_account_unknown 404 The bank account is not in GET /bank_accounts any more. Read the list again.
description_required 400 A withdrawal from a company account needs a description. Ask the user for one and draft again.
approver_not_allowed 403 The user is not a signatory of the business account. Hide the withdrawal for this account.
approval_required 409 The amount needs more signatories of the business account than this user. A withdrawal cannot wait for their approval, so suggest a smaller amount.
insufficient_balance, signature_invalid, draft_changed, challenge_expired, challenge_used 400, 402 or 409 The same as for a transfer. For a withdrawal, the sendable balance must cover the amount and the fee.

Pay by IBAN or kolay adres

When GET /meta shows fast: true, the wallet also pays any bank account over FAST, the instant payment system of the banks, and has an IBAN of its own. A kolay adres is a phone number, an email address or an ID number that a person links to their IBAN. Others can then pay them without typing the IBAN. The user must be identified.

Find the payee

Before the user pays, ask who the payee is:

curl -X POST https://wallet.pf.organizer.tr/w1/payees/resolve \
  -H "Argus-App-Platform: ios" \
  -H "Argus-App-Version: 2.4.0" \
  -H "Authorization: DPoP lxsFzKevwOEfzeNdK6Hbe-ixyOgxgMPFJX5kMMqe3rQ" \
  -H "DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4Ijoi..." \
  -H "Content-Type: application/json" \
  -d '{"kind": "iban", "value": "TR330006100519786457841326"}'
{
  "found": true,
  "iban": "TR330006100519786457841326",
  "institution": "Diğer banka",
  "kind": "iban",
  "name_masked": "Me*** De***",
  "object": "payee",
  "on_us": false
}

name_masked comes from the FAST name check, never from what the user typed. Show it so the user can check the payee.

Send kind: phone, iban or alias. With alias, add alias_type (phone, email, tckn or vkn). If the IBAN, phone number or kolay adres belongs to a wallet of this installation, the answer has kind: wallet and a recipient. Pay that person with a transfer, as above. Any other payee is paid over FAST. A user may look up 20 different payees an hour (429 rate_limited).

Draft and confirm the payment

The user types the name of the IBAN's holder. The bank checks it:

{
  "from_account": "wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ",
  "iban": "TR330006100519786457841326",
  "name": "Mehmet Demir",
  "amount": 5000,
  "currency": "TRY",
  "description": "Yemek"
}
curl -X POST https://wallet.pf.organizer.tr/w1/fast_payments \
  -H "Argus-App-Platform: ios" \
  -H "Argus-App-Version: 2.4.0" \
  -H "Authorization: DPoP lxsFzKevwOEfzeNdK6Hbe-ixyOgxgMPFJX5kMMqe3rQ" \
  -H "DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4Ijoi..." \
  -H "Idempotency-Key: 2d8e7f6a-5b4c-4d3e-8f1a-9b0c1d2e3f4a" \
  -H "Content-Type: application/json" \
  -d @fast.json

The body is the block above. To pay a kolay adres, send alias_type and alias instead of iban and name.

{
  "id": "wfp_01M4ZCMBM0H3K6N8Q1S4V7X9B2",
  "object": "fast_payment",
  "kind": "iban",
  "from_account": "wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ",
  "to": {
    "kind": "iban",
    "account": "TR33…1326",
    "masked_name": "Me*** De***",
    "institution": "Diğer banka",
    "name_check": "match"
  },
  "bank_account": null,
  "amount": 5000,
  "currency": "TRY",
  "fee": 0,
  "description": "Yemek",
  "status": "requires_confirmation",
  "challenge": {
    "v": 1,
    "type": "fast_payment",
    "amount": 5000,
    "currency": "TRY",
    "fee": 0,
    "payee": {
      "kind": "iban",
      "account": "TR33…1326",
      "masked_name": "Me*** De***",
      "institution": "Diğer banka",
      "name_check": "match"
    },
    "source_account": "wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ",
    "description": "Yemek",
    "draft": "wfp_01M4ZCMBM0H3K6N8Q1S4V7X9B2",
    "draft_version": 1,
    "nonce": "SwElaw6CglHHa8anx4VvScFingw5fQf9",
    "expires_at": 1792055100,
    "device": "wdv_01M4ZCMBM0VFSCYC6RA84Y57MJ",
    "digest": "PtovSNuUj6jUe6n8IjH9B_Yp-JXa8UBh27Wh-6S08x0",
    "canonical": "{\"amount\":5000,\"currency\":\"TRY\",\"description\":\"Yemek\",\"device\":\"wdv_01M4ZCMBM0VFSCYC6RA84Y57MJ\",\"draft\":\"wfp_01M4ZCMBM0H3K6N8Q1S4V7X9B2\",\"draft_version\":1,\"expires_at\":1792055100,\"fee\":0,\"nonce\":\"SwElaw6CglHHa8anx4VvScFingw5fQf9\",\"payee\":{\"account\":\"TR33…1326\",\"institution\":\"Diğer banka\",\"kind\":\"iban\",\"masked_name\":\"Me*** De***\",\"name_check\":\"match\"},\"source_account\":\"wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ\",\"type\":\"fast_payment\",\"v\":1}"
  },
  "failure_code": null,
  "created": 1792054800,
  "expires_at": 1792055100
}

Confirm it as a transfer, at POST /fast_payments/{id}/confirm, with challenge_version, signature and pin_proof. The answer is 200. Its status is completed when the payment is settled, failed when the bank refused it (the money is back, and failure_code says why) and sent while the outcome is not known. Poll GET /fast_payments/{id} until it is final. A payment is never sent twice.

Code Status What the app does
name_mismatch 409 The name does not match the IBAN's holder. Ask the user to check it. To pay anyway, send the draft again with accept_name_mismatch: true.
use_wallet_transfer 409 The IBAN is a wallet of this installation. Pay it with a transfer.
rail_unavailable 503 FAST did not answer. Try again.

An unidentified user gets 409 identification_required, as the shared errors at the end of this guide say.

Receive by IBAN and kolay adres

GET /iban returns the wallet's own IBAN. Money sent to it from any bank is loaded into the wallet. To let people pay a phone number, an email address or an ID number instead, register it with POST /aliases:

{
  "type": "email",
  "value": "ayse@example.com"
}
curl -X POST https://wallet.pf.organizer.tr/w1/aliases \
  -H "Argus-App-Platform: ios" \
  -H "Argus-App-Version: 2.4.0" \
  -H "Authorization: DPoP lxsFzKevwOEfzeNdK6Hbe-ixyOgxgMPFJX5kMMqe3rQ" \
  -H "DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4Ijoi..." \
  -H "Idempotency-Key: 3e9f8a7b-6c5d-4e4f-9a2b-0c1d2e3f4a5b" \
  -H "Content-Type: application/json" \
  -d @alias.json

The body is the block above.

{
  "object": "alias",
  "id": "wka_01M4ZCMBM0D5F7H9K2M4P6R8T1",
  "type": "email",
  "value_masked": "ay**@example.com",
  "created": 1792054800
}

The answer is 201, or 200 with the alias when it was registered already. GET /aliases lists them and DELETE /aliases/{id} removes one. A phone number must be the user's own (400 alias_not_yours), and an alias of another wallet is 409 alias_taken. On a sandbox, POST /sandbox/fast_transfers sends test money to the wallet's IBAN, and the load shows in about a minute.

Ask another user for money

Where channels.wallet_requests in GET /meta is open, a user can ask another user for money. A request is not money: it moves no balance and is not a statement line. The payer pays it with a normal transfer. A request expires after 7 days.

Find the payer with POST /recipients/resolve, as for a transfer, and send the wrc_ handle as payer:

{
  "payer": "wrc_2SETGJECMYAQZZ5KKMJX3NM7EB",
  "amount": 12500,
  "currency": "TRY",
  "note": "Akşam yemeği payı",
  "purpose": "friend_personal"
}
curl -X POST https://wallet.pf.organizer.tr/w1/requests \
  -H "Argus-App-Platform: ios" \
  -H "Argus-App-Version: 2.4.0" \
  -H "Authorization: DPoP lxsFzKevwOEfzeNdK6Hbe-ixyOgxgMPFJX5kMMqe3rQ" \
  -H "DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4Ijoi..." \
  -H "Idempotency-Key: 4fa0b9c8-7d6e-4f5a-8b3c-1d2e3f4a5b6c" \
  -H "Content-Type: application/json" \
  -d @request.json

The body is the block above.

{
  "id": "wrq_01M4ZCMBM0W2Y4A6C8E1G3J5L7",
  "object": "money_request",
  "direction": "outgoing",
  "status": "open",
  "amount": 12500,
  "currency": "TRY",
  "note": "Akşam yemeği payı",
  "note_warning": false,
  "counterparty": {
    "recipient": "wrc_2SETGJECMYAQZZ5KKMJX3NM7EB",
    "masked_name": "Me*** Ka***"
  },
  "transfer": null,
  "purpose": {
    "category": "friend_personal",
    "subcategory": null,
    "detail": null,
    "source": "holder"
  },
  "created": 1792054800,
  "expires_at": 1792659600,
  "closed_at": null
}

note is at most 60 characters and may hold no link, phone number, IBAN or email address. The payer's devices get a push that names the requester and the amount, and never the note.

The payer lists the requests made of them with GET /requests?direction=incoming, and the requester lists their own with direction=outgoing. The payer can refuse with POST /requests/{id}/decline, and the requester can withdraw with POST /requests/{id}/cancel. To pay, the payer drafts the transfer:

curl -X POST https://wallet.pf.organizer.tr/w1/requests/wrq_01M4ZCMBM0W2Y4A6C8E1G3J5L7/pay \
  -H "Argus-App-Platform: ios" \
  -H "Argus-App-Version: 2.4.0" \
  -H "Authorization: DPoP lxsFzKevwOEfzeNdK6Hbe-ixyOgxgMPFJX5kMMqe3rQ" \
  -H "DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4Ijoi..." \
  -H "Idempotency-Key: 5ab1c0d9-8e7f-4a6b-9c4d-2e3f4a5b6c7d" \
  -H "Content-Type: application/json" \
  -d '{"purpose": "friend_personal"}'

The answer is the draft transfer with its challenge, for exactly the requested amount. Confirm it as any transfer, at POST /transfers/{id}/confirm. The request then becomes paid and its transfer names the transfer. A transfer held for review leaves it processing.

Code Status What the app does
request_not_allowed 422 The payer cannot be asked. The reason is never given, so tell the user only that the request cannot be made.
requests_unavailable 403 The user was identified less than 7 days ago, or is suspended from requests.
note_not_allowed 400 The note holds something that is not allowed. Ask for another one.
request_not_payable 409 The request is closed or expired, or the requester cannot receive money now.

A cap that is reached is 402 limit_exceeded, and param names it, such as the open requests or the amount. A closed channel is 503 channel_closed. Both are in the shared errors at the end of this guide.

Read the statement

GET /transactions lists the lines of one account, newest first. account is required. Narrow the list with kind (repeat it, or separate the values with commas), month (YYYY-MM, in Europe/Istanbul time) and category:

curl "https://wallet.pf.organizer.tr/w1/transactions?account=wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ&kind=transfer_out&month=2026-10&limit=20" \
  -H "Argus-App-Platform: ios" \
  -H "Argus-App-Version: 2.4.0" \
  -H "Authorization: DPoP lxsFzKevwOEfzeNdK6Hbe-ixyOgxgMPFJX5kMMqe3rQ" \
  -H "DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4Ijoi..."
{
  "object": "list",
  "data": [
    {
      "classification": {
        "movement_code": "B1",
        "relation": "third_party",
        "from_account_type": "personal",
        "to_account_type": "personal",
        "purpose": {
          "category": "friend_personal",
          "subcategory": null,
          "detail": null,
          "source": "holder"
        }
      },
      "id": "wtx_5V0KB82AQ7HG4SE33J0NNDP05W",
      "object": "wallet_transaction",
      "account": "wal_01M4ZCMBM0PR9HF7E6RHE1EYCZ",
      "type": "transfer_out",
      "fee": 0,
      "amount": -25000,
      "currency": "TRY",
      "status": "completed",
      "counterparty": "Me*** Ka***",
      "source": "wtr_01M4ZCMCK86T51XQ6GR4BHBTSX",
      "created": 1792054810,
      "refund_of": null,
      "refunded": 0,
      "refundable": 0,
      "refundable_until": null
    }
  ],
  "has_more": true
}

amount is signed: money out is negative. source is the id of what made the line, such as the transfer, the load or the payment. counterparty says who the line is with: a masked name, a merchant's name for a card line, or null. Amounts are in kuruş.

A page holds up to limit lines (20 by default). While has_more is true, send the id of the last line as starting_after to read the next page. GET /transactions/{id} returns one line with everything its receipt shows, and GET /summary returns the totals of a month. A request is never a line. The transfer that pays it is.

When a call times out

The answer to a confirm call can get lost on a bad connection. Never draft again and never ask for the PIN again just because no answer came.

  1. Send the same request again: the same Idempotency-Key and the same body. Make a new DPoP proof with a new jti and the same nonce as the PIN proof in the body.
  2. If the first request was done, the answer comes back with Idempotent-Replayed: true. If it never arrived, it runs now. Either way the money moves once.
  3. If the nonce is older than 5 minutes, the answer is 401 use_dpop_nonce and nothing is kept. Read the object with GET: when it is already confirmed, show that. When the draft is still open, confirm it with fresh proofs and a new key.

Confirming a transfer that is already completed or held_for_review also returns it as it is, without the PIN.

Errors that money calls share

Code Status What the app does
identification_required 409 The user must identify first. Offer identification.
unverified_limit_exceeded 402 The amount is over the allowance before identification. Offer identification.
limit_exceeded 402 A limit is passed. param names it: wallet_card_load or wallet_balance_cap for a load, wallet_spend for a payment, wallet_p2p_out for a transfer.
device_restricted 403 The device was bound less than 72 hours ago. It cannot pay a merchant, raise a limit or make a card. It sends only small amounts to people the user sent money to before. Ask the user to use another device or wait.
account_frozen, account_closed, account_restricted 403 The account cannot move money now. Show the freeze screen or support.
documents_required, profile_required 428 Show the new documents or the customer questions, then repeat with a new key.
pin_invalid 401 The PIN is wrong. Ask again and send with a new key.
pin_locked 423 Five wrong PINs. Wait until Retry-After.
channel_closed 503 This part of the wallet is closed now. Nothing moved.

Next: Find every route and field in the Argus Wallet API reference.