Skip to content

Payment types

GET
/v1/company-payment-type
curl --request GET \
--url 'https://api-admin.billz.ai/v1/company-payment-type?page=1&limit=1000' \
--header 'Authorization: Bearer <token>' \
--header 'platform-id: 7d4a4c38-dd84-4902-b744-0488b80a4c01'

Error codes: 400 — input validation error; 401, 403, 429, 500 — shared by all methods. Body formats and semantics: Response codes and errors.

page
integer format: int32
default: 1

Not a number -> 400

limit
integer format: int32
default: 10

Not a number — 400

Example
1000
accept-language
string

Ru|uz|en, default ru — language of payment type names

platform-id
string
default: 7d4a4c38-dd84-4902-b744-0488b80a4c01

Platform identifier. A static value is used for integrations.

Successful response

Media typeapplication/json
object
count
integer format: int32
company_payment_types
Array<object>
object
id

This id is passed in payments when creating an order

string
company_id
string
payment_type_id

Absent from the response if the value is empty

string
payment_type

Nested reference of base payment types; absent if empty

object
id
string
name
string
token
string
name

Localized according to Accept-Language

string
is_editable
boolean
dont_show_in_make_payment
boolean
dont_show_in_settings
boolean
is_cash_payment_type
boolean
is_visible_for_web
boolean
is_visible_for_mobile
boolean
is_visible_for_desktop
boolean
sequence_number
integer
Examplegenerated
{
"count": 1,
"company_payment_types": [
{
"id": "example",
"company_id": "example",
"payment_type_id": "example",
"payment_type": {
"id": "example",
"name": "example"
},
"token": "example",
"name": "example",
"is_editable": true,
"dont_show_in_make_payment": true,
"dont_show_in_settings": true,
"is_cash_payment_type": true,
"is_visible_for_web": true,
"is_visible_for_mobile": true,
"is_visible_for_desktop": true,
"sequence_number": 1
}
]
}