Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for issue 1424, UPDATE manual account #122

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fixes for issue 1424, UPDATE manual account
WayneMyerMX committed Aug 4, 2023
commit c691da85293414cbaa1dc81f988df966e46cb289
83 changes: 77 additions & 6 deletions openapi/mx_platform_api.yml
Original file line number Diff line number Diff line change
@@ -65,16 +65,17 @@ components:
type: integer
property_type_name:
example: 'VEHICLE'
type: string
skip_webhook:
example: false
type: boolean
type: string
required:
- name
- account_type
type: object
AccountCreateRequestBody:
properties:
skip_webhook:
example: true
nullable: true
type: boolean
account:
"$ref": "#/components/schemas/AccountCreateRequest"
type: object
@@ -432,12 +433,76 @@ components:
type: object
AccountUpdateRequest:
properties:
account_subtype_name:
example: 'PERSONAL'
type: string
account_type:
example: 2
type: integer
apr:
example: 1.0
type: number
apy:
example: 1.0
type: number
available_balance:
example: 1000.0
type: number
balance:
example: 1000.0
type: number
cash_surrender_value:
example: 1000.0
type: number
credit_limit:
example: 100.00
type: number
currency_code:
example: USD
type: string
death_benefit:
example: 1000
type: integer
interest_rate:
example: 1.0
type: number
is_business:
example: false
type: boolean
is_closed:
example: false
type: boolean
is_hidden:
example: false
type: boolean
loan_amount:
example: 1000.0
type: number
metadata:
example: some metadata
type: string
name:
example: Test account 2
type: string
nickname:
example: Swiss Account
type: string
original_balance:
example: 10.0
type: number
property_type:
example: 1
type: integer
property_type_name:
example: 'VEHICLE'
type: string
type: object
AccountUpdateRequestBody:
properties:
skip_webhook:
example: true
nullable: true
type: boolean
account:
"$ref": "#/components/schemas/AccountUpdateRequest"
type: object
@@ -2997,6 +3062,12 @@ paths:
name: page
schema:
type: integer
- description: List only accounts that were manually created.
example: true
in: query
name: is_manual
schema:
type: boolean
- description: Specify records per page.
example: 10
in: query
@@ -4459,8 +4530,8 @@ paths:
tags:
- mx_platform
put:
description: This endpoint allows you to update certain attributes of an `account`
resource.
description:
This endpoint allows you to update certain attributes of an `account` resource including manual accounts.
operationId: updateAccountByMember
parameters:
- description: The unique id for an `account`.