VivaPayments / API

Index of Viva Wallet open source projects on GitHub.
139 stars 162 forks source link

How to get all subscription / payment with API ? #2412

Closed AmityTek closed 1 year ago

AmityTek commented 1 year ago

Hi,

i can't find any endpoints to get all subscription, or last payment in given time. I would like to get all recurrent payment, i just need basic infos. why you doc isn't providing anything on this topic ? (support in website doesn't know anything)

Thanks

VivaWalletCustomerSupport commented 1 year ago

Hello @AmityTek,

Thank you for your message. If you wish to find all subscriptions of your account, you can use our Retrieve Transaction by Date API request and check the parameter "recurringSupport". All the transactions that allow recurring payments will have the value "true" on this parameter.

Kind regards, Viva Wallet E-commerce Support Team

AmityTek commented 1 year ago

OK i added &date=2018-08-27 for example its working

but what i need is simple, retrieve all transaction in my account, (ALL) it is possible ?

could you show me which url i have to use in production mode ?

AmityTek commented 1 year ago

_https://demo.vivapayments.com/api/transactions/?sourceCode=Default&date=xxxx WORKING

https://www.vivapayments.com/api/transactions/?sourceCode=Default&date=xxxx NOT WORKING_

image

VivaWalletCustomerSupport commented 1 year ago

Hello @AmityTek,

Thank you for the swift response. Kindly note that via our API you can only retrieve a single transaction or transactions of a specific date. About the 404 response can you please provide the Merchant ID of your account to investigate it further?

Kind regards, Viva Wallet E-commerce Support Team

AmityTek commented 1 year ago

Sorry, my fault, i was with the wrong merchantID

thank you for help !! When you will update this link for the V2? because its deprecated

VivaWalletCustomerSupport commented 1 year ago

Hello @AmityTek,

Thank you for your message. Even though they appear as deprecated, they are fully functional.

We would also like to recommend checking our release notes page for information about the additions and updates to our products and services.

Kind regards, Viva Wallet E-commerce Support Team

VivaWalletCustomerSupport commented 1 year ago

Hello @AmityTek,

This ticket will close for now. Please don't hesitate to raise a new ticket if you need further assistance.

Kind regards, Viva Wallet E-commerce Support Team