Statuses and reasons

List statuses

List account statuses registered for the organization. The org ID is parsed from the access token.

get/accounts/v4/statuses

Request

  • Base URL
    https://sandbox.pismolabs.io
  • URL
    https://sandbox.pismolabs.io/accounts/v4/statuses
  • Auth
    HTTP bearer

Query parameters

nextCursorstring
Example:MEgCQQCo9...

Cursor value used to get the next page. This is the next_cursor value returned in the response.

maxItemsinteger
Example:100

Number of items on current page. 200 maximum. Default is 200.

pageinteger
Example:1

Requested page

perPageinteger
Example:100

Items per page.

namestring
Example:NORMAL

Account status name filter. Pre-defined account statuses include DEBIT_ONLY, NORMAL, BLOCKED and CANCELLED. You can create your own account statuses with the Create status endpoint.

statestring[]

Filter by ACTIVE or INACTIVE. Default is ACTIVE.

Response

OK

next_cursorstring

Cursor value for the next page

has_nextboolean

Are there more results (retrieved using the next_cursor value)?

countinteger

Number of items on the current page

Example response

{
  "next_cursor": "MEgCQQCo9+BpMRYQ/dL3DS2CyJxRF+j6ctbT3/Qp84+KeFhnii7NT7fELilKUSnxS30WAvQCCo2yU1orfgqr41mM70MBAgMBAAE=",
  "has_next": true,
  "count": 100
}

Changes

No recorded changes to this operation across all 1 revision of this API.