Inquire Interface
The inquire interface is a sub-set of the Transaction interface and allows you to acquire transaction data using the Saferpay TransactionId, or OrderId, in case you haven't recieved the transaction data, or it got lost, due to technical issues.
However, the inquiry interface has some restrictions, that have to be considered when using this feature:
Rules, limitations and requirements
Use the standard means first: the inquire interface is not meant to replace other API functions, like for example Payment Page Assert, or Transaction Authorize. When implementing the Payment Page, or Transaction Interface flows, you should always use the standard means first, and the inquire interface only if those cannot be executed anymore, e.g. due to the token being expired.
No polling: In general, but in this case specifically, do not use polling to continuously ask for transaction data.
Only successful transactions: As of now, the inquire interface only works with successful transactions.
SpecVersion 1.11: You must use SpecVersion 1.11 and up.
Update delay: The result of a Transaction/Inquire request does not display the current status in real time because the requested data is updated with a few minutes delay.
Saferpay reserves the right to restrict or deny access to the inquire interface, due to excessive use of the interface, or violation of these rules.
Examples
Example of a Transaction Inquire response for a failed transaction:
As mentioned before, the Inquire Interface only works with successful transactions. Therefore you'll get the following response, if a transaction was either not completed by the payer, or was not successful.
Last updated