Samo okruzenje=sandbox (inace 409 samo_sandbox). Creates laznu uplatu (proformas ili poziv_na_broj, iznos, opciono platilac) koja prolazi kroz pravo uparivanje i salje prave sandbox webhookove (uplata.primljena, proforma.placena/delimicno_placena, faktura.placena). Navesti bar jedno od proformas i poziv_na_broj.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: uplate:pisanje
API key (Authorization: Bearer upl_live_…)
Parameters
Name
In
Required
Type
Description
X-Organizacija-Id
header
no
string (uuid)
Active organization. Required for user OIDC tokens with multiple orgs; for API key/client credentials the org is in the credential (header must match or be omitted).
Idempotency-Key
header
yes
string
Required on every POST. Response cached 24 h (KV); same key + different body → 409 ponovljen_kljuc_idempotentnosti. Response includes Idempotent-Replayed: true on replay. Exceptions (optional key): /v1/nalog/*, /v1/nalog/pristupni-kljucevi/*, /v1/ja/sesije/opozovi-ostale, public /plati/*.
Request body
Field
Type
Required
Description
profaktura_id
string (uuid)
no
poziv_na_broj
string
no
Alternativa proinvoice_id: testira parser/matcher
iznos
string
yes
Amount in RSD as a decimal string with 2 fraction digits; currency is always RSD (no currency field)
platilac
string
no
nacin
enum: direktno | email
no
email = generate a test bank email through the full ingest pipeline