4 posts / 0 new
Last post
lineskip9248
Create Token for Credit Card

Hello,

I noticed the tokenize credit card method has been changed to POST on the API reference page. For now all our platforms are still using GET method to create TA token for credit cards. Is it necessary to change to POST? Will GET method interface be closed in the future?

Thanks!


christopherlord730
Re: Create Token for Credit Card

It is necessary to change to the POST method and we strongly advise working on modifying the code accordingly as soon as possible. The tentative date for ending support for the GET tokenization method is March 31st, 2018.


lineskip9248
Re: Create Token for Credit Card

Thanks for your reply! Also we are using the following message to capture and void TA token payments, should I change use the "credit card" request body? As I only found this under refund and tagged refund. We integrated this about one year ago, it's working well so far, but It seems a lot of things has been changed.

{
"merchant_ref": "Astonishing-Sale",
"transaction_type": "capture",(or "void")
"method": "token",
"amount": "200",
"currency_code": "USD",
"token": {
"token_type": "FDToken",
"token_data": {
"type": "visa",
"value": "2537446225198291",
"cardholder_name": "JohnSmith",
"exp_date": "1030"
}
}
}


christopherlord730
Re: Create Token for Credit Card

That request will work but it's easier to use the credit_card method for captures; voids and refunds. That way you're not exchanging unnecessary information to perform the same request. It works for FDToken transactions and regular credit cards.

https://developer.payeezy.com/payeezy-api/apis/post/transactions/{id}-0