Skip to main content
Add the supplied OrsunPay.0.1.0.nupkg to a local NuGet source. In the project that will call the merchant API, run:
Place the package in ./packages first, or substitute your organization’s package feed.

Look up an order

Create one client per merchant and mode and reuse it across requests. This example shows its configuration and an asynchronous lookup:
Create requests take a persisted idempotency key and string amounts such as "12.30". Pass the request’s cancellation token to the client. If cancellation occurs after dispatch, look up the original order before deciding whether to retry. Transaction status For incoming webhooks, capture the raw body bytes, read exactly one OrsunPay-Signature header, and call Webhooks.Verify with the signing secret for that mode. Webhook delivery