If you need to pull the transaction response from our system after the checkout ID has expired, there are several ways to do this.
Method 1:
Using the query Endpoint with Unique ID:
You'll also need to include the entity ID that the transaction was processed through, an example would look like this:
https://eu-test.oppwa.com/v1/query/{uniqueId}?entityId={entityId}
Method 2:
Using merchantTransactionId:
This call requires you to have the "merchantTransactionId" value that represents your order reference. You would need to send this value in the payment request, to us to make sure you can query using it later. If you do not send this value, this API call cannot be used.
You would also need your Peach Payments API authentication parameters. Here is a summary of the required parameters for this call:
- Authorization Bearer Token
- entityId
- merchantTransactionId (This is your merchant order number)
Please see recommended parameters to include in checkout request.
The sample API call to pull a transaction response from the system using the "MerchantTransactionId" value looks like this:
*Please note the above endpoint applies to the TEST system. Please see the documentation for your LIVE endpoint.
Should you have any questions, feel free to email us at support@peachpayments.com