Retrieve Ledger Entries

Facades: merchant

Response

Some ledger entries have additional specific fields. The table indicates which fields are returned for the main ledger entries.

Name Type Ledger Codes
1000 1006 1011 1017 1020 1022 1023 1025 1030 1034 1039 1040 1048
type
Contains the Ledger entry name. See the list of Ledger Entry Codes.
string âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“
amount
Ledger entry amount, relative to the scale. The decimal amount can be obtained by dividing the amount field by the scale parameter.
number âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“
code
Contains the Ledger entry code. See the list of Ledger Entry Codes.
number âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“
timestamp
Date and time of the ledger entry (UTC). ISO-8601 format yyyy-mm-ddThh:mm:ssZ
string âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“
currency
Ledger entry currency for the corresponding amount
string âś“ âś“ âś“ âś“ âś“ âś“ âś“
txType
[DEPRECRATED] see type
string âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“
scale
Power of 10 used for conversion
integer âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“
id
Ledger resource Id
string âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“
supportRequest
The refund requestId
string âś“
description
Ledger entry description. Also contains an id depending on the type of entry (for instance payout id, settlement id, invoice orderId etc...)
string âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“ âś“
invoiceId
BitPay invoice Id
string âś“ âś“ âś“ âś“
buyerFields
If provided by the merchant in the buyer object during invoice creation
string âś“ âś“ âś“ âś“
buyerName
If provided by the merchant in the buyer object during invoice creation
string âś“ âś“ âś“ âś“
buyerAddress1
If provided by the merchant in the buyer object during invoice creation
string âś“ âś“ âś“ âś“
buyerAddress2
If provided by the merchant in the buyer object during invoice creation
string âś“ âś“ âś“ âś“
buyerCity
If provided by the merchant in the buyer object during invoice creation
string âś“ âś“ âś“ âś“
buyerState
If provided by the merchant in the buyer object during invoice creation
string âś“ âś“ âś“ âś“
buyerZip
If provided by the merchant in the buyer object during invoice creation
string âś“ âś“ âś“ âś“
buyerCountry
If provided by the merchant in the buyer object during invoice creation
string âś“ âś“ âś“ âś“
buyerPhone
If provided by the merchant in the buyer object during invoice creation
string âś“ âś“ âś“ âś“
buyerNotify
If provided by the merchant in the buyer object during invoice creation
string âś“ âś“ âś“ âś“
buyerEmail
If provided by the merchant in the buyer object during invoice creation
string âś“ âś“ âś“ âś“
invoiceAmount
Invoice price in the invoice original currency
string âś“ âś“ âś“ âś“
invoiceCurrency
Currency used for invoice creation
string âś“ âś“ âś“ âś“
transactionCurrency
Cryptocurrency selected by the consumer when paying an invoice.
string âś“ âś“ âś“ âś“
Language