Skip to content

Added cancel token#325

Merged
ankitdas13 merged 3 commits intomasterfrom
added-cancel-token
Mar 9, 2026
Merged

Added cancel token#325
ankitdas13 merged 3 commits intomasterfrom
added-cancel-token

Conversation

@ankitdas13
Copy link
Contributor

Returns:
Dict for cancel token
"""
url = "{}/{}/tokens/{}/cancel".format(self.base_url, customer_id, token_id)
Copy link
Contributor

Choose a reason for hiding this comment

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

Just curious, why not url = f"{self.base_url}/{customer_id}/tokens/{token_id}/cancel"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

replaced url f string with format()

razorpay-sanjib
razorpay-sanjib previously approved these changes Mar 9, 2026
@ankitdas13 ankitdas13 self-assigned this Mar 9, 2026
@ankitdas13 ankitdas13 added the TestingNotRequired TestingNotRequired label for BVT label Mar 9, 2026
@ankitdas13 ankitdas13 merged commit 6606666 into master Mar 9, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

TestingNotRequired TestingNotRequired label for BVT

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants