get https://api-h.wudipay.techworks.app/api/charges/
The Fetch Charge by TXID endpoint in the Wudi Pay allows users to retrieve detailed information about a specific charge using its unique transaction identifier (TXID). This feature is valuable for monitoring the status, details, and associated transactions of a specific payment request.
HEADERS
Authorization (string, required): The access token generated by the authentication endpoint must be included in the authorization header in the format Bearer {{access_token}}.
Practical Tips
- Pagination: Use the page parameter to manage the pagination of results, especially if you expect a large volume of transactions.
- TXID: Make sure you use the correct TXID and in the appropriate format to avoid errors. The TXID is a unique identifier for each transaction, made up of letters and numbers.
- Authentication: Always include the authorization header with a valid token.
Error Handling:- Billing Monitoring: Use this endpoint to monitor and check the status of specific charges regularly, especially in applications that rely on real-time payment updates.