Skip to content

Commit 7d7da2f

Browse files
authored
add isPaymentToken
1 parent e3ecd79 commit 7d7da2f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

PaymentTransactions/charge-tokenized-credit-card.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ def charge_tokenized_credit_card():
1414
creditCard = apicontractsv1.creditCardType()
1515
creditCard.cardNumber = "4111111111111111"
1616
creditCard.expirationDate = "2020-12"
17+
# Set the token specific info
18+
creditCard.isPaymentToken = True
1719
creditCard.cryptogram = "EjRWeJASNFZ4kBI0VniQEjRWeJA="
1820

1921
payment = apicontractsv1.paymentType()

0 commit comments

Comments
 (0)