Skip to content

Commit bc12b2a

Browse files
committed
readme changes
1 parent 8e6daf5 commit bc12b2a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,8 @@ List Webhooks Detail:
619619

620620
```java
621621
HashMap<String, Object> params = new HashMap<String, Object>();
622-
params.put("webhook_id", "4107e308-0146-4c6f-b2f3-617e2c0d2354");
622+
//params.put("limit", 10);
623+
//params.put("pagination_identifier", "eyJsYXN0RXZhbHVhdGVkS2V5Ijp7InVpZCI6eyJTIjoiZDE5NGFhNzUtYWNkNS00ZjQwLWIzZmItZTczYTdjZjdjMGQ5In0sIndhIjp7IlMiOiIweDU4YjQxMDY0NzQ4OWI4ODYzNTliNThmZTIyMjYwZWIxOTYwN2IwZjYifX19");
623624
JsonObject response = webhooksService.getList( params );
624625
System.out.println("response: " + response.toString() );
625626
```
@@ -631,7 +632,7 @@ String version = "2";
631632
String stringifiedData = "YourStringifiedObjectData"
632633
String requestTimestamp = "1559902637";
633634
String signature = "e9206f9feecccd8f9653a4bdb56ea74531e6528bae8f6de1797aa77dc5235923";
634-
params.put("webhook_id", "4107e308-0146-4c6f-b2f3-617e2c0d2354");
635-
JsonObject response = webhooksService.verifySignature( version, stringifiedData, requestTimestamp, signature );
635+
String webhookSecret = "09121ae7614856777fa36d63aca828e0ef14be77fb48fa149e0c0b50fec847a7";
636+
JsonObject response = webhooksService.verifySignature( version, stringifiedData, requestTimestamp, signature, webhookSecret );
636637
System.out.println("response: " + response.toString() );
637638
```

0 commit comments

Comments
 (0)