REST APIWallet & TransactPending approval

GET

List counts of pending approvals by enterprises that the current user is a part of.

Query Params

  • actionable boolean
    True, if returning pending approvals that are actionable by the current user.
  • byOrganization boolean
    True, if returning counts of pending approvals by organizations that the current user is a part of.

Responses

200
OK

Response Body

object

  • enterprises map of objects required
    enterprises object
    • <key> object
      value object
      • pendingApprovalsCount number required
        The number of pending approvals
  • organizations map of objects
    organizations object
    • <key> object
      value object
      • pendingApprovalsCount number required
        The number of pending approvals
401
Unauthorized

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id