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

add payment method options parameter #13

Merged
merged 8 commits into from
Feb 7, 2024

Conversation

lohanidamodar
Copy link
Contributor

No description provided.

}

$result = $this->execute(self::METHOD_POST, $path, $requestBody);

return $result;
}

public function listFuturePayments(?string $customerId = null, ?string $pyamentMethodId = null): array
{
$path = '/setup_intents';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How come all the functions use the same endpoint?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think they do, create and list is same with different HTTP method.

@lohanidamodar lohanidamodar merged commit 4032deb into main Feb 7, 2024
3 checks passed
@lohanidamodar lohanidamodar deleted the feat-future-payment-additional-options branch February 7, 2024 05:12
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

Successfully merging this pull request may close these issues.

2 participants