Skip to content

Incorrect return type for /authorization_code endpoint #133

@rubendinho

Description

@rubendinho

While the return type in the OAS document says Array, the API actually returns a single AuthorizationCodeResponse object:

authorization_code:
items:
"$ref": "#/components/schemas/AuthorizationCodeResponse"

This is also what the MX docs show: https://docs.mx.com/products/connectivity/instant-account-verification/processor-token/client-guide#5-request-an-authorization-code

Because of this error, OpenAPI-generator clients are not returning data for this endpoint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions