Inquiry, query by transaction
Inquiry synchronous message allows you to obtain information on the outcome of a payment at a later stage.
It is recommended to perform the operation of inquiry at the end of the maximum duration of a session of payment, or better after 20 minutes from the generation of the paymentid.
Transmission of inquiry message
Example of HTTP inquiry message
id=99999999&password=99999999&tenantId=10&operationType=inquiry&paymentId=123456789012345
Call parameters of HTTP inquiry message
NAME | DESCRIPTION | FORMAT | |||||||||||||||||||||||||||
|
Example of XML message with inquiry outcome
Example of XML message with inquirymybank outcome
Parameters of response to inquiry message
NAME | DESCRIPTION | FORMAT | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Parameters of response to inquiry message: optional fields (for 3DSecure transactions only)
NAME | DESCRIPTION | FORMAT | ||||||||||||
|
Parameters of response to inquiry message: optional fields (for MyBank only)
NAME | DESCRIPTION | FORMAT | ||||||||||||
|
Behaviour of the system in case of error in inquiry phase
When incorrect parameters are sent (e.g. unknown terminal, incorrect password, invalid amount, …) the Gateway responds with an error message in XML format.
This message includes:
- an error code
- a mnemonic description of the error
Example of error message in inquiry phase