Skip to content

Commit 0be2b70

Browse files
authored
Update README.md
1 parent c08f436 commit 0be2b70

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,17 @@ else:
7474
print(result_charge.errors)
7575
```
7676

77+
### Tokenize Card
78+
```python
79+
result_card = juno.card.tokenization({"credit_card_hash": "39612e90-ae60-4fdd-a437-fcff56c41bea"})
80+
81+
if result_card.is_success:
82+
print(f"Attached card id: {result_card.credit_card_id}")
83+
print(f".... {result_card.last4_card_number} ({result_card.expiration_month}/{result_card.expiration_year})")
84+
else:
85+
print(result_card.errors)
86+
```
87+
7788
### List Charges
7889
```python
7990
response = juno.charge.find_all(

0 commit comments

Comments
 (0)