wl-online-payments-direct / sdk-client-js

Other
3 stars 2 forks source link

API v1 mentions #2

Closed mho-drouot closed 2 years ago

mho-drouot commented 2 years ago

Client SDK 2.0.0

When creating a payment, the redirect URL looks like "https://payment.preprod.direct.ingenico.com/v1/redirect/handlerequest/9c249d59fe0048ab8af68b3e1fc3cab8". Shouldn't it be a reference to v2 instead of v1?

worldline-direct-support-team commented 2 years ago

Hi @mho-drouot, you can use v1 for this. Please follow the API contract and its responses in these cases. You can use the URL as it is provided by Direct without any issue, you do not need to manipulate it in any way. If and when the switch to v2 is made the API will start returning a URL with v2 in it.