Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to send wait for header #88

Open
AldoLopez opened this issue May 9, 2023 · 3 comments
Open

Ability to send wait for header #88

AldoLopez opened this issue May 9, 2023 · 3 comments

Comments

@AldoLopez
Copy link

We are using the sdk but would like the ability to use the x-wait-for header when creating a transfer so that we can return to our users the status of the transaction.
This would be especially useful for transactions that fail for suspected fraud or any other immediate failures.

@jnis77diver
Copy link

this seems like a must to have. I'm moving away from the SDK b/c this isn't available.

@houserx-jmcc
Copy link

houserx-jmcc commented Feb 29, 2024

Are there any status updates? This is impacting your paying customers still. @joshsadler

@engrpatel21
Copy link

i dont know if this will help you guys but you can set headers when you grab the sdk client like so

    getMoovClient() {
        const moovConfig = this.configService.getMoovioConfig();

        return new Moov(
            {
                accountID: moovConfig.accountId,
                domain: moovConfig.domain,
                publicKey: moovConfig.publicKey,
                secretKey: moovConfig.secreteKey,
            },

            Object.assign({}, gotOptionsForLogging, {
                headers: {
                    'X-Idempotency-Key': uuidv4(),
                },
            }),
        );
    }

i was having some issue with the idempotency header and was able to fix like this. hope this helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants