Skip to main content
GET
Get All Authorizations

Authorizations

Authorization
string
header
required

Payaza {{Public API Key in Base 64}}

Path Parameters

status
string

Authorization status to filter results (e.g. AUTHORIZED, PENDING, FAILED).

from_date
string

Start date for filtering records, in yyyy-MM-dd HH:mm:ss format.

to_date
string

End date for filtering records, in yyyy-MM-dd HH:mm:ss format.

page
number

Page number for paginated results.

size
number

The number of records to return per page.

Response

Get All Authorizations Response

status
string | null

Error status (present in error responses).

Example:

"ERROR"

message
string | null

Error message details (present in error responses).

Example:

"Invalid date format. Use ISO 8601 format (e.g., 2024-01-01T00:00:00)"

authorizations
object[]

List of authorization records.

page
integer

Current page index (0-based).

Example:

0

size
integer

Number of items per page.

Example:

20

total_elements
integer

Total number of authorization records found.

Example:

1

total_pages
integer

Total number of pages available.

Example:

1

has_next
boolean

Indicates if there is a next page.

Example:

false

has_previous
boolean

Indicates if there is a previous page.

Example:

false