automatic-payments tests - wrong consent scope
1. What happened and what were you expecting?
While running internal tests,
We could perceive that within the scopes present in the access token used to make the POST recurring-payments call there is:
scope: consent:consentId
It should be
scope: recurring-consent:recurringConsentId
As described in:
for /pix/recurring-payments Post endpoint
2. Test Id
Test name | Plan Id |
---|---|
automatic-payments_api_sweeping-accounts-consents-core_test-module_v1 | r5n4ClgI8KBJj |
automatic-payments_api_expirationDateTime_test-module_v1 | r5n4ClgI8KBJj |
automatic-payments_api_multiple-consents-core_test-module_v1 | r5n4ClgI8KBJj |
automatic-payments_api_revoked-consent_test-module_v1 | r5n4ClgI8KBJj |
automatic-payments_api_startDateTime_test-module_v1 | r5n4ClgI8KBJj |
automatic-payments_api_sweeping-accounts-core_test-module_v1 | r5n4ClgI8KBJj |
automatic-payments_api_sweeping-accounts-invalid-cnpj_test-module_v1 | r5n4ClgI8KBJj |
automatic-payments_api_sweeping-accounts-limits_test-module_v1 | r5n4ClgI8KBJj |
automatic-payments_api_sweeping-accounts-wrong-creditor_test-module_v1 | r5n4ClgI8KBJj |
automatic-payments_api_sweeping-accounts-root-cnpj_test-module_v1 | r5n4ClgI8KBJj |
automatic-payments_api_webhook-revoked_test-module_v1 | b21Xl6oitsPyU |
automatic-payments_api_webhook-acsc_test-module_v1 | b21Xl6oitsPyU |
automatic-payments_api_webhook-multiple-consents_test-module_v1 | b21Xl6oitsPyU |
Edited by Caio Tranjan