mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 22:18:09 +01:00
stripe integration
This commit is contained in:
12
scripts/create_invoice_test.py
Normal file
12
scripts/create_invoice_test.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from tools.create_invoice import create_invoice
|
||||
|
||||
if __name__ == "__main__":
|
||||
# Example usage:
|
||||
args_create = {
|
||||
"email": "jenny.rosen@example.com",
|
||||
"amount": 150.00,
|
||||
"description": "Flight to Seattle",
|
||||
"days_until_due": 7,
|
||||
}
|
||||
invoice_details = create_invoice(args_create)
|
||||
print(invoice_details)
|
||||
Reference in New Issue
Block a user