Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

View Transactions

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

Use this call to get a 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 recipient.
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.
OffsetStringOptionalAn integer to indicate the start index. Can be used for pagination with Limit.
MetadataStringOptionalAny other detail that the merchant wishes to store on this transaction.
{
"Username": "27648302057",
"DateFrom": "2024/05/11 16:00",
"DateTo": "2024/05/11 23:00",
"Limit": "100",
"Offset": "0",
"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":"27648302057","DateFrom":"2024/05/11 16:00","DateTo":"2024/05/11 23:00","Limit":"100","Offset":"0","TransactionType":"All","Metadata":"{\"ActorUserIDs\": \"547828938941114\"}"}'