Payment Information
Use the Payment Information endpoint to retrieve the details of a specific payment by its TrackId. After creating an invoice, you will receive a TrackId, which you can use to make payment information requests.
POST
https://api.oxapay.com/merchants/inquiry
Request Body
merchant*
string
Your merchant API key for authentication and authorization.
trackId*
integer
The unique identifier of each payment session in the OxaPay payment gateway. Use this TrackId to query the payment status and obtain detailed payment information.
Please note that a successful request will return a result code 100. In case of any issues or validation problems, refer to the corresponding result codes for further details.
Example codes
Please replace YOUR_MERCHANT_API_KEY
with your actual merchant API key, and PAYMENT_TRACK_ID
with the unique identifier of the payment session (TrackId) you want to inquire about. These code snippets demonstrate how to make a POST request to the Payment Information endpoint and handle the response in each respective programming language.
Last updated