Skip to content

Commit e5b3602

Browse files
authored
Merge pull request #158 from mxenabled/gn/DEVX-1743-member-response-updates
Update MemberResponse with new fields
2 parents 332fccb + 95e556e commit e5b3602

1 file changed

Lines changed: 35 additions & 17 deletions

File tree

openapi/mx_platform_api.yml

Lines changed: 35 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2023,12 +2023,8 @@ components:
20232023
type: object
20242024
MemberResponse:
20252025
properties:
2026-
error:
2027-
example: '{\"error_type\": \"MEMBER\", \"error_code\": 1000, \"error_message\": \"This Member has no eligible checking, savings, or money market accounts.\", \"user_message\": \"We could not find any accounts eligible for transfers. Please link a checking or savings account.\", \"locale\": \"en\"}'
2028-
nullable: true
2029-
type: string
20302026
aggregated_at:
2031-
example: "2016-10-13T18:07:57.000Z"
2027+
example: '2016-10-13T18:07:57.000Z'
20322028
nullable: true
20332029
type: string
20342030
background_aggregation_is_disabled:
@@ -2038,6 +2034,14 @@ components:
20382034
example: CONNECTED
20392035
nullable: true
20402036
type: string
2037+
connection_status_message:
2038+
example: 'Connected to MX Bank'
2039+
nullable: true
2040+
type: string
2041+
error:
2042+
example: '{\"error_type\": \"MEMBER\", \"error_code\": 1000, \"error_message\": \"This Member has no eligible checking, savings, or money market accounts.\", \"user_message\": \"We could not find any accounts eligible for transfers. Please link a checking or savings account.\", \"locale\": \"en\"}'
2043+
nullable: true
2044+
type: string
20412045
guid:
20422046
example: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b
20432047
nullable: true
@@ -2047,9 +2051,13 @@ components:
20472051
nullable: true
20482052
type: string
20492053
institution_code:
2050-
example: chase
2054+
example: mxbank
20512055
nullable: true
20522056
type: string
2057+
institution_guid:
2058+
example: INS-12345678-90ab-cdef-1234-567890abcdef
2059+
nullable: false
2060+
type: string
20532061
is_being_aggregated:
20542062
example: false
20552063
nullable: true
@@ -2067,37 +2075,47 @@ components:
20672075
nullable: true
20682076
type: boolean
20692077
metadata:
2070-
example: '\"credentials_last_refreshed_at\": \"2015-10-15\"'
2078+
example: '\"credentials_last_refreshed_at\": \"2015-10-15\'
20712079
nullable: true
20722080
type: string
20732081
most_recent_job_detail_code:
2074-
example: (deprecated)
2082+
example: null
20752083
nullable: true
2076-
type: string
2084+
type: integer
20772085
most_recent_job_detail_text:
2078-
example: (deprecated)
2086+
example: null
20792087
nullable: true
2080-
type: string
2088+
type: boolean
2089+
most_recent_job_guid:
2090+
example: JOB-12345678-90ab-cdef-1234-567890abcdef
2091+
nullable: true
2092+
type: boolean
20812093
name:
2082-
example: Chase Bank
2094+
example: MX Bank
20832095
nullable: true
20842096
type: string
2097+
needs_updated_credentials:
2098+
example: false
2099+
nullable: true
2100+
type: boolean
20852101
oauth_window_uri:
20862102
example: https://mxbank.mx.com/oauth/authorize?client_id=b8OikQ4Ep3NuSUrQ13DdvFuwpNx-qqoAsJDVAQCyLkQ&redirect_uri=https%3A%2F%2Fint-app.moneydesktop.com%2Foauth%2Fredirect_from&response_type=code&scope=openid&state=d745bd4ee6f0f9c184757f574bcc2df2
20872103
nullable: true
20882104
type: string
20892105
successfully_aggregated_at:
2090-
example: "2016-10-13T17:57:38.000Z"
2106+
example: '2016-10-13T17:57:38.000Z'
20912107
nullable: true
20922108
type: string
20932109
use_cases:
2094-
example: ["PFM", "IAV"]
2095-
nullable: true
20962110
type: array
2111+
description: The use case associated with the member. Valid values are `PFM` and/or `MONEY_MOVEMENT`. Only set this if you've met with MX and have opted in to using this field.
20972112
items:
2098-
example: "PFM"
2099-
nullable: false
21002113
type: string
2114+
enum:
2115+
- MONEY_MOVEMENT
2116+
- PFM
2117+
example:
2118+
- "PFM"
21012119
user_guid:
21022120
example: USR-fa7537f3-48aa-a683-a02a-b18940482f54
21032121
nullable: true

0 commit comments

Comments
 (0)