API Reference
A human-readable summary of all Float Service API endpoints. For the full interactive OpenAPI specification with request/response schemas, see API Specification.
Overview
All endpoints are served by the prod-float-service-api Lambda behind API Gateway at https://float-service.api.floatme.io/v1.
Authorization is enforced at the API Gateway level:
-
IAM — internal FloatMe services authenticate with AWS IAM credentials.
-
JWT — mobile app requests are authenticated with a user JWT via the global FloatMe API gateway.
All paths are prefixed with /{user_id} scoped to the user being operated on.
Float Management
| Method | Path | Description |
|---|---|---|
|
|
Create a float. Runs fraud, underwriting, and subscription checks before submitting disbursement. See Disbursement for the full validation sequence. |
|
|
Return all floats for a user, ordered by due date descending. Accepts optional |
|
|
Return floats in active statuses only: |
|
|
Return a single float by ID. |
|
|
Update a float’s |
|
|
Return all collection attempt log entries for a float from the |
POST /{user_id}/floats — Request Body
| Field | Type | Required | Description |
|---|---|---|---|
|
number |
Yes |
Requested advance amount. |
|
string enum |
Yes |
|
|
string |
Yes |
Client app build version. Validated against the configured minimum. |
|
string |
No |
ISO 8601 date. Must fall within the allowed custom payback window; see GrowthBook flag |
Bypass Management
| Method | Path | Description |
|---|---|---|
|
|
Return the active requirements bypass record for a user. Returns 404 if none exists. |
|
|
Create or replace the bypass record for a user. Required body fields: |
|
|
Remove the bypass record for a user. |
See Bypass & Payback for full bypass semantics and effect on float creation.
Payback
| Method | Path | Description |
|---|---|---|
|
|
Submit a manual payback for an active float. Required body field: |
|
|
Pay off all past-due active floats for a user during account reactivation. Always uses pinless debit. Returns amounts collected, remaining, and masked card number. |
See Bypass & Payback for flow details and Float Lifecycle for the reactivation payback multi-float sequence.
Administration
| Method | Path | Description |
|---|---|---|
|
|
Default all |
|
|
(Test environments only) Batch-create float records with associated collection history and payment records. Restricted to the |
Error Responses
All error responses use a common shape:
{
"message": "human-readable description",
"status_code": 400,
"error_code": "INVALID_REQUEST_BODY"
}
Generic Error Codes
Used by all endpoints except POST /{user_id}/floats.
error_code |
HTTP Status | Meaning |
|---|---|---|
|
404 |
The requested resource does not exist. |
|
400 |
The request body failed schema validation. |
|
403 |
The caller is not authorized to perform this operation. |
|
500 |
An unexpected internal error occurred. |
Float Creation Error Codes
POST /{user_id}/floats returns a CreateFloatErrorCode instead of the generic codes above.
error_code |
HTTP Status | Meaning |
|---|---|---|
|
403 |
User is not in |
|
403 |
User’s membership is in |
|
403 |
Email verification is enforced and the user’s email is not verified. |
|
403 |
User’s subscription is in |
|
403 |
No linked main bank account found via the Transactions Service. |
|
403 |
Underwriting indicates the user is not eligible for a float. |
|
400 |
User already has an outstanding float. |
|
400 |
User took a float within the last 24 hours. |
|
400 |
User has an open or defaulted installment loan via the LOC Service. |
|
400 |
Requested amount exceeds the configured maximum. |
|
400 |
App build version is below the configured minimum. |
|
400 |
The Payments Service fraud check rejected the request. |
|
403 |
Underwriting did not approve the requested amount and no bypass is active. |
|
400 |
The provided |
|
500 |
The Payments Service returned an error when submitting the disbursement. |
|
400 |
General request validation failure. |
|
500 |
An unexpected error occurred during float creation. |
Related Pages
-
API Specification — Full interactive OpenAPI spec (Swagger UI)
-
Float Lifecycle — End-to-end float creation and status transitions
-
Bypass & Payback — Bypass, payback, and ban flows
-
Collections Engine — How collection history entries are generated