Skip to content

[BUG] - SDK request's method for endpoint pixQrCode/check is wrong #45

@coheia

Description

@coheia

Descrição do prblema

During integration I came across this error:

{ error: 'Route POST:/v1/pixQrCode/check not found' } pix_char_zEaPTjYaoZtaE3b1dkJAQQAG

When validating the REST API documentation, I realized that there was an error in the SDK, because the POST endpoint for this path does not actually exist. The correct one would be GET.

Passos para reproduzir

Invoking the following method causes the error await abacatePay.pixQrCode.check(pixId as any);

Comportamento esperado

Return pix status, as done in the rest api

Ambiente

Dev Mode

Logs relevantes

{ error: 'Route POST:/v1/pixQrCode/check not found' } pix_char_zEaPTjYaoZtaE3b1dkJAQQAG

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions