POST
/
v1
/
merchant
/
statement
Fetch a Statement
curl --request POST \
  --url https://api.bolt.com/v1/merchant/statement \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "date": 1586480400000,
  "file_type": "csv",
  "type": "daily_transaction"
}
'
{
  "url": "https://bolt-statements-production.s3.us-west-2.amazonaws.com/00_daily_transaction_20200410.csv"
}

Authorizations

X-API-Key
string
header
required

Admins and Developers can obtain their Bolt API key from the Bolt Merchant Dashboard.

Body

application/json

View Statements

date
integer
required

This is the date of the statement, in milliseconds since the Unix epoch time.

Example:

1586480400000

file_type
enum<string>
required

This is the type of the file. Currently, Bolt only supports CSV statements.

Available options:
csv
Example:

"csv"

type
enum<string>
required

The time period and statement type:

Available options:
daily_transaction,
monthly_transaction,
daily_funding,
monthly_dispute
Example:

"daily_transaction"

Response

Statements Fetch Successful

url
string
required

This is the pre-signed URL of the requested statement. The URL has an expiration period of 5 minutes. Sharing the URL implies sharing the statement and its contents, please be careful.

Example:

"https://bolt-statements-production.s3.us-west-2.amazonaws.com/00_daily_transaction_20200410.csv"