DynamoDB

collection-history - us-east-1

Collection Log

A record of an attempted float collection. Not specifically a payment attempt though.

Keys

  • PK - loan_id

  • SK - run_time

Attributes

  • loan_id - Matches the float/loan id

  • run_time - Epoch timestamp in nanoseconds for when the collection was attempted

  • due_date - The initial float due date in RDS

  • outcome - The outcome of the attempt

  • process - TOMORROW, TODAY6AM, MANUAL, RETRY, WEBHOOKS, Check-ach-cleared, SUPPORT

  • run_date - The run_time in YYYY-MM-DD format

  • user_id

Query Patterns

Query Index Conditions

List collection history for a float

Primary

loan_id = loan_id

profiles - us-east-1

Float Profile

A record that indicates what float amounts a user can take and their float fees at that amount.

Keys

  • PK - user_id

Attributes

  • floats - A json array of float amounts, fee amounts and is_enabled flags

  • is_float_enabled - bool

Query Patterns

Query Index Conditions

Get float profile for user

Primary

user_id = user_id

requirements-bypass - us-east-1

Bypass

A record that indicates if a user is allowed to bypass the underwriting rules. Granted by the MX team.

Keys

  • PK - user_id

Attributes

  • expiration_date - date in YYYY-MM-DD format

  • reason - MX comments, usually the date given and the initials of the agent that did

Query Patterns

Query Index Conditions

Get requirements bypass for user

Primary

user_id = user_id