0.0.0
OAS 3.0.0

DPT54 API

Client Libraries
Shell
Ruby
Node.js
PHP
Python
C
More
Authentication
Bearer Authentication (BearerAuth)

Public: ใบชำระค่าธรรมเนียม

/public/invoices

Query Parameters
  • q
    string
  • limit
    integer int32

    Signed 32-bit integers (commonly used integer type).

  • page
    integer int32

    Signed 32-bit integers (commonly used integer type).

  • invoice_no
    required
    string
  • transaction_no
    required
    string
  • start_date
    required
    string date

    full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

  • end_date
    required
    string date

    full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

  • status
    required
    string
Responses
  • 200

    The request has succeeded.

GET/public/invoices
Shell cURL
curl --request GET \
  --url 'https://dpt-openapi.finema.dev/public/invoices?invoice_no=&transaction_no=&start_date=&end_date=&status=' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "page": 1,
  "total": 1,
  "limit": 1,
  "count": 1,
  "items": [
    {
      "id": "c667df88-4de8-442b-a64a-5fbce59086f0",
      "invoice_no": "…",
      "transaction_no": "…",
      "payment_department_id": "…",
      "is_type_train": true,
      "name": "…",
      "total_price": 1,
      "amount": 1,
      "status": "wait_process",
      "user_firstname": "…",
      "user_lastname": "…",
      "juristic_name_th": "…",
      "created_at": "…",
      "created_by_id": "…",
      "updated_at": "…",
      "updated_by_id": "…"
    }
  ]
}