Collect a consumer's data from minimal input. Send a few identifiers — such as a phone number and/or email — to a Prefill Product and get back the associated records, then retrieve the saved result later by its transaction id.
Learn more: Prefill Products.
You can find test cases here.
Access. Prefill Products are enabled per customer. Your account must have the relevant product turned on before these endpoints will respond — contact your account manager to enable it.
| Method | Endpoint | Description |
|---|---|---|
| POST | /direct/login | Authenticate with API key and secret |
| POST | /direct/address-prefill | Resolve person + address from phone/email |
| GET | /direct/data-prefill/{transactionId} | Retrieve a previous result by transaction id |
Authenticates a customer host using API key and secret credentials, returning a JWT access token and a refresh token. The access token must be included as a Bearer token in the Authorization header for all /direct/* endpoints.
Requirements: The host must be active.
Expiration: The access token is valid for 1 hour and the refresh token is valid for 2 hours.
- Production Server URLhttps://efx-wgt.stitchcredit.com/api/direct/login
- Development Server URLhttps://efx-dev.stitchcredit.com/api/direct/login
Login Request
curl -i -X POST \
https://efx-wgt.stitchcredit.com/api/direct/login \
-H 'Content-Type: application/json' \
-d '{
"apikey": "your-api-key",
"secret": "your-api-secret"
}'Login Response
{ "token": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1NTBlODQwMCJ9.abc", "expires": 3600, "refresh": "eyJhbGciOiJIUzI1NiJ9.ref.xyz" }