Enquiry request
Using the enquiry
to search & retrieve the transaction(s), batch(s), or acquirer list on terminal
Endpoint
http://{{terminal_ip}}:8080/sp/v1/enquiry
Enquiry last transaction
curl --request POST '{{baseUrl}}/{{module_spectra}}/{{apiVersion}}/enquiry/getLastTransaction' \
--header 'Content-Type: application/json' \
--data '{
"messageId": {{messageId}},
"posId": {{posId}},
"forceAcquirer": {{forceAcquirer}}
}'
Enquiry transaction by message id
curl --request GET '{{baseUrl}}/{{module_spectra}}/{{apiVersion}}/enquiry?messageid={{messageId}}'
Enquiry transaction by trace
Enquiry total amount
Enquiry batch number
Enquiry card total
Enquiry acquirer list
(EPS only) enquiry last ISN
(EPS only) enquiry transaction by ISN
For more example, checkout the API Examples Refer to API Reference for the full list of fields