> For the complete documentation index, see [llms.txt](https://docs.ecommerce.seb.ee/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ecommerce.seb.ee/seb-docs-draft/seb-docs-public-lt/mokejimo-metodai/mokekite-is-banko/mokejimo-busenos.md).

# Mokėjimo būsenos

Mokėjimų vartai grąžina dabartinę kiekvieno Pay by Bank mokėjimo būseną per visą jo gyvavimo ciklą. Visada naudokite iš vartų gautą mokėjimo būseną – per callback pranešimus arba API – kad nustatytumėte kitą veiksmą savo užsakymo įvykdymo procese.

Pay by Bank mokėjimai yra sąskaitos į sąskaitą mokėjimai ir naudoja paprastesnį būsenų modelį nei mokėjimai kortele: būsenos Authorized ir Captured netaikomos. Pay by Bank mokėjimas laikomas apmokėtu, kai pasiekia Settled būseną.

#### Būsenos

<table><thead><tr><th width="135" valign="top">Būsena</th><th valign="top">Aprašymas</th><th valign="top">Rekomenduojamas prekybininko veiksmas</th></tr></thead><tbody><tr><td valign="top">Inicijuota</td><td valign="top">Mokėjimas buvo sukurtas, o klientas renkasi banką arba užbaigia autentifikaciją ir mokėjimo autorizavimą.</td><td valign="top">Palaukite galutinio mokėjimo pranešimo. Nevykdykite užsakymo.</td></tr><tr><td valign="top">Atsiskaityta</td><td valign="top">Mokėjimas užbaigtas, o lėšos pervestos. Tai yra „apmokėta“ būsena Pay by Bank.</td><td valign="top">Tęskite užsakymo vykdymą. Sutikrinimui saugokite mokėjimo nuorodą.</td></tr><tr><td valign="top">Nepavyko</td><td valign="top">Mokėjimo nepavyko užbaigti – pavyzdžiui, dėl techninės problemos arba bankui atmetus mokėjimą.</td><td valign="top">Aiškiai informuokite klientą ir leiskite dar kartą bandyti mokėti arba pasirinkti kitą mokėjimo būdą.</td></tr><tr><td valign="top">Atšaukta</td><td valign="top">Mokėjimas buvo atšauktas prieš užbaigiant – kliento arba pardavėjo.</td><td valign="top">Grąžinkite klientą į atsiskaitymo puslapį ir leiskite pasirinkti kitą mokėjimo metodą.</td></tr><tr><td valign="top">Palikta</td><td valign="top">Galutinė būsena: mokėjimas buvo inicijuotas, bet niekada nebuvo užbaigtas – klientas paliko procesą arba baigėsi leistinas laiko intervalas.</td><td valign="top">Sukurkite naują mokėjimą, jei klientas nori tęsti. Nenaudokite to paties mokėjimo pakartotinai.</td></tr><tr><td valign="top">Grąžinta</td><td valign="top">Po sėkmingo užbaigimo mokėjimas buvo grąžintas visa suma arba iš dalies.</td><td valign="top">Atitinkamai atnaujinkite užsakymo ir grąžinimo būseną.</td></tr></tbody></table>

{% hint style="info" %}
Grąžinimo apdorojimas turi savo atskirą gyvavimo ciklą (pvz., Processing, Completed, Reverted). Kai grąžinimas pasiekia Completed, mokėjimo būsena pasikeičia į Refunded. Jei grąžinimas atšaukiamas, mokėjimo būsena gali grįžti į Settled, jei nelieka kitų užbaigtų grąžinimų.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ecommerce.seb.ee/seb-docs-draft/seb-docs-public-lt/mokejimo-metodai/mokekite-is-banko/mokejimo-busenos.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
