webUPI.getPaymentStatus()
Method
async function getPaymentStatus(transactionId: string): GetPaymentStatusResponse;
Parameters
Response
interface GetPaymentStatusResponse {
status: string; // approved, declined, pending
}
Code Example
await webUPI.enable();
const status = await webUPI.getPaymentStatus("transactionId123");
console.log(status);Last updated