Example request for Cybersource Rest API v2 Authorizations

vkamboj
Community Moderator

Re: Example request for Cybersource Rest API v2 Authorizations

Hello @rbrandenburg,

 

Generate Key API and Tokenize card API is only V1. Please check below link.

 

https://developer.visa.com/capabilities/cybersource/reference#cybersource__cybersource_flex_api__v1_...

 

Only Process / Capture / Refund Payment APIs are v2.

 

https://developer.visa.com/capabilities/cybersource/reference#cybersource__cybs_payments_v2__v2__pro...

 

Thank you, 

Vaibhav 

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
Danny12
Dabbler

Re: Example request for Cybersource Rest API v2 Authorizations

This is really amazing. Great information about blog.

psiphon

gwoolf
Regular Visitor

Re: Example request for Cybersource Rest API v2 Authorizations

Was this resolved?  

 

I too am trying to send a subscriptionId in place of card data and with all my testing, I can't seem to get a correct request payload built that will provide me with a successful Credit Card Authorization request.

 

I tried just putting the token id/subscriptionId in the tokenizedCard: { number : "<subscriptionID>" } area of the JSON requet payload, but the error message tells me that .  recipientInformation : { card : { number: "<first 4+last 6 of card>" }} is required.

 

Any idea on how to send tokenized card info in place of full pan data in order to process a payment?