openapi: 3.0.0
info:
contact:
name: MX Platform API
url: https://www.mx.com/products/platform-api
description: '
The MX Platform API is a powerful, fully-featured API designed to make
aggregating and enhancing financial data easy and reliable. It can
seamlessly connect your app or website to tens of thousands of financial
institutions.'
title: MX Platform Challenges API
version: 0.1.0
servers:
- url: https://api.mx.com
- url: https://int-api.mx.com
security:
- basicAuth: []
tags:
- name: Challenges
paths:
/users/{user_guid}/members/{member_guid}/challenges:
get:
description: Use this endpoint for information on what multi-factor authentication challenges need to be answered in order to aggregate a member. If the aggregation is not challenged, i.e., the member does not have a connection status of `CHALLENGED`, then code `204 No Content` will be returned. If the aggregation has been challenged, i.e., the member does have a connection status of `CHALLENGED`, then code `200 OK` will be returned - along with the corresponding credentials.
operationId: listMemberChallenges
parameters:
- description: The unique id for a `member`.
example: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b
in: path
name: member_guid
required: true
schema:
type: string
- description: Specify current page.
example: 1
in: query
name: page
schema:
type: integer
- description: Specify records per page.
example: 10
in: query
name: records_per_page
schema:
type: integer
- description: The unique id for a `user`.
example: USR-fa7537f3-48aa-a683-a02a-b18940482f54
in: path
name: user_guid
required: true
schema:
type: string
responses:
'200':
content:
application/vnd.mx.api.v1+json:
schema:
$ref: '#/components/schemas/ChallengesResponseBody'
description: OK
summary: List member challenges
tags:
- Challenges
components:
schemas:
OptionResponse:
properties:
label:
example: IMAGE_1
nullable: true
type: string
value:
example: image_data
nullable: true
type: string
type: object
ChallengeResponse:
properties:
field_name:
example: Who is this guy?
nullable: true
type: string
guid:
example: CRD-ce76d2e3-86bd-ec4a-ec52-eb53b5194bf5
nullable: true
type: string
image_data:
example: Who is this guy?
nullable: true
type: string
image_options:
items:
$ref: '#/components/schemas/ImageOptionResponse'
type: array
label:
example: Who is this guy?
nullable: true
type: string
options:
items:
$ref: '#/components/schemas/OptionResponse'
type: array
type:
example: IMAGE_DATA
nullable: true
type: string
type: object
PaginationResponse:
properties:
current_page:
example: 1
type: integer
per_page:
example: 25
type: integer
total_entries:
example: 1
type: integer
total_pages:
example: 1
type: integer
type: object
ChallengesResponseBody:
properties:
challenges:
items:
$ref: '#/components/schemas/ChallengeResponse'
type: array
pagination:
$ref: '#/components/schemas/PaginationResponse'
type: object
ImageOptionResponse:
properties:
data_uri:
example: data:image/png;base64,iVBORw0KGgoAAAANSUh ... more image data ...
nullable: true
type: string
label:
example: IMAGE_1
nullable: true
type: string
value:
example: image_data
nullable: true
type: string
type: object
securitySchemes:
basicAuth:
scheme: basic
type: http