Skip to content

View Customer Transactions

POST {api-url}/viewCustomerTransactions1?ns={community}

Use this call to get a paginated list of transactions for a user.

FieldTypeRequirementDescription
DateFromStringRequiredSpecify the starting date and time for the search (YYYY/MM/DD HH:MM).
DateToStringRequiredSpecify the ending date and time for the search (YYYY/MM/DD HH:MM).
UsernameStringRequiredA unique username of the user.
TransactionTypeStringRequiredA filter for the type of transaction you would like to list. Can be set to All.
LimitStringOptionalAn integer to limit the quantity of transaction responses.
CursorStringOptionalThe cursor string from a previous response to fetch the next page.
MetadataStringOptionalAny other detail that the merchant wishes to store on this transaction.
{
"Username": "27820000000",
"DateFrom": "2024/05/11 16:00",
"DateTo": "2024/05/11 23:00",
"Limit": "100",
"Cursor": "",
"TransactionType": "All",
"Metadata": "{\"ActorUserIDs\": \"547828938941114\"}"
}
Terminal window
curl -X POST '{api-url}/viewCustomerTransactions1?ns={community}' \
-H 'Authorization: bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"Username":"27820000000","DateFrom":"2024/05/11 16:00","DateTo":"2024/05/11 23:00","Limit":"100","Cursor":"","TransactionType":"All","Metadata":"{\"ActorUserIDs\": \"547828938941114\"}"}'