Skip to content

Commit 7cb7d47

Browse files
authored
Update README for sift rebrand (#36)
1 parent 4561b26 commit 7cb7d47

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Sift Science Java API
1+
# Sift API
22

3-
The official Java bindings for the latest version (v205) of the [Sift Science API](https://siftscience.com/developers/docs/java/apis-overview) .
3+
The official Java bindings for the latest version (v205) of the [Sift API](https://sift.com/developers/docs/java/apis-overview) .
44

55
## Requirements
66
Java 1.7 or later.
@@ -40,7 +40,7 @@ SiftClient client = new SiftClient("your_api_key");
4040

4141
### Send Events
4242

43-
[API Docs](https://siftscience.com/developers/docs/java/events-api)
43+
[API Docs](https://sift.com/developers/docs/java/events-api)
4444

4545
All request types can be built using the overloaded `client.buildRequest`.
4646
Here's an example for the `$create_order` event type.
@@ -68,7 +68,7 @@ EventRequest createOrderRequest = client.buildRequest(new CreateOrderFieldSet()
6868
.setZipCode("03257"))
6969
.setExpeditedShipping(true)
7070
// More supported fields documented at:
71-
// https://siftscience.com/developers/docs/java/events-api/reserved-events/create-order
71+
// https://sift.com/developers/docs/java/events-api/reserved-events/create-order
7272

7373
// Custom fields.
7474
.setCustomField("digital_wallet", "apple_pay")
@@ -97,7 +97,7 @@ EventResponseBody body = response.getBody();
9797
### Get Scores
9898
#### Synchronous Scoring
9999

100-
[API Docs](https://siftscience.com/developers/docs/java/score-api/synchronous-scores)
100+
[API Docs](https://sift.com/developers/docs/java/score-api/synchronous-scores)
101101

102102
To get a score in the response body of an event request, build your event
103103
request as usual and then augment the request with a list of abuse types
@@ -124,7 +124,7 @@ scores for all abuse types.
124124

125125
#### Score API
126126

127-
[API Docs](https://siftscience.com/developers/docs/java/score-api/score-api)
127+
[API Docs](https://sift.com/developers/docs/java/score-api/score-api)
128128

129129
Scores may also be requested separately from incoming event requests.
130130
Provide a `ScoreFieldSet` containing a list of abuse types `client.buildRequest`
@@ -147,7 +147,7 @@ AbuseScore paymentAbuseScore = response.getAbuseScore("payment_abuse");
147147
### Labels
148148
#### Label User
149149

150-
[API Docs](https://siftscience.com/developers/docs/java/labels-api)
150+
[API Docs](https://sift.com/developers/docs/java/labels-api)
151151

152152
To send a label, build a request using a `LabelFieldSet`;
153153
```java
@@ -163,7 +163,7 @@ LabelRequest request = client.buildRequest(new LabelFieldSet()
163163

164164
#### Unlabel User
165165

166-
[API Docs](https://siftscience.com/developers/docs/java/labels-api/unlabel-user)
166+
[API Docs](https://sift.com/developers/docs/java/labels-api/unlabel-user)
167167

168168
Similarly, use an `UnlabelFieldSet` to unlabel a user.
169169
```java
@@ -177,7 +177,7 @@ UnlabelRequest request = client.buildRequest(new UnlabelFieldSet()
177177
### Workflow Status
178178
#### Synchronous Workflow Statuses
179179

180-
[API Docs](https://siftscience.com/developers/docs/java/workflows-api/workflow-decisions)
180+
[API Docs](https://sift.com/developers/docs/java/workflows-api/workflow-decisions)
181181

182182
Similarly to the Scores API, EventRequest objects can also be modified to
183183
return a Workflow Status using the `EventRequest#withWorkflowStatus` method.
@@ -188,7 +188,7 @@ EventRequest createOrderRequest = client.buildRequest(createOrderFieldSet)
188188

189189
#### Workflow Status API
190190

191-
[API Docs](https://siftscience.com/developers/docs/java/workflows-api/workflow-status)
191+
[API Docs](https://sift.com/developers/docs/java/workflows-api/workflow-status)
192192

193193
To query the Workflow Status API, create a request with a WorkflowStatusFieldSet.
194194
```java
@@ -199,7 +199,7 @@ WorkflowStatusRequest request = client.buildRequest(new WorkflowStatusFieldSet()
199199

200200
### Apply Decision API
201201

202-
[API Docs](https://siftscience.com/developers/docs/java/decisions-api/apply-decision)
202+
[API Docs](https://sift.com/developers/docs/java/decisions-api/apply-decision)
203203

204204
To apply a decision to a user, create a request with accountId, userId, and ApplyDecisionFieldSet.
205205
```java
@@ -258,7 +258,7 @@ ApplyDecisionRequest request = client.buildRequest(
258258

259259
#### Get decisions
260260

261-
[API Docs](https://siftscience.com/developers/docs/java/decisions-api/get-decisions)
261+
[API Docs](https://sift.com/developers/docs/java/decisions-api/get-decisions)
262262

263263
To retrieve available decisions, build a request with a GetDecisionsFieldSet.
264264
```java
@@ -297,7 +297,7 @@ GetDecisionsRequest nextRequest = client.buildRequest(GetDecisionsFieldSet.fromN
297297

298298
### Decision Status API
299299

300-
[API Docs](https://siftscience.com/developers/docs/java/decisions-api/decision-status)
300+
[API Docs](https://sift.com/developers/docs/java/decisions-api/decision-status)
301301

302302
To query the Decision Status API, create a request with a DecisionStatusFieldSet.
303303
```java

0 commit comments

Comments
 (0)