Skip to content

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

View Multiple Transactions

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

Use this call to get a 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.
OffsetStringOptionalAn integer to indicate the start index for pagination.
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",
"Offset": "0",
"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","Offset":"0","Metadata":"{\"ActorUserIDs\": \"547828938941114\"}"}'