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

Feature Suggestion: Add "expand" Parameter to refund method #1821

Open
Anemoiaa opened this issue Mar 6, 2024 · 1 comment
Open

Feature Suggestion: Add "expand" Parameter to refund method #1821

Anemoiaa opened this issue Mar 6, 2024 · 1 comment

Comments

@Anemoiaa
Copy link

Anemoiaa commented Mar 6, 2024

We propose adding an "expand" parameter to the refund method. This improvement, would allow users to specify additional resources to include in the response, reducing the number of requests needed to update information after a transaction refund.

Example Usage
$newTransaction = $coreService->transactions()->refund(id: 1, expand: 'invoices,parentTransaction');

@nevmerzhitsky
Copy link

Will this feature implemented?

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

2 participants