Skip to content

View Multiple Transactions

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

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

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).
StoreIDStringRequiredA unique store identifier code for the merchant.
TypeStringRequiredA filter for the type of transaction you would like to list (e.g., 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.
{
"DateFrom": "2024/05/11 16:00",
"DateTo": "2024/05/11 23:00",
"StoreID": "Store1",
"Type": "All",
"Limit": "100",
"Cursor": "",
"Metadata": "{\"ActorUserIDs\": \"547828938941114\"}"
}
Terminal window
curl -X POST '{api-url}/payments?ns={community}' \
-H 'Authorization: bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"DateFrom":"2024/05/11 16:00","DateTo":"2024/05/11 23:00","StoreID":"Store1","Type":"All","Limit":"100","Cursor":"","Metadata":"{\"ActorUserIDs\": \"547828938941114\"}"}'