Skip to content

Commit 9d43494

Browse files
Update managed transactions routes
Updates the managed transaction routes with the account_guid path parameter.
1 parent 8328b31 commit 9d43494

1 file changed

Lines changed: 37 additions & 2 deletions

File tree

openapi/mx_platform_api.yml

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3489,12 +3489,19 @@ paths:
34893489
summary: Update managed account
34903490
tags:
34913491
- mx_platform
3492-
"/users/{user_guid}/managed_members/{member_guid}/transactions":
3492+
"/users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}/transactions":
34933493
get:
34943494
description: This endpoint returns a list of all the partner-managed transactions
34953495
associated with the specified `account`, scoped through a `user` and a `member`.
34963496
operationId: listManagedTransactions
34973497
parameters:
3498+
- description: The unique id for an `account`.
3499+
example: ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1
3500+
in: path
3501+
name: account_guid
3502+
required: true
3503+
schema:
3504+
type: string
34983505
- description: Specify current page.
34993506
example: 1
35003507
in: query
@@ -3535,6 +3542,13 @@ paths:
35353542
description: Use this endpoint to create a new partner-managed `transaction`.
35363543
operationId: createManagedTransaction
35373544
parameters:
3545+
- description: The unique id for an `account`.
3546+
example: ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1
3547+
in: path
3548+
name: account_guid
3549+
required: true
3550+
schema:
3551+
type: string
35383552
- description: The unique id for a `user`.
35393553
example: USR-fa7537f3-48aa-a683-a02a-b18940482f54
35403554
in: path
@@ -3566,12 +3580,19 @@ paths:
35663580
summary: Create managed transaction
35673581
tags:
35683582
- mx_platform
3569-
"/users/{user_guid}/managed_members/{member_guid}/transactions/{transaction_guid}":
3583+
"/users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}/transactions/{transaction_guid}":
35703584
delete:
35713585
description: Use this endpoint to delete the specified partner-managed `transaction`.
35723586
The endpoint will respond with a status of `204 No Content` without a resource.
35733587
operationId: deleteManagedTransaction
35743588
parameters:
3589+
- description: The unique id for an `account`.
3590+
example: ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1
3591+
in: path
3592+
name: account_guid
3593+
required: true
3594+
schema:
3595+
type: string
35753596
- description: The unique id for a `member`.
35763597
example: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b
35773598
in: path
@@ -3604,6 +3625,13 @@ paths:
36043625
partner-managed `transaction`.
36053626
operationId: readManagedTransaction
36063627
parameters:
3628+
- description: The unique id for an `account`.
3629+
example: ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1
3630+
in: path
3631+
name: account_guid
3632+
required: true
3633+
schema:
3634+
type: string
36073635
- description: The unique id for a `member`.
36083636
example: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b
36093637
in: path
@@ -3640,6 +3668,13 @@ paths:
36403668
`transaction`.
36413669
operationId: updateManagedTransaction
36423670
parameters:
3671+
- description: The unique id for an `account`.
3672+
example: ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1
3673+
in: path
3674+
name: account_guid
3675+
required: true
3676+
schema:
3677+
type: string
36433678
- description: The unique id for a `member`.
36443679
example: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b
36453680
in: path

0 commit comments

Comments
 (0)