![]() |
VOOZH | about |
dotnet add package VantagePay.Models --version 1.2026.523.5
NuGet\Install-Package VantagePay.Models -Version 1.2026.523.5
<PackageReference Include="VantagePay.Models" Version="1.2026.523.5" />
<PackageVersion Include="VantagePay.Models" Version="1.2026.523.5" />Directory.Packages.props
<PackageReference Include="VantagePay.Models" />Project file
paket add VantagePay.Models --version 1.2026.523.5
#r "nuget: VantagePay.Models, 1.2026.523.5"
#:package VantagePay.Models@1.2026.523.5
#addin nuget:?package=VantagePay.Models&version=1.2026.523.5Install as a Cake Addin
#tool nuget:?package=VantagePay.Models&version=1.2026.523.5Install as a Cake Tool
VantagePay.Models is the public model package for the VantagePay platform.
It provides strongly typed request/response models, lookup enums, and shared value objects for payments, merchants, consumers, tokens, notifications, and reporting.
This package can be used on its own, without the SDK, in any integration where you need the VantagePay data contracts.
dotnet add package VantagePay.Models
Or via NuGet Package Manager Console:
Install-Package VantagePay.Models
| Target framework | Supported |
|---|---|
.NET 10 (net10.0) |
✅ |
.NET 9 (net9.0) |
✅ |
.NET 8 (net8.0) |
✅ |
.NET Standard 2.1 (netstandard2.1) |
✅ |
The package contains data models and related helpers only. It does not include:
| Namespace | Purpose |
|---|---|
VantagePay.Models |
Shared package-level helpers such as JsonSettings |
VantagePay.Models.Authentication |
Login, password, OTP, token, and claim models |
VantagePay.Models.Common |
Shared value objects such as Address, ContactDetails, Location, IdentityDocument |
VantagePay.Models.Consumers |
Consumer profile, accounts, beneficiaries, KYC, and debit order models |
VantagePay.Models.Devices |
Device identity and platform models |
VantagePay.Models.Extensions |
Utility extensions (for example GetEnumDescription()) |
VantagePay.Models.Lookups |
Lookup enums and in-memory lookup datasets |
VantagePay.Models.Merchants |
Merchant profile, terminal, settlement, notification, and product models |
VantagePay.Models.Merchants.Products |
Merchant product catalog detail models |
VantagePay.Models.Notifications |
Email, SMS, push, and in-app notification payloads |
VantagePay.Models.Notifications.Requests |
Notification request models |
VantagePay.Models.Payments |
Payment, refund, transaction, source, destination, and status models |
VantagePay.Models.Payments.Requests |
Payment request models (PaymentRequest, MerchantPaymentRequest) |
VantagePay.Models.Payments.ApplePay |
Apple Pay payment response/token payload models |
VantagePay.Models.Payments.GooglePay |
Google Pay payment data/token payload models |
VantagePay.Models.Reporting |
Transaction and sales reporting response models |
VantagePay.Models.Tokens |
Card and bank account tokenization models |
using System.Collections.Generic;
using VantagePay.Models.Lookups;
using VantagePay.Models.Payments;
using VantagePay.Models.Payments.Requests;
var request = new PaymentRequest
{
YourReference = "ORDER-9001",
PaymentSources = new PaymentSources
{
MobileWallets = new List<MobileWalletSource>
{
new MobileWalletSource
{
MobileWalletOperator = MobileWalletOperator.MTN,
Msisdn = "233241234567",
AmountInCents = 10000,
Currency = Currency.GHS,
}
}
},
PaymentDestinations = new PaymentDestinations
{
Merchants = new List<MerchantDestination>
{
new MerchantDestination
{
MerchantReference = "merchant-reference",
AmountInCents = 10000,
Currency = Currency.GHS,
PaymentType = MerchantPaymentType.BuyingGoods,
}
}
}
};
using VantagePay.Models.Lookups;
using VantagePay.Models.Tokens;
var tokenRequest = new CardRequest
{
CardNumber = "4111111111111111",
NameOnCard = "Jane Doe",
ExpiryMonth = Month.March,
ExpiryYear = 2027,
};
PaymentRequest contains PaymentSources (debit side) and PaymentDestinations (credit side).AmountInCents and Currency are defined on shared base models.All monetary amounts are integer minor units (for example cents, kobo, ngwe).
Example: 2550 represents 25.50.
PaymentResponse.Reference is the primary payment reference returned after submission.PaymentStatusResponse.PaymentReference links status payloads back to the same payment.TransactionStatus represents transaction lifecycle states such as Processing, Success, Failed, and Indeterminate.
The VantagePay.Models.Lookups namespace includes enums such as:
Bank, Channel, Country, Currency, IdentityDocumentType, Language, MerchantCategory, MobileWalletOperator, Month, ProductType, and RepeatInterval.
It also includes static lookup datasets such as:
BankData, CurrencyData, CountryData, GhanaBankData, SouthAfricaBankData, NigeriaBankData, MobileWalletOperatorData, and LanguageData.
Use GetEnumDescription() from VantagePay.Models.Extensions to read [Description] values.
Models are designed for JSON and contract-based serialization, including:
System.Text.JsonNewtonsoft.JsonDataContract / DataMember workflowsThe package also includes JsonSettings.Default (Newtonsoft.Json) for consistent VantagePay-oriented serialization settings.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 netstandard2.1 is compatible. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 1 NuGet packages that depend on VantagePay.Models:
| Package | Downloads |
|---|---|
|
VantagePay.SDK
VantagePay API wrapper and SDK for integrating into VantagePay payment, consumer and merchant services. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.2026.523.5 | 159 | 6/2/2026 |
| 1.2026.510.2 | 132 | 5/10/2026 |
| 1.2026.505.1 | 153 | 5/8/2026 |
| 1.2026.312.4 | 343 | 3/12/2026 |
| 1.2026.218.2 | 437 | 2/18/2026 |
| 1.2026.206.8 | 540 | 2/10/2026 |
| 1.2026.129.4 | 454 | 1/29/2026 |
| 1.2025.1211.4 | 893 | 12/11/2025 |
| 1.2025.1119.2 | 922 | 11/19/2025 |
| 1.2025.1112.3 | 922 | 11/12/2025 |
| 1.2025.1015.2 | 902 | 10/15/2025 |
| 1.2025.1006.3 | 864 | 10/6/2025 |
| 1.2025.829.2 | 882 | 8/29/2025 |
| 1.2025.814.2 | 855 | 8/14/2025 |
| 1.2025.701.2 | 851 | 7/8/2025 |
| 1.2025.604.1 | 937 | 6/4/2025 |
| 1.2025.516.3 | 864 | 5/19/2025 |
| 1.2025.409.2 | 957 | 4/10/2025 |
| 1.2025.321.4 | 1,192 | 3/25/2025 |
| 1.2025.319.7 | 860 | 3/19/2025 |