Base URL
https://{tenant}.logzi.com/api/paymod/
Every request returns a JSON response. On success result.code == 1, on failure result.code == 0.
/api/paymod/get
Retrieve a single payment method — by identifier, default flag, web name, or NAV name.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | int | Unique identifier of the payment method | |
paymod_default | int | 1 = retrieve the default payment method | |
paymod_webname | string | Search by web display name | |
paymod_name_nav | string | Search by the name accepted by NAV | |
language_id | int | Language identifier |
Example Request
GET /api/paymod/get?paymod_default=1
X-API-KEY: {your_api_key}
/api/paymod/list
Retrieve a paginated list of payment methods with filtering options.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
list_offset | int | Pagination offset (default: 0) | |
list_condition | array | Array of filter conditions | |
language_id | int | Language identifier |
Example Request
GET /api/paymod/list?list_offset=0
X-API-KEY: {your_api_key}
/api/paymod/save
Create or update a payment method. For a new record, use data[id] = 0.
POST Fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | 0 = new payment method, >0 = update | |
name_key | string | Internal key name (e.g. "transfer", "cash") | |
term | int | Payment term in days | |
paymod_default | int | 1 = mark as the default payment method | |
paymod_name_nav | string | Name accepted by NAV (e.g. "Bank transfer") | |
paymod_webname | string | Web display name | |
paymod_prepayment | int | 1 = prepayment method | |
paymod_compensate_auto | int | 1 = enable automatic settlement | |
cash_stock_id | int | Identifier of the linked cash stock |
Example Request
POST /api/paymod/save
X-API-KEY: {your_api_key}
Content-Type: application/json
{
"data": {
"id": 0,
"name_key": "transfer",
"term": 8,
"paymod_name_nav": "Átutalás"
}
}
/api/paymod/delete
Delete a payment method by identifier.
POST Fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | Identifier of the payment method to delete |
Example Request
POST /api/paymod/delete
X-API-KEY: {your_api_key}
Content-Type: application/json
{ "data": { "id": 2 } }
Create your account now,
pay later!