Skip to main content

Query Point Records

Query the user's card reward point transaction records. Supports pagination and filtering by time range, type, and direction.

HTTP Request

POST/v5/card/reward/points/records

Request Parameters

ParameterRequiredTypeComments
typefalsestringPoint type filter
pageSizefalseintegerNumber of items per page. Default: 10. Min: 1
pageNofalseintegerPage number. Default: 1. Min: 1
startTimefalseintegerStart time (Unix timestamp)
endTimefalseintegerEnd time (Unix timestamp)
outOrderIdfalsestringExternal order ID
bizIdfalsestringPoint order ID
bizTxnIdfalsestringconsumeIdLifecycle
sidefalsestringPoint direction. 1: Earn points, 2: Deduct points

Response Parameters

ParameterTypeComments
retCodeintegerBusiness return code. 0: success; non-zero: failure
retMsgstringReturn message
resultobject
> pageSizeintegerNumber of items per page
> pageNointegerCurrent page number
> totalCountintegerTotal number of records
> dataarrayPoint record list
>> outOrderIdstringExternal order ID
>> pointintegerPoint amount
>> sidestringPoint direction
>> typestringType
>> subTypestringSub-type
>> createTimeintegerCreation time (Unix ms timestamp)
>> updateTimeintegerUpdate time (Unix ms timestamp)
>> bizIdstringPoint order ID
>> bizTxnIdstringconsumeIdLifecycle
>> transactionDatestringTransaction date and time
>> transactionIdstringTransaction ID
>> transactionAmountstringTransaction amount / Paid with fiat
>> basicCurrencystringTransaction currency
>> merchCategoryDescstringMerchant category
>> merchNamestringMerchant name
>> merchCountrystringLocation (country)
>> merchCitystringLocation (city)
>> pan4stringCard's last 4 digits
>> payFiatAmountstringPay with fiat
>> transactionCurrencyAmountstringPay with crypto

Request Example

POST /v5/card/reward/points/records?pageSize=10&pageNo=1 HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1672211918471
X-BAPI-RECV-WINDOW: 5000

Response Example

{
"retCode": 0,
"retMsg": "OK",
"result": {
"pageSize": 10,
"pageNo": 1,
"totalCount": 50,
"data": [
{
"outOrderId": "ORD20230101001",
"point": 100,
"side": "1",
"type": "CASHBACK",
"subType": "",
"createTime": 1672211918471,
"updateTime": 1672211918471,
"bizId": "BIZ20230101001",
"bizTxnId": "TXN20230101001",
"transactionDate": "2023-01-01 12:00:00",
"transactionId": "TXN20230101001",
"transactionAmount": "100.00",
"basicCurrency": "USD",
"merchCategoryDesc": "Grocery Stores",
"merchName": "Amazon",
"merchCountry": "US",
"merchCity": "New York",
"pan4": "1234",
"payFiatAmount": "0",
"transactionCurrencyAmount": "100.00"
}
]
},
"retExtInfo": {},
"time": 1672211918471
}