Skip to main content
PATCH
/
v1
/
users
/
me
Java (SDK)
package hello.world;

import java.lang.Exception;
import org.openapis.openapi.AriesJava;
import org.openapis.openapi.models.components.UpdateUserRequest;
import org.openapis.openapi.models.errors.ErrorResponse;
import org.openapis.openapi.models.operations.UpdateMeResponse;

public class Application {

    public static void main(String[] args) throws ErrorResponse, Exception {

        AriesJava sdk = AriesJava.builder()
                .bearerAuth(System.getenv().getOrDefault("BEARER_AUTH", ""))
            .build();

        UpdateUserRequest req = UpdateUserRequest.builder()
                .build();

        UpdateMeResponse res = sdk.users().updateMe()
                .request(req)
                .call();

        if (res.updateUserResponse().isPresent()) {
            // handle response
        }
    }
}
{
  "id": 123,
  "email": "<string>",
  "country": "<string>",
  "plaid_status": "<string>",
  "account_application": {
    "id": 123,
    "status": "CREATED",
    "can_submit": true,
    "missing_fields": [
      "<string>"
    ],
    "plaid_link_token": "<string>"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://finance.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
plaid_status
enum<string>

Must be 'PENDING'

Available options:
PENDING
account_application
object

Response

User updated successfully

id
integer<int64>
email
string
country
string
plaid_status
string
account_application
object
created_at
string<date-time>
updated_at
string<date-time>