UNPKG

terminal-africa

Version:

## Introduction The Terminal Shipping API (TShip) provides a single interface for integrating shipping carriers within your applications. The API allows anyone to programatically get shipping rates and arrange pickup and delivery.

20 lines (19 loc) 651 B
export default class Transaction { /** * Get Transactions - This allows you to fetch transactions on Terminal Africa * @param {string} queryParams * @param {string=} queryParams.page * @param {string=} queryParams.perPage * @param {string} queryParams.wallet * @returns object * @method GET */ static getTransactions(queryParams: string): Promise<any>; /** * Get Transaction - This allows you to fetch transaction details on Terminal Africa * @param {string} transactionId * @returns object * @method GET */ static getTransaction(transactionId: string): Promise<any>; }