Skip to content

Commit 1cd38e6

Browse files
authored
Update README.md
1 parent c2be6d4 commit 1cd38e6

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,22 @@ return Payment::executePayment($amount, $invoiceId, $txnId, $date);
7979
return Payment::executePayment(10, 'CBX10101', '10127373', '2022-08-26');
8080
```
8181

82-
### 2. Query Payment
82+
### 2. Create Payment for RestAPI
83+
84+
```
85+
use Codeboxr\Upay\Facade\Payment;
86+
87+
return Payment::createPayment($amount, $invoiceId, $txnId, $date);
88+
89+
```
90+
91+
### Example
92+
93+
```
94+
return Payment::createPayment(10, 'CBX10101', '10127373', '2022-08-26');
95+
```
96+
97+
### 3. Query Payment
8398

8499
```
85100
use Codeboxr\Upay\Facade\Payment;

0 commit comments

Comments
 (0)