checkout / checkout-sdk-net

Checkout SDK for Microsoft .NET
https://checkout.com
MIT License
21 stars 23 forks source link

Card Issuing / Transactions #413

Open Antaris opened 2 months ago

Antaris commented 2 months ago

With the current IIssuingClient, there is a focus on getting/setting card information, but crucially, I think its missing these two operations for retrieving card transactions:

https://api-reference.checkout.com/#tag/Transactions/paths/~1issuing~1transactions/get https://api-reference.checkout.com/#tag/Transactions/paths/~1issuing~1transactions~1%7BtransactionId%7D/get

Is this on the backlog already, and if so, what is the ETA for this support?

armando-rodriguez-cko commented 2 months ago

Hi @Antaris, thank you for let us know, we will try to update the SDKs ASAP, I write down it and I add new tasks to the queue

Antaris commented 2 months ago

Thanks @armando-rodriguez-cko

I have a work around currently whereby I am using reflection to get access to the underlying SdkAuthorization and ApiClient instances used by the client. This allows me to construct a manual call to ApiClient.Get<T>(path, auth, cancellationToken).

Interesting enough, maybe you could actually expose the ApiClient through AbstractClient as a property - this could mean people can write their own bespoke queries without having to wait for the SDK to catch up - e.g., the card transaction API calls are technically in beta, so you probably wouldn't support them through the SDK until they are GA, right? But if you exposed ApiClient as a property, people can write their own requests?