Skip to content

Commit

Permalink
PR Review
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannis-kody committed Dec 12, 2024
1 parent 54896d2 commit a60af70
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,8 @@ Send a payment initiation request for an online payment. Returns an object with
```java
public class PaymentInitiationRequest {
private String storeId = "UUID of assigned store";
private String orderId = "UUID generated for the request";
private String paymentReference = "UUID generated for the request with 'pay_' appended: pay_UUID";
private String orderId = "a unique reference for the payment";
private String paymentReference = "a unique reference for the payment";
private String amount = "1.00";
private String currency = "GBP";
private String returnUrl = "returnUrl";
Expand Down Expand Up @@ -473,8 +473,8 @@ import com.kodypay.grpc.pay.v1.*;
PaymentClient paymentClient = new PaymentClient(HOSTNAME, APIKEY);

String storeId = "UUID of assigned store";
String orderId = "UUID of order generated by Kody";
String paymentReference = "UUID generated for the request with 'pay_' appended: pay_UUID";
String orderId = "a unique reference for the payment";
String paymentReference = "a unique reference for the payment";
String amount = "1.00";
String currency = "GBP";
String returnUrl = "returnUrl";
Expand All @@ -501,6 +501,8 @@ PaymentInitiationResponse response = paymentClient.sendOnlinePayment(paymentInit
The payment details request requires the following parameters:
- `storeId` - the ID of your assigned store
- `pageCursor` - set pagination settings
- `page` - set an offset of the results. Default value is 0
- `pageSize` - the number of results to be returned per page. Default value is 0

#### GetPaymentsRequest: Get Payments Request
````java
Expand Down

0 comments on commit a60af70

Please sign in to comment.