From 9728556bd6beb55b407d4c694dc048bec33ff72c Mon Sep 17 00:00:00 2001 From: okellogabrielinnocent Date: Tue, 10 Sep 2019 13:57:51 +0300 Subject: [PATCH] update README.md to match implemented function - change getTransaction to getTransactionStatus on readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3394eb1..fc92547 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ client = Collection({ 1. `requestToPay`: This operation is used to request a payment from a consumer (Payer). The payer will be asked to authorize the payment. The transaction is executed once the payer has authorized the payment. The transaction will be in status PENDING until it is authorized or declined by the payer or it is timed out by the system. Status of the transaction can be validated by using `getTransactionStatus`. -2. `getTransaction`: Retrieve transaction information using the `transactionId` returned by `requestToPay`. You can invoke it at intervals until the transaction fails or succeeds. If the transaction has failed, it will throw an appropriate error. +2. `getTransactionStatus`: Retrieve transaction information using the `transactionId` returned by `requestToPay`. You can invoke it at intervals until the transaction fails or succeeds. If the transaction has failed, it will throw an appropriate error. 3. `getBalance`: Get the balance of the account.