Statement

Get current statement

Get the current statement by account ID. For more information about statements, refer to Understanding statements.

Note: This endpoint requires an account token - an access token encoded with a Pismo account ID. Tokens can expire quickly, which can result in a 401 Unauthorized message.

get/statements/v1/accounts/{accountId}/next

Request

  • Base URL
    https://sandbox.pismolabs.io
  • URL
    https://sandbox.pismolabs.io/statements/v1/accounts/{accountId}/next
  • Auth
    HTTP bearer

Path parameters

accountIdinteger required
Example:101

Account ID

Headers

Authorizationstring required

Account token, not a regular access token. Account tokens are encoded with an account ID. Tokens can expire quickly, which can result in an Unauthorized message.

Response

Success

idinteger

Account ID

cycleinteger

Cycle number. When an account is created, its first cycle is cycle number 1. This number is incremented for each successive cycle.

due_datestring date

Due date. Format = yyyy-mm-dd.

best_transaction_datestring date

Statement best transaction date. The first full day of a cycle. This always comes right after the last cycle closing date. Format = yyyy-mm-dd.

minimum_payment_amountnumber float

Statement minimum payment

Example response

{
  "id": 1010,
  "cycle": 1,
  "due_date": "2021-05-24",
  "best_transaction_date": "2020-05-23",
  "minimum_payment_amount": 10.35
}

Changes

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