> 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-lv/integracija/api-klienta-sdk.md).

# API klienta SDK

Integrējiet Tirgotāja API ar tipizētiem servera puses SDK dažādās programmēšanas valodās.

Šis **API klienta SDK** nodrošina servera puses bibliotēkas integrācijai ar **Tirgotāja API**.

SDK vienkāršo backend izstrādi, apstrādājot biežākos integrācijas uzdevumus, piemēram, OAuth 2.0 autentifikāciju, JWE karšu datu šifrēšanu, HTTP saziņu, JSON serializāciju un webhook apstrādi. Tā vietā, lai strādātu tieši ar neapstrādātiem REST pieprasījumiem, izstrādātāji var izmantot stingri tipētus, konkrētai valodai paredzētus SDK, lai integrētu maksājumus un citus vārtejas pakalpojumus.

SDK ir pieejams:

* Java
* PHP
* C# / .NET
* Node.js / TypeScript

***

### Dokumentācijas struktūra

Šajā sadaļā ir viss nepieciešamais integrācijai, izmantojot API Client SDK.

#### Pārskats

Uzziniet par SDK arhitektūru, atbalstītajām valodām, API pārklājumu, atbalstītajām vidēm un ieviešanas pienākumiem.

#### Ātrās darba sākšanas

Instalējiet SDK, konfigurējiet autentifikāciju un izveidojiet savu pirmo Sandbox maksājumu, izmantojot sev vēlamo programmēšanas valodu.

Pieejamās ātrās darba sākšanas:

* Java
* PHP
* C# / .NET
* Node.js / TypeScript

#### SDK izmantošana

Soli pa solim integrācijas rokasgrāmatas, kas aptver biežākās SDK darbības, tostarp:

* Maksājumu pieprasījumu izveide
* Maksājumu atbilžu apstrāde
* Kļūdu apstrāde
* Webhook paziņojumu saņemšana
* Darbs ar atmaksām un maksājumu operācijām

#### Ceļveži

Starpvalodu dokumentācija, kas aptver:

* Kļūdu apstrāde
* Drošības mehānismi
* Arhitektūra un paplašināmība
* SDK adapteru pārrakstīšana

***

### Darba sākšana

Ja esat iesācējs SDK lietošanā, iesakām šādu mācību ceļu:

1. Izlasiet [**Pārskats**](/seb-docs-draft/seb-docs-public-lv/integracija/api-klienta-sdk/parskats.md).
2. Pabeidziet [**Ātrās darba sākšanas pamācību**](/seb-docs-draft/seb-docs-public-lv/integracija/api-klienta-sdk/atrie-sakumi.md) savai programmēšanas valodai.
3. Turpiniet ar [**SDK izmantošana**](/seb-docs-draft/seb-docs-public-lv/integracija/api-klienta-sdk/sdk-izmantosana.md).
4. Iepazīstiet [**Ceļveži**](/seb-docs-draft/seb-docs-public-lv/integracija/api-klienta-sdk/celvezi.md) par padziļinātām tēmām un labāko praksi.


---

# 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-lv/integracija/api-klienta-sdk.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.
