Skip to content

feat: add swap_to parameter to create_invoice method - #331

Merged
ragnarok22 merged 1 commit into
mainfrom
feat/swap_to
Jul 2, 2025
Merged

feat: add swap_to parameter to create_invoice method#331
ragnarok22 merged 1 commit into
mainfrom
feat/swap_to

Conversation

@CarlosLugones

Copy link
Copy Markdown
Collaborator

CryptoBot introduced a swap_to field to allow "creating invoices with automatic conversion of the cryptocurrency paid by the user into your preferred asset":

https://t.me/CryptoBotEN/322

API docs:
http://help.crypt.bot/crypto-pay-api#createInvoice

@CarlosLugones
CarlosLugones requested a review from ragnarok22 July 2, 2025 16:44
@codecov

codecov Bot commented Jul 2, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.87%. Comparing base (8954a3e) to head (ce38a1e).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #331   +/-   ##
=======================================
  Coverage   87.87%   87.87%           
=======================================
  Files           5        5           
  Lines         198      198           
=======================================
  Hits          174      174           
  Misses         24       24           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ragnarok22

Copy link
Copy Markdown
Owner

LGTM

@ragnarok22
ragnarok22 merged commit 9e5c45b into main Jul 2, 2025
9 checks passed
@ragnarok22
ragnarok22 deleted the feat/swap_to branch July 2, 2025 17:05
@ragnarok22 ragnarok22 self-assigned this Jul 2, 2025
@ragnarok22 ragnarok22 added the enhancement New feature or request label Jul 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants