GET /api/v2/pay/deposit_summaries
Get summaries for deposits within a date range.

Headers

Header name Description
Cookie
required
Login session cookie
Provision
required
Web/Mobile/API Provision UUID

Params

Param name Description
start_date
required

lower bound for deposit date. Expects format YYYY-MM-DD

Validations:

  • Must be a String

end_date
required

upper bound for deposit date. Expects format YYYY-MM-DD

Validations:

  • Must be a String

Returns

Code: 200

Description:

All deposit summaries

Param name Description
data
required

deposit summary

Validations:

  • Must be a Hash

data[id]
required

ID of the transaction

Validations:

  • Must be a number.

data[type]
required

Type of the charge

Validations:

  • Must be a String

data[attributes]
required

Attributes of the deposit summary

Validations:

  • Must be a Hash

data[attributes][id]
required

ID of the transaction

Validations:

  • Must be a number.

data[attributes][DepositID]
required

ID of the deposit

Validations:

  • Must be a String

data[attributes][CreditID]
required

ID of the credit

Validations:

  • Must be a number.

data[attributes][DepositDate]
required

date of the deposit

Validations:

  • Must be a String

data[attributes][From]
required

empty string

Validations:

  • Must be a String

data[attributes][Description]
required

description of the transaction

Validations:

  • Must be a String

data[attributes][GrossAmount]
required

amount of the transaction

Validations:

  • Must be a String

data[attributes][NetAmount]
required

net amount of the transaction

Validations:

  • Must be a String

Code: 401

Description:

Unauthorized

Param name Description
errors
required

Errors returned by request

Validations:

  • Must be an Array of nested elements

errors[error]
required

Why the request failed

Validations:

  • Must be a String

errors[status]
required

HTTP response code

Validations:

  • Must be a Integer

Code: 404

Description:

Not Found

Param name Description
errors
required

Errors returned by request

Validations:

  • Must be an Array of nested elements

errors[error]
required

Why the request failed

Validations:

  • Must be a String

errors[status]
required

HTTP response code

Validations:

  • Must be a Integer

Code: 422

Description:

Unprocessable Entity

Param name Description
errors
required

Errors returned by request

Validations:

  • Must be an Array of nested elements

errors[error]
required

Why the request failed

Validations:

  • Must be a String

errors[status]
required

HTTP response code

Validations:

  • Must be a Integer

Code: 500

Description:

Internal Server Error

Param name Description
errors
required

Errors returned by request

Validations:

  • Must be an Array of nested elements

errors[error]
required

Why the request failed

Validations:

  • Must be a String

errors[status]
required

HTTP response code

Validations:

  • Must be a Integer

Errors

Code Description
404 Data source query failed
422 Invalid parameter(s)
422 Provision header missing
422 Invalid provision
422 Under maintenance
422 Incorrect host for provision
422 Establishing session failed
422 Privilege to perform the action was not found
422 Not logged in
422 Provision does not match logged in provision
422 The start date or end date is invalid
422 Start date cannot be greater than the end date
500 No connection to data source