MYPAY DEVELOPERS Documentation Guides and examples for your MyPay integration.
Explore an example Illustrative examples Create a checkout Create a customer Create a payment Browse sample requests and responses.
POST /v2/Checkout/Token
JSON Copy
{
"PublicCheckoutPage.ID": "YOUR_CHECKOUT_PAGE_ID",
"CartProducts[0].ID": "YOUR_PRODUCT_ID",
"CartProducts[0].Quantity": "1"
}JSON Copy
{
"checkoutToken": "example_checkout_token"
}POST /v2/Customers
JSON Copy
{
"Email": "alex@example.com",
"ProjectSubdomain": "https://YOUR_SUBDOMAIN",
"FirstName": "Alex",
"LastName": "Example",
"BillingAddress1": "1 Example Street",
"BillingCountry": "GR",
"BillingZip": "10552"
}JSON Copy
{
"ID": 1024,
"Email": "alex@example.com",
"FirstName": "Alex",
"LastName": "Example"
}POST /v2/Charge
JSON Copy
{
"PaymentToken": "YOUR_PAYMENT_TOKEN",
"Amount": 48,
"Currency": "EUR",
"MerchantUniqueID": "ORDER-1042"
}JSON Copy
{
"ID": 1042,
"Status": "Successful",
"CustomerTransactionCode": "ORDER-1042"
}Documentation preview. Content and examples are subject to change.
Documentation/ Integration guides
Set up your project Connect your company, project, payment gateway and checkout page.
Prepare your account 01 Create your company In the MyPay dashboard, add your company, then create the project your integration will use.
02 Configure a payment method Set up the payment gateway for that project. The available methods depend on your account and agreement.
03 Create a product and checkout page Creating a product also creates a checkout page. You can create a page manually in the dashboard and find its checkout page ID there.
Find the right credentials Credential Where it is used Public KeyMypay.js tokenization. Find it in Management console Security. API username / passwordServer authentication through POST /v2/Token. HMAC CHARGE KEYSigning charge request bodies. Find it in Management console Security.
Keep the API password, bearer token and HMAC charge key on your server. The registration preview on this website does not provision API access.
Next: authenticate your server Documentation/ Integration guides
Authentication Authenticate server requests and sign charge payloads.
Request a token Send your API username and password to the token endpoint as JSON. The published response schema is a string.
cURL Copy
curl --request POST "https://api.mypay.gr/v2/Token" \
--header "Content-Type: application/json" \
--data '{"username":"YOUR_USERNAME","password":"YOUR_PASSWORD"}'Replace example values and credentials before use.
If your account was created through an external sign-in provider, obtain the API password from Management console Security Api Password.
Token endpoint and schema HTTP Copy
Authorization: Bearer YOUR_ACCESS_TOKENThe API defines bearer authentication in the Authorization header. Use HTTPS and keep the token out of browser code and application logs.
Sign charge requests For POST /v2/Charge, add your server IP under Management console Security ALLOWED IPs. Calculate HMAC-SHA256 over the exact JSON request body using the HMAC CHARGE KEY, and send the lowercase hexadecimal digest in the HMAC header.
PHP Copy
$body = json_encode([
'PaymentToken' => 'YOUR_PAYMENT_TOKEN',
'Amount' => 55.55,
'Currency' => 'USD'
]);
$signature = hash_hmac('sha256', $body, getenv('MYPAY_HMAC_CHARGE_KEY'));
// Send this exact $body with the HMAC: $signature header.Replace example values and credentials before use.
View charge fields and examples Documentation/ Integration guides
MyPay Checkout Open a MyPay checkout from your website and pass the details of the purchase.
Load Mypay.js HTML Copy
<script src="https://api.mypay.gr/Content/js/v1/mypay.js"></script>Use the checkout page ID from your project in the MyPay dashboard. Call Mypay.Checkout when the customer chooses to pay.
JavaScript Copy
Mypay.Checkout({
publicCheckoutPageID: YOUR_CHECKOUT_PAGE_ID
});Replace example values and credentials before use.
Preselect the product and customer You can pass a product, quantity and customer token so checkout starts with that information already selected.
JavaScript Copy
Mypay.Checkout({
'PublicCheckoutPage.ID': YOUR_CHECKOUT_PAGE_ID,
'CartProducts[0].ID': YOUR_PRODUCT_ID,
'CartProducts[0].Quantity': YOUR_PRODUCT_QUANTITY,
'Customer.Token': 'YOUR_CUSTOMER_TOKEN'
});Replace example values and credentials before use.
Prepare checkout on your server POST /v2/Checkout/Token accepts a dictionary of checkout parameters. Use its checkout token with the checkoutToken option in Mypay.Checkout.
Checkout token request and examples Checkout options Parameter Type Purpose projectIDlongUse the first checkout page, or create one if needed. invoiceIDlongPrefill the products and customer from an invoice. publicCheckoutPageIDlongCheckout page ID. productIDlongPreselect a product. productQuantityintQuantity of the product. currencystringThree-letter currency code. amountdecimal?Charge a specified amount using a generated product. firstNamestringPrefill customer information. lastNamestringPrefill customer information. emailstringPrefill customer information. companystringPrefill customer information. phonestringPrefill customer information. billingAddress1stringPrefill customer information. billingAddress2stringPrefill customer information. billingCountrystringPrefill customer information. billingStatestringPrefill customer information. billingCitystringPrefill customer information. billingZipstringPrefill customer information. shippingSameAsBillingboolPrefill customer information. shippingAddress1stringPrefill customer information. shippingAddress2stringPrefill customer information. shippingCountrystringPrefill customer information. shippingStatestringPrefill customer information. shippingCitystringPrefill customer information. shippingZipstringPrefill customer information. issueInvoiceboolCreate and send an invoice to the customer. captureboolFalse: authorize only. True: authorize and capture. vendorIDlong[]Show products for the specified vendor IDs. hideHeaderFooterboolControl checkout header and footer visibility. merchantUniqueIDstringAdd your transaction reference to metadata. customerTokenstringUse an existing customer token. collectCustomerInfoboolRequire customer details to be collected. hideCookieNoticeboolHide the library cookie notice; this does not replace consent requirements. uniqueCustomerIDstringSelect a customer by your unique identifier. businessIDlongAssociate a customer business with the transaction. taxdecimalOverride the project or product tax rate. checkoutTokenstringUse checkout parameters prepared through the API. showOnlyPaymentUIboolShow only the main payment interface. paymentTypeIDlongPreselect an available type: 1 PayPal, 5 SEPA, 12 ACH. paymentMethodIDlongPreselect an available payment method.
Payment method identifiers describe the existing library options. They do not guarantee that a method is enabled for your project.
Next: card tokenization Documentation/ Integration guides
Card tokenization Pass a payment token to your server instead of raw card details.
Set your public key Mypay.js exchanges customer and card details for a temporary token. Set the public key from Management console Security.
JavaScript Copy
Mypay.SetPublicKey('YOUR_PUBLIC_KEY');
Mypay.CreateToken().done(function (token) {
// Send the token to your server to continue the payment.
}).fail(function (error) {
// Show a helpful message and let the customer try again.
});Replace example values and credentials before use.
Map your form fields The library reads inputs with data-mypay attributes. The table lists the fields in the published tokenization guide.
Field Type Details emailRequired stringCustomer email firstNameRequired stringFirst name lastNameRequired stringLast name billingAddressRequired stringBilling address zipRequired stringBilling postal code numberRequired stringCard number monthRequired intExpiry month yearRequired intExpiry year cvvRequired intCard security code subdomainstringProject subdomain amountdecimalMay be needed for 3D Secure currencystringMay be needed for 3D Secure vatCountrystringVAT country code vatNumberstringVAT number paymentMethodIDlong?Preselect an available payment method
Use the token on your server The existing guide gives temporary tokens a 30-minute lifetime. Complete the server-side API step before expiry. For subsequent charges, retrieve the permanent customer payment token through the charge or customer response.
A custom card form affects your PCI DSS scope. Confirm the requirements for your exact implementation before collecting card data.
Charge using the payment token Documentation/ Integration guides
Full API integration Build your own checkout around MyPay customers, products, charges and invoices.
Build the payment flow A full API integration uses your own checkout experience. Start with a company, project and gateway, then create the customer and payment method needed for the charge.
Create a customer These fields are marked required in CustomerDTO. Use the project subdomain configured for your company. The full reference includes shipping details, business information and payment methods.
JSON Copy
{
"Email": "customer@example.com",
"ProjectSubdomain": "https://YOUR_SUBDOMAIN",
"FirstName": "Alex",
"LastName": "Example",
"BillingAddress1": "1 Example Street",
"BillingCountry": "GR",
"BillingZip": "10552"
}Replace example values and credentials before use.
Connect the charge to your order ChargeDTO supports MerchantUniqueID for your transaction reference or CustomFields for multiple metadata values. Use one or the other, as specified by the API. Sign the request body using the charge HMAC key.
JSON Copy
{
"PaymentToken": "YOUR_PAYMENT_TOKEN",
"Amount": 55.55,
"Currency": "EUR",
"ProductTitle": "Example order",
"MerchantUniqueID": "ORDER-1001"
}Replace example values and credentials before use.
Review authentication and HMAC Documentation/ Integration guides
Payment notifications Connect payment events with your order and fulfilment logic.
Read the notification payload The v2 contract defines TransactionNotification for charge and payment updates. It includes the transaction ID, status, amount, customer data, signature and webhook type.
Open the complete notification schema Field Purpose IDMyPay transaction identifier StatusTransaction status value AmountNotificationAmount WebhookTypeEvent name from the list below SignatureSignature included in the notification IsLiveLive-mode indicator Metadataarray< TransactionMetadata >
Event types The following values are declared by WebhookType in the API contract.
ChargeCaptureDisputeRefundInvoiceCreatedSubscriptionCreatedSubscriptionPaymentSuccessSubscriptionPaymentFailureSubscriptionCancelCreditCardExpiredPrepaidUsageEndedCustomerCreatedVendorCreatedVendorUpdatedPrepaidUsageLowCredits
Verify before updating an order Verify incoming notifications before updating an order. Your implementation should account for signature validation, duplicate delivery and status reconciliation. The final verification instructions will be added here.
Match the notification to the stored order, check amount and currency, and ensure that processing the same event twice cannot fulfil the order twice.
Review transaction operations Documentation/ Integration guides
Before you go live Check the complete customer journey and your server-side payment handling.
Your launch checklist 01 Confirm the environment, gateway, credentials and payment methods enabled for your project.
02 Test successful, declined, cancelled and interrupted payment journeys, including 3D Secure when applicable.
03 Verify that the exact transmitted charge body matches the body used to calculate HMAC.
04 Check your order reference, amount and currency against the confirmed transaction.
05 Verify notification authentication and handle duplicate or delayed events.
06 Review checkout on mobile, including keyboard entry and returning from payment.
07 Confirm your PCI scope, activation steps and integration support contact.
Documentation/ Payment API v2
Payment API reference Explore endpoints, request fields and response models.
61 Operations
48 Data models
v2 API version
Base URL HTTPS Copy
https://api.mypay.grAll paths below come from the published MyPay Payment API v2 definition. Required fields, types, enum values and response models follow that contract.
Reference by resource Download the API definition Download the local Swagger 2.0 JSON for your API tooling. This portal shows documentation and copyable examples; it does not submit payment requests.
Download JSON Documentation/ Payment API v2
Tokens Api request for token POST /v2/Token
Token_Post
Parameters Request body fields ApiTokenRequest Field Type Details usernameRequired string
passwordRequired string
Responses Status Description Schema 200OK string
Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml Send a POST request to /v2/Token with Content-Type: application/json .
Note that users registered through an external provider (Google, Facebook etc), should obtain their password through MANAGEMENT CONSOLE -> Security -> Api Password
JSON Copy
{
"username": "YOUR_USERNAME",
"password": "YOUR_PASSWORD"
}Replace example values and credentials before use.
Documentation/ Payment API v2
Checkout Creates a checkout token POST /v2/Checkout/Token
Checkout_CreateToken
Parameters Parameter Location / type Details checkoutParametersRequired body object<string, string >
Responses Status Description Schema 200OK object
Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml JSON Copy
{
"PublicCheckoutPage.ID": "YOUR_CHECKOUT_PAGE_ID"
}Replace example values and credentials before use.
Customer info (with selected product)
JSON Copy
{
"PublicCheckoutPage.ID": "YOUR_CHECKOUT_PAGE_ID",
"CartProducts[0].ID": "YOUR_PRODUCT_ID",
"CartProducts[0].Quantity": "YOUR_PRODUCT_QUANTITY"
}Replace example values and credentials before use.
Payment method selection (with selected product and customer)
JSON Copy
{
"PublicCheckoutPage.ID": "YOUR_CHECKOUT_PAGE_ID",
"CartProducts[0].ID": "YOUR_PRODUCT_ID",
"CartProducts[0].Quantity": "YOUR_PRODUCT_QUANTITY",
"Customer.Token": "YOUR_CUSTOMER_TOKEN"
}Replace example values and credentials before use.
Documentation/ Payment API v2
Customers Retrieves the details of an existing customer GET /v2/Customers/{customerID}
Customers_Get
Parameters Parameter Location / type Details customerIDRequired path integer · int64 The ID of the customer to be retrieved
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Deletes a customer DELETE /v2/Customers/{customerID}
Customers_Delete
Parameters Parameter Location / type Details customerIDRequired path integer · int64 The ID of the customer to be deleted
Responses Status Description Schema 200OK object
Content types Request — Response application/json, text/json, application/xml, text/xml Retrieves the details of an existing customer GET /v2/Customers/GetByToken/{token}
Customers_GetByToken
Parameters Parameter Location / type Details tokenRequired path string The ID of the customer to be retrieved
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Retrieves the details of an existing customer GET /v2/Customers/GetByUniqueCustomerID/{uniqueCustomerID}
Customers_GetByUniqueCustomerID
Parameters Parameter Location / type Details uniqueCustomerIDRequired path string The unique customer ID of the customer (or business) to be retrieved
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Update a customer by id/token PUT /v2/Customers
Customers_Put
Parameters Parameter Location / type Details custRequired body CustomerDTO
Request body fields CustomerDTO Field Type Details GeoLookupResultGeoLookupResult
IDinteger · int64
Tokenstring
Activeboolean
EmailRequired string
Usernamestring
Referrerstring
ProjectSubdomainRequired string Project subdomain where customer belongs to
FirstNameRequired string
LastNameRequired string
Companystring
Phonestring
UniqueCustomerIDstring
ShippingAddress1string
ShippingAddress2string
ShippingCountrystring
ShippingStatestring
ShippingCitystring
ShippingZipstring
VatNumberstring
VatCountrystring
UseSameAsBillingboolean
BillingAddress1Required string
BillingAddress2string
BillingCountryRequired string
BillingStatestring
BillingCitystring
customerIPstring
BillingZipRequired string
IsDeletedboolean
CustomerAreaLinkstring
CreditCardsarray< CreditCardDTO >
BankAccountsarray< BankAccountDTO >
ProviderDataarray< ProviderDataDTO >
Responses Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml JSON Copy
{
"ID": "YOUR_CUSTOMER_ID",
"Token": "YOUR_CUSTOMER_TOKEN",
"FirstName": "John",
"BillingAddress1": "1st Street",
"BillingCountry": "AL"
}Replace example values and credentials before use.
Creates a new customer POST /v2/Customers
Customers_Post
Parameters Parameter Location / type Details customerRequired body CustomerDTO
Request body fields CustomerDTO Field Type Details GeoLookupResultGeoLookupResult
IDinteger · int64
Tokenstring
Activeboolean
EmailRequired string
Usernamestring
Referrerstring
ProjectSubdomainRequired string Project subdomain where customer belongs to
FirstNameRequired string
LastNameRequired string
Companystring
Phonestring
UniqueCustomerIDstring
ShippingAddress1string
ShippingAddress2string
ShippingCountrystring
ShippingStatestring
ShippingCitystring
ShippingZipstring
VatNumberstring
VatCountrystring
UseSameAsBillingboolean
BillingAddress1Required string
BillingAddress2string
BillingCountryRequired string
BillingStatestring
BillingCitystring
customerIPstring
BillingZipRequired string
IsDeletedboolean
CustomerAreaLinkstring
CreditCardsarray< CreditCardDTO >
BankAccountsarray< BankAccountDTO >
ProviderDataarray< ProviderDataDTO >
Responses Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml JSON Copy
{
"Email": "YOUR_CUSTOMER_EMAIL",
"ProjectSubdomain": "https://YOUR_SUBDOMAIN",
"FirstName": "John",
"LastName": "Smith",
"Phone": "1234567890",
"ShippingAddress1": "1700-1712 Cadiz St",
"ShippingCountry": "US",
"ShippingState": "TX",
"ShippingCity": "Dallas",
"ShippingZip": "167 77",
"UseSameAsBilling": true,
"BillingAddress1": "1700-1712 Cadiz St",
"BillingCountry": "US",
"BillingState": "TX",
"BillingCity": "Dallas",
"BillingZip": "75201"
}Replace example values and credentials before use.
Create Customer Etable POST /v2/Customers/CreateCustomerEtable
Customers_CreateCustomerEtable
Parameters Request body fields CustomerEtableDTO Field Type Details IDinteger · int64
Tokenstring
Activeboolean
Emailstring
ProjectSubdomainRequired string Project subdomain where customer belongs to
FirstNamestring
LastNamestring
Companystring
Phonestring
Websitestring
MainActivitystring
TaxAuthoritystring
UniqueCustomerIDstring
ShippingAddress1string
ShippingAddress2string
ShippingCountrystring
ShippingStatestring
ShippingCitystring
ShippingZipstring
VatNumberstring
VatCountrystring
UseSameAsBillingboolean
BillingAddress1Required string
BillingAddress2string
BillingCountryRequired string
BillingStatestring
BillingCitystring
BillingZipRequired string
CustomerAreaLinkstring
CreditCardsarray< CreditCardDTO >
BankAccountsarray< BankAccountDTO >
ProviderDataarray< ProviderDataDTO >
Responses Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml Create Customer Business Etable POST /v2/Customers/CreateCustomerBusinessEtable
Customers_CreateCustomerBusinessEtable
Parameters Parameter Location / type Details businessRequired body BusinessDTO
Request body fields BusinessDTO Field Type Details NameRequired string
customerVatNumberRequired string
Emailstring
FirstNamestring
LastNamestring
Companystring
Phonestring
UniqueCustomerIDstring
Responses Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml Retrieves the customer's transactions GET /v2/Customers/{customerID}/Transactions
Customers_GetTransactions
Parameters Parameter Location / type Details customerIDRequired path integer · int64
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Retrieves the customer's subscriptions GET /v2/Customers/{customerID}/Subscriptions
Customers_GetSubscriptions
Parameters Parameter Location / type Details customerIDRequired path integer · int64
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Retrieves the customer's invoices GET /v2/Customers/{customerID}/Invoices
Customers_GetInvoices
Parameters Parameter Location / type Details customerIDRequired path integer · int64
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Deletes a credit card DELETE /v2/Customers/DeleteCreditCard/{token}
Customers_DeleteCreditCard
Parameters Parameter Location / type Details tokenRequired path string The token of the credit card to be deleted
Responses Status Description Schema 200OK object
Content types Request — Response application/json, text/json, application/xml, text/xml Cancels a customer's subscription GET /v2/Customers/CancelSubscription/{code}
Customers_CancelSubscription
Parameters Parameter Location / type Details codeRequired path string The code of the subscription
Responses Status Description Schema 200OK object
Content types Request — Response application/json, text/json, application/xml, text/xml Documentation/ Payment API v2
Products Retrieves the details of an existing product GET /v2/Products/{productID}
Products_Get
Parameters Parameter Location / type Details productIDRequired path integer · int64 The ID of the product to be retrieved
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Deletes a product DELETE /v2/Products/{productID}
Products_Delete
Parameters Parameter Location / type Details productIDRequired path integer · int64 The ID of the product to be deleted
Responses Status Description Schema 200OK object
Content types Request — Response application/json, text/json, application/xml, text/xml Creates a new product POST /v2/Products
Products_Post
Parameters Parameter Location / type Details productRequired body ProductDTO
Request body fields ProductDTO Field Type Details IDinteger · int64
ProjectSubdomainstring The project's subdomain where product belongs to
Titlestring
Descriptionstring
Codestring
Quantityinteger · int32 EditableQuantityboolean Editable quantity at checkout
Pricenumber · double
Taxnumber · double Discountnumber · double Shippingnumber · double
Currencystring ProductTypestring Service, Subscription, Goods
PaymentCollectionMethodstring Automatic, Manual (via email invoice)
CalendarBillingstring Used for monthly billed subcriptions. Values:
SignupDate,
Day01, Day02, Day03, Day04, Day05, Day06, Day07, Day08, Day09, Day10, Day11, Day12, Day13, Day14, Day15, Day16, Day17, Day18, Day19, Day20, Day21, Day22, Day23, Day24, Day25, Day26, Day27, Day28,
DayLast
DimensionUnitstring Lengthnumber · double
Widthnumber · double
Heightnumber · double
MassUnitstring Weightnumber · double
ProductCategoryIDinteger · int64
IsDeletedboolean
Enabledboolean
IsDummyboolean Used for direct checkout with predifined amount/currency
Periodstring Subscription charge period. Values:
Day, Month, Term, Semester, Year
PeriodIntervalinteger · int32
PeriodNeverEndsboolean
PeriodDurationinteger · int32
HasTrialPeriodboolean
TrialPeriodTypestring TrialPeriodstring Subscription trial charge period. Values:
Day, Month, Term, Semester, Year
TrialPeriodPricenumber · double
TrialPeriodDurationinteger · int32
FreeTrialPeriodstring Subscription free trial period. Values:
Day, Month, Term, Semester, Year
FreeTrialPeriodDurationinteger · int32
TrialAuthTypestring Amount which will be used to auth credit card. Values:
WholeAmount, ZeroAmount
AvailableInCountriesboolean
AvailableCountriesarray< string > Countries code 2 letter array
RequireBillingAddressboolean
RequireShippingAddressboolean
Imagesarray< string >
BillableAddonsarray< BillableAddonDTO >
Vendorsarray< VendorDTO >
Responses Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml JSON Copy
{
"ProjectSubdomain": "https://YOUR_SUBDOMAIN",
"Title": "YOUR_PRODUCT_TITLE",
"Description": "YOUR_PRODUCT_DESCRIPTION",
"Quantity": 500,
"EditableQuantity": true,
"Price": 50,
"Tax": 15,
"Shipping": 7,
"Currency": "USD",
"ProductType": "Goods"
}Replace example values and credentials before use.
JSON Copy
{
"ProjectSubdomain": "https://YOUR_SUBDOMAIN",
"Title": "YOUR_SUBSCRIPTION_TITLE",
"Description": "YOUR_SUBSCRIPTION_DESCRIPTION",
"Quantity": 1,
"EditableQuantity": false,
"Price": 150,
"Tax": 15,
"Currency": "USD",
"ProductType": "Subscription",
"PaymentCollectionMethod": "Automatic",
"CalendarBilling": "SignupDate",
"Period": "Month",
"PeriodInterval": 1,
"PeriodNeverEnds": true
}Replace example values and credentials before use.
Goods/Service with a vendor
JSON Copy
{
"ProjectSubdomain": "https://YOUR_SUBDOMAIN",
"Title": "YOUR_PRODUCT_TITLE",
"Description": "YOUR_PRODUCT_DESCRIPTION",
"Quantity": 500,
"EditableQuantity": true,
"Price": 50,
"Tax": 15,
"Shipping": 7,
"Currency": "USD",
"ProductType": "Goods",
"Vendors": [
{
"ID": 123
}
]
}Replace example values and credentials before use.
Assigns a vendor to a product GET /v2/Products/{productID}/AssignToVendor/{vendorID}
Products_AssignToVendor
Parameters Parameter Location / type Details productIDRequired path integer · int64 vendorIDRequired path integer · int64
Responses Status Description Schema 200OK object
Content types Request — Response application/json, text/json, application/xml, text/xml Documentation/ Payment API v2
Charges Get Random Ip Address GET /v2/Charge
Charge_GetRandomIpAddress
No parameters are declared for this operation.
Responses Status Description Schema 200OK string
Content types Request — Response application/json, text/json, application/xml, text/xml Charges a customer with a specific amount POST /v2/Charge
Charge_Post
Parameters Parameter Location / type Details chRequired body ChargeDTO
Request body fields ChargeDTO Field Type Details PaymentTokenstring
PaymentTypestring
cvvstring
CustomerCustomerDTO
CreditCardCreditCardDTO
BankAccountBankAccountDTO
PaypalTokenstring
AmountRequired number · double
CurrencyRequired string ClientIPstring
ProductTitlestring
ProductDescriptionstring
MerchantUniqueIDstring Identification of the transaction inside your internal system. Use MerchantUniqueID or CustomFields, not both.
okurlstring
notokurlstring
CustomFieldsobject<string, string > Used for more parameters than MerchantUniqueID. Use MerchantUniqueID or CustomFields, not both.
Taxnumber · double Vendorsarray< VendorDTO >
Productsarray< ChargeProductDTO >
Responses Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml 1. Add your server IP to Management Console -> Security -> ALLOWED IPs
2. Using the HMAC CHARGE KEY obtained through Management Console -> Security, you must calculate the HMACSHA256 hash of the request body and include it in an HMAC header in your request
HMAC calculation examples PHP Copy
hash_hmac('sha256', 'JSON_STRING_REQUEST_BODY', 'HMAC_CHARGE_KEY');CS Copy
var requestBytes = Encoding.UTF8.GetBytes("JSON_STRING_REQUEST_BODY");
var chargeKeyBytes = Encoding.UTF8.GetBytes("HMAC_CHARGE_KEY");
var hmac = BitConverter.ToString(new HMACSHA256(chargeKeyBytes).ComputeHash(requestBytes)).Replace("-", "").ToLower();Request Examples with payment token (credit card/bank account/paypal)
JSON Copy
{
"PaymentToken": "CUSTOMER'S_PAYMENT_TOKEN",
"Amount": 55.55,
"Currency": "USD",
"ProductTitle": "Small TV",
"ProductDescription": "with HDMI"
}Replace example values and credentials before use.
with payment token (credit card/bank account/paypal) and vendor
JSON Copy
{
"PaymentToken": "CUSTOMER'S_PAYMENT_TOKEN",
"Amount": 55.55,
"Currency": "USD",
"ProductTitle": "Small TV",
"ProductDescription": "with HDMI",
"Vendors": [
{
"ID": 123
}
]
}Replace example values and credentials before use.
with payment token (credit card/bank account/paypal) and vendor with custom amount or percentage
JSON Copy
{
"PaymentToken": "CUSTOMER'S_PAYMENT_TOKEN",
"Amount": 55.55,
"Currency": "USD",
"ProductTitle": "Small TV",
"ProductDescription": "with HDMI",
"Vendors": [
{
"ID": 123,
"Amount": 5.67,
"Percentage": 90
}
]
}Replace example values and credentials before use.
JSON Copy
{
"Customer": {
"Token": "CUSTOMER'S_TOKEN"
},
"CreditCard": {
"Token": "CUSTOMER'S_CREDIT_CARD_TOKEN"
},
"Amount": 55.55,
"Currency": "USD",
"ProductTitle": "Small TV",
"ProductDescription": "with HDMI"
}Replace example values and credentials before use.
JSON Copy
{
"Customer": {
"Token": "CUSTOMER'S_TOKEN"
},
"BankAccount": {
"Token": "CUSTOMER'S_BANK_ACCOUNT_TOKEN"
},
"Amount": 55.55,
"Currency": "USD",
"ProductTitle": "Small TV",
"ProductDescription": "with HDMI"
}Replace example values and credentials before use.
JSON Copy
{
"Customer": {
"Token": "CUSTOMER'S_TOKEN"
},
"PaypalToken": "CUSTOMER'S_PAYPAL_ACCOUNT_TOKEN",
"Amount": 55.55,
"Currency": "USD",
"ProductTitle": "Small TV",
"ProductDescription": "with HDMI"
}Replace example values and credentials before use.
JSON Copy
{
"PaymentToken": "CUSTOMER'S_PAYMENT_TOKEN",
"Currency": "USD",
"Products": [
{
"ID": 123,
"Quantity": 1
}
]
}Replace example values and credentials before use.
with existing product and override amount in product's currency
JSON Copy
{
"PaymentToken": "CUSTOMER'S_PAYMENT_TOKEN",
"Currency": "USD",
"Products": [
{
"ID": 123,
"Quantity": 1,
"OverrideAmount": 50
}
]
}Replace example values and credentials before use.
with existing product and override amount and currency
JSON Copy
{
"PaymentToken": "CUSTOMER'S_PAYMENT_TOKEN",
"Currency": "USD",
"Products": [
{
"ID": 123,
"Quantity": 1,
"OverrideAmount": 50,
"OverrideCurrency": "GBP"
}
]
}Replace example values and credentials before use.
Charge3 D S POST /v2/Charge/Charge3DS
Charge_Charge3DS
Parameters Parameter Location / type Details chRequired body ChargeDTO
Request body fields ChargeDTO Field Type Details PaymentTokenstring
PaymentTypestring
cvvstring
CustomerCustomerDTO
CreditCardCreditCardDTO
BankAccountBankAccountDTO
PaypalTokenstring
AmountRequired number · double
CurrencyRequired string ClientIPstring
ProductTitlestring
ProductDescriptionstring
MerchantUniqueIDstring Identification of the transaction inside your internal system. Use MerchantUniqueID or CustomFields, not both.
okurlstring
notokurlstring
CustomFieldsobject<string, string > Used for more parameters than MerchantUniqueID. Use MerchantUniqueID or CustomFields, not both.
Taxnumber · double Vendorsarray< VendorDTO >
Productsarray< ChargeProductDTO >
Responses Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml Tokenize Card POST /v2/Charge/TokenizeCard
Charge_TokenizeCard
Parameters Request body fields TokenCardDTO Field Type Details publicKeystring
tokenstring
Amountstring
Currencystring
firstNameRequired string
lastNameRequired string
billingAddressRequired string
zipRequired string
emailRequired string
numberRequired string
monthRequired string
yearRequired string
cvvRequired string
customerIPstring
subdomainstring
threedSecureCreditCard3DS
Responses Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml Documentation/ Payment API v2
Transactions Retrieves a transaction GET /v2/Transactions/{transactionID}
Transactions_Get
Parameters Parameter Location / type Details transactionIDRequired path integer · int64 The ID of the transaction
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Get Pendings GET /v2/Transactions/GetPendings
Transactions_GetPendings
Parameters Parameter Location / type Details ppidRequired query integer · int64
rangequery number · double
intervalquery string
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Get All GET /v2/Transactions/GetAll
Transactions_GetAll
Parameters Parameter Location / type Details ppidRequired query integer · int64
rangequery number · double
intervalquery string
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Get Provider Code GET /v2/Transactions/GetProviderCode
Transactions_GetProviderCode
Parameters Parameter Location / type Details ppidRequired query integer · int64
rangequery number · double
intervalquery string
sessionIDquery string
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Get Pendings2 GET /v2/Transactions/GetPendings2
Transactions_GetPendings2
Parameters Parameter Location / type Details ppidRequired query integer · int64
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Check GET /v2/Transactions/Check
Transactions_Check
Parameters Parameter Location / type Details uniqueIDRequired query string
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Check Internal I D GET /v2/Transactions/CheckInternalID
Transactions_CheckInternalID
Parameters Parameter Location / type Details uniqueIDRequired query integer · int64
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Returns all transactions on a specific time frame POST /v2/Transactions/Reconciliation
Transactions_Reconciliation
Parameters Request body fields TransactionQuery Field Type Details DateFromstring · date-time
DateTostring · date-time
transactionIDstring
Responses Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml The DateFrom and DateTo fields must be in UTC (Zulu) format : yyyy-MM-ddTHH:mm:ssZ.
Example:
JSON Copy
{
"DateFrom": "2025-09-08T10:00:00Z",
"DateTo": "2025-09-08T23:59:00Z"
}Captures a transaction POST /v2/Transactions/Capture
Transactions_Capture
Parameters Parameter Location / type Details reqRequired body TransactionModify The capture transation request
Request body fields TransactionModify Responses Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml Replace example values and credentials before use.
JSON Copy
{
"ID": 123,
"Products": [
{
"ID": 123,
"Vendors": [
{
"ID": 123
}
]
}
]
}Replace example values and credentials before use.
with vendors and custom amount
JSON Copy
{
"ID": 123,
"Products": [
{
"ID": 123,
"Vendors": [
{
"ID": 123,
"Amount": 123
}
]
}
]
}Replace example values and credentials before use.
with vendors and custom percentage
JSON Copy
{
"ID": 123,
"Products": [
{
"ID": 123,
"Vendors": [
{
"ID": 123,
"Percentage": 123
}
]
}
]
}Replace example values and credentials before use.
Refunds a transaction POST /v2/Transactions/Refund
Transactions_Refund
Parameters Parameter Location / type Details reqRequired body TransactionModify The refund transation request
Request body fields TransactionModify Responses Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml Replace example values and credentials before use.
with custom amount, and vendors custom amount
JSON Copy
{
"ID": 123,
"Amount": 123,
"Vendors": [
{
"ID": 123,
"Amount": 123
}
]
}Replace example values and credentials before use.
Vois a transaction POST /v2/Transactions/Void
Transactions_Void
Parameters Parameter Location / type Details reqRequired body TransactionModify The void transation request
Request body fields TransactionModify Responses Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml Documentation/ Payment API v2
Invoices Retrieves the details of an existing invoice GET /v2/Invoices/{invoiceID}
Invoices_Get
Parameters Parameter Location / type Details invoiceIDRequired path integer · int64 The ID of the invoice to be retrieved
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Deletes an invoice DELETE /v2/Invoices/{invoiceID}
Invoices_Delete
Parameters Parameter Location / type Details invoiceIDRequired path integer · int64 The ID of the invoice to be deleted
Responses Status Description Schema 200OK object
Content types Request — Response application/json, text/json, application/xml, text/xml Creates a new invoice POST /v2/Invoices
Invoices_Post
Parameters Request body fields CreateInvoiceRequest Field Type Details CustomerIDinteger · int64
CustomerEmailstring
VendorIDinteger · int64
VendorEmailstring
CurrencyRequired string Currency code in ISO4217 format
InvoiceProductsarray< InvoiceProduct >
InvoiceOrderUnitsarray< InvoiceOrderUnit >
TitleRequired string
Descriptionstring
DateRequired string · date-time
DueDateRequired string · date-time
InvoiceStatusstring Draft, InProcess, Paid, Failed, PastDue, Voided, Refunded
Draft, InProcess, Paid, Failed, PastDue, Voided, Refunded
Metadataobject<string, string > Custom data for invoice (name: value)
Responses Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml JSON Copy
{
"CustomerEmail": "YOUR_CUSTOMER_EMAIL",
"Currency": "USD",
"InvoiceProducts": [
{
"ID": 123,
"Quantity": 1
}
],
"Title": "Invoice title",
"Description": "Invoice description",
"Date": "2019-01-01",
"DueDate": "2019-01-01"
}Replace example values and credentials before use.
for customer with new products
JSON Copy
{
"CustomerEmail": "YOUR_CUSTOMER_EMAIL",
"Currency": "USD",
"InvoiceProducts": [
{
"ProductType": "Service",
"Title": "YOUR_PRODUCT_TITLE",
"Description": "YOUR_PRODUCT_DESCRIPTION",
"Price": 123,
"Tax": 123,
"Quantity": 1,
"SetupFee": 123,
"SecurityDeposit": 123
}
],
"Title": "Invoice title",
"Description": "Invoice description",
"Date": "2019-01-01",
"DueDate": "2019-01-01"
}Replace example values and credentials before use.
JSON Copy
{
"VendorEmail": "YOUR_VENDOR_EMAIL",
"Currency": "USD",
"InvoiceOrderUnits": [
{
"ID": 123
}
],
"Title": "Invoice title",
"Description": "Invoice description",
"Date": "2019-01-01",
"DueDate": "2019-01-01",
"InvoiceStatus": "Paid"
}Replace example values and credentials before use.
Documentation/ Payment API v2
Subscriptions Retrieves a subscription GET /v2/Subscriptions/{subscriptionID}
Subscriptions_Get
Parameters Parameter Location / type Details subscriptionIDRequired path integer · int64 The ID of the subscription
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Calculates the change cost of change subscription to another product GET /v2/Subscriptions/{subscriptionID}/CalculateChange/{productID}
Subscriptions_CalculateChange
Parameters Parameter Location / type Details subscriptionIDRequired path integer · int64 The ID of the subscription to change from
productIDRequired path integer · int64 The ID of the product to change to
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Change a subscription to another product GET /v2/Subscriptions/{subscriptionID}/Change/{productID}/{now}
Subscriptions_Change
Parameters Parameter Location / type Details subscriptionIDRequired path integer · int64 The ID of the subscription to change from
productIDRequired path integer · int64 The ID of the product to change to
nowRequired path boolean
Responses Status Description Schema 200OK object
Content types Request — Response application/json, text/json, application/xml, text/xml Cancels a subscription GET /v2/Subscriptions/{subscriptionID}/Cancel
Subscriptions_Cancel
Parameters Parameter Location / type Details subscriptionIDRequired path integer · int64 The ID of the subscription to cancel
Responses Status Description Schema 200OK object
Content types Request — Response application/json, text/json, application/xml, text/xml Changes a credit card of subscriptions PUT /v2/Subscriptions/ChangeCreditCard
Subscriptions_ChangeCreditCard
Parameters Parameter Location / type Details changeCreditCardDataRequired body ChangeCreditCardData The ChangeCreditCardData object
Request body fields ChangeCreditCardData Field Type Details SubscriptionIDsarray< integer · int64 > CreditCardTokenstring Credit card temp token obtained through nummuspay.js
Responses Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml JSON Copy
{
"SubscriptionIDs": [
123,
123
],
"CreditCardToken": "YOUR_CREDIT_CARD_TOKEN"
}Replace example values and credentials before use.
Documentation/ Payment API v2
Vendors Retrieves the details of an existing vendor GET /v2/Vendors/{vendorID}
Vendors_Get
Parameters Parameter Location / type Details vendorIDRequired path integer · int64 The ID of the vendor to be retrieved
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Deletes a vendor DELETE /v2/Vendors/{vendorID}
Vendors_Delete
Parameters Parameter Location / type Details vendorIDRequired path integer · int64 The ID of the vendor to be deleted
Responses Status Description Schema 200OK object
Content types Request — Response application/json, text/json, application/xml, text/xml Mofify a vendor PUT /v2/Vendors
Vendors_Put
Parameters Parameter Location / type Details vendorRequired body VendorDTO
Request body fields VendorDTO Field Type Details IDinteger · int64
ProjectSubdomainstring
Activeboolean
VendorTypestring EmailRequired string
FirstNamestring
LastNamestring
DateOfBirthstring · date-time
Genderstring IdentificationNumberstring
DriverLisenceNumberstring
PassportNumberstring
Phonestring
Address1string
Address2string
CountryRequired string
Statestring
Citystring
Zipstring
ShopNamestring
VatCountrystring
VatNumberstring
CompanyTaxNumberstring
CompanyEmailstring
CompanyNamestring
CompanyPhonestring
CompanyURLstring
CompanyAddress1string
CompanyAddress2string
CompanyCountrystring
CompanyStatestring
CompanyCitystring
CompanyZipstring
CompanyVatnumber · double
CommisionPercentRequired number · double
SubscriptionCommisionboolean
DefaultPayoutCurrencyRequired string
PayoutFrequencystring Daily, Weekly, Semimonthly, Monthly
PayoutFrequencyIntervalinteger · int32
PayoutDelayinteger · int32
PayShippingstring Split, Vendor, Marketplace
PayTaxstring Split, Vendor, Marketplace
VendorStatusstring
PayoutInfosarray< PayoutInfoDTO >
Productsarray< ProductDTO >
Personsarray< PersonDTO >
ExtraDataobject<string, string >
Amountnumber · double Total amount in vendor's default currency
Percentagenumber · double
Responses Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml JSON Copy
{
"ID": 123,
"VendorType": "Individual",
"Email": "john.smith@example.com",
"FirstName": "John",
"LastName": "Smith",
"DateOfBirth": "01/01/2001",
"IdentificationNumber": "X 326587",
"PassportNumber": "AB2659587",
"Phone": "123456789",
"Address1": "Main st. 2",
"Country": "US",
"State": "TX",
"City": "Dallas",
"Zip": "23156",
"ShopName": "Next Company Ltd.",
"CompanyCountry": "US",
"CompanyState": "TX",
"CompanyCity": "Dallas",
"CompanyVat": 10,
"CommisionPercent": 90,
"SubscriptionCommision": true,
"DefaultPayoutCurrency": "USD",
"PayoutFrequency": "Weekly",
"PayoutFrequencyInterval": 1,
"PayoutDelay": 8,
"PayShipping": "Vendor",
"PayTax": "Vendor",
"PayoutInfos": [
{
"PayoutType": "ACH",
"MinimumPayoutAmount": 0,
"ReserveBalance": 0,
"BankAccount": {
"FirstName": "John",
"LastName": "Smith",
"RoutingNumber": "659759856",
"AccountNumber": "258745698542658",
"Currency": "USD",
"BankAccountClass": "Personal",
"BankAccountType": "Checking",
"BankName": "TheBank",
"Country": "US",
"State": "TX"
}
}
]
}Replace example values and credentials before use.
JSON Copy
{
"ID": 123,
"VendorType": "Individual",
"Email": "john.doe@example.com",
"FirstName": "John",
"LastName": "Doe",
"DateOfBirth": "01/01/2001",
"IdentificationNumber": "X 326587",
"PassportNumber": "AB2659587",
"Phone": "123456789",
"Address1": "Main st. 22",
"Country": "GR",
"City": "Athens",
"Zip": "10563",
"ShopName": "Next Company Ltd.",
"CompanyCountry": "GR",
"CompanyCity": "Athens",
"CompanyVat": 24,
"CommisionPercent": 90,
"SubscriptionCommision": true,
"DefaultPayoutCurrency": "EUR",
"PayoutFrequency": "Weekly",
"PayoutFrequencyInterval": 1,
"PayoutDelay": 8,
"PayShipping": "Vendor",
"PayTax": "Vendor",
"PayoutInfos": [
{
"PayoutType": "SEPA",
"MinimumPayoutAmount": 0,
"ReserveBalance": 0,
"BankAccount": {
"FirstName": "John",
"LastName": "Doe",
"IBAN": "AB12345678901234567890",
"Currency": "EUR",
"BankAccountClass": "Personal",
"BankAccountType": "Checking",
"BankName": "TheBank",
"Country": "GR",
"SwiftBic": "THEBANK"
}
}
]
}Replace example values and credentials before use.
Creates a new vendor POST /v2/Vendors
Vendors_Post
Parameters Parameter Location / type Details vendorRequired body VendorDTO
Request body fields VendorDTO Field Type Details IDinteger · int64
ProjectSubdomainstring
Activeboolean
VendorTypestring EmailRequired string
FirstNamestring
LastNamestring
DateOfBirthstring · date-time
Genderstring IdentificationNumberstring
DriverLisenceNumberstring
PassportNumberstring
Phonestring
Address1string
Address2string
CountryRequired string
Statestring
Citystring
Zipstring
ShopNamestring
VatCountrystring
VatNumberstring
CompanyTaxNumberstring
CompanyEmailstring
CompanyNamestring
CompanyPhonestring
CompanyURLstring
CompanyAddress1string
CompanyAddress2string
CompanyCountrystring
CompanyStatestring
CompanyCitystring
CompanyZipstring
CompanyVatnumber · double
CommisionPercentRequired number · double
SubscriptionCommisionboolean
DefaultPayoutCurrencyRequired string
PayoutFrequencystring Daily, Weekly, Semimonthly, Monthly
PayoutFrequencyIntervalinteger · int32
PayoutDelayinteger · int32
PayShippingstring Split, Vendor, Marketplace
PayTaxstring Split, Vendor, Marketplace
VendorStatusstring
PayoutInfosarray< PayoutInfoDTO >
Productsarray< ProductDTO >
Personsarray< PersonDTO >
ExtraDataobject<string, string >
Amountnumber · double Total amount in vendor's default currency
Percentagenumber · double
Responses Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml JSON Copy
{
"ProjectSubdomain": "https://YOUR_SUBDOMAIN",
"VendorType": "Individual",
"Email": "john.smith@example.com",
"FirstName": "John",
"LastName": "Smith",
"DateOfBirth": "01/01/2001",
"IdentificationNumber": "X 326587",
"PassportNumber": "AB2659587",
"Phone": "123456789",
"Address1": "Main st. 2",
"Country": "US",
"State": "TX",
"City": "Dallas",
"Zip": "23156",
"ShopName": "Next Company Ltd.",
"CompanyCountry": "US",
"CompanyState": "TX",
"CompanyCity": "Dallas",
"CompanyVat": 10,
"CommisionPercent": 90,
"SubscriptionCommision": true,
"DefaultPayoutCurrency": "USD",
"PayoutFrequency": "Weekly",
"PayoutFrequencyInterval": 1,
"PayoutDelay": 8,
"PayShipping": "Vendor",
"PayTax": "Vendor",
"PayoutInfos": [
{
"PayoutType": "ACH",
"MinimumPayoutAmount": 0,
"ReserveBalance": 0,
"BankAccount": {
"FirstName": "John",
"LastName": "Smith",
"RoutingNumber": "659759856",
"AccountNumber": "258745698542658",
"Currency": "USD",
"BankAccountClass": "Personal",
"BankAccountType": "Checking",
"BankName": "TheBank",
"Country": "US",
"State": "TX"
}
}
]
}Replace example values and credentials before use.
JSON Copy
{
"ProjectSubdomain": "https://YOUR_SUBDOMAIN",
"VendorType": "Individual",
"Email": "john.doe@example.com",
"FirstName": "John",
"LastName": "Doe",
"DateOfBirth": "01/01/2001",
"IdentificationNumber": "X 326587",
"PassportNumber": "AB2659587",
"Phone": "123456789",
"Address1": "Main st. 22",
"Country": "GR",
"City": "Athens",
"Zip": "10563",
"ShopName": "Next Company Ltd.",
"CompanyCountry": "GR",
"CompanyCity": "Athens",
"CompanyVat": 24,
"CommisionPercent": 90,
"SubscriptionCommision": true,
"DefaultPayoutCurrency": "EUR",
"PayoutFrequency": "Weekly",
"PayoutFrequencyInterval": 1,
"PayoutDelay": 8,
"PayShipping": "Vendor",
"PayTax": "Vendor",
"PayoutInfos": [
{
"PayoutType": "SEPA",
"MinimumPayoutAmount": 0,
"ReserveBalance": 0,
"BankAccount": {
"FirstName": "John",
"LastName": "Doe",
"IBAN": "AB12345678901234567890",
"Currency": "EUR",
"BankAccountClass": "Personal",
"BankAccountType": "Checking",
"BankName": "TheBank",
"Country": "GR",
"SwiftBic": "THEBANK"
}
}
]
}Replace example values and credentials before use.
Releases an amount for vendor payout POST /v2/Vendors/ReleaseFunds
Vendors_ReleaseFunds
Parameters Request body fields ReleaseFundsDTO Field Type Details IDinteger · int64 Amountnumber · double Total amount in vendor's default currency
TransactionIDinteger · int64
Responses Status Description Schema 200OK object
Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml JSON Copy
{
"ID": 123,
"Amount": 55.55
}Replace example values and credentials before use.
JSON Copy
{
"ID": 123,
"TransactionID": 123
}Replace example values and credentials before use.
Documentation/ Payment API v2
Companies Retrieves the company's products GET /v2/Companies/{companyID}/Products
Companies_GetProducts
Parameters Parameter Location / type Details companyIDRequired path integer · int64
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Retrieves the company's customers GET /v2/Companies/{companyID}/Customers
Companies_GetCustomers
Parameters Parameter Location / type Details companyIDRequired path integer · int64
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Retrieves the company's transactions GET /v2/Companies/{companyID}/Transactions
Companies_GetTransactions
Parameters Parameter Location / type Details companyIDRequired path integer · int64
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Retrieves the company's invoices GET /v2/Companies/{companyID}/Invoices
Companies_GetInvoices
Parameters Parameter Location / type Details companyIDRequired path integer · int64
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Documentation/ Payment API v2
Projects Retrieves the project's products GET /v2/Projects/{projectID}/Products
Projects_GetProducts
Parameters Parameter Location / type Details projectIDRequired path integer · int64
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Retrieves the project's customers GET /v2/Projects/{projectID}/Customers
Projects_GetCustomers
Parameters Parameter Location / type Details projectIDRequired path integer · int64
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Retrieves the project's transactions GET /v2/Projects/{projectID}/Transactions
Projects_GetTransactions
Parameters Parameter Location / type Details projectIDRequired path integer · int64
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Retrieves the project's invoices GET /v2/Projects/{projectID}/Invoices
Projects_GetInvoices
Parameters Parameter Location / type Details projectIDRequired path integer · int64
Responses Content types Request — Response application/json, text/json, application/xml, text/xml Documentation/ Payment API v2
Tax Calculates tax percentage by project and customer details POST /v2/Tax/Calculate
Tax_Calculate
Parameters Parameter Location / type Details reqRequired body CalculateTaxDTO Calculate tax request object
Request body fields CalculateTaxDTO Field Type Details ProjectSubdomainRequired string
CustomerRequired CustomerDTO
TaxTypeRequired string DigitalProduct, PhysicalProduct, Unknown
DigitalProduct, PhysicalProduct, Unknown
Responses Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml You can either provide customer id or customer details (billing country/state and vat number if present)
Example with customer details:
JSON Copy
{
"ProjectSubdomain": "https://YOUR_PROJECT_SUBDOMAIN",
"Customer": {
"VatNumber": "CUSTOMER_VAT_NUMBER",
"BillingCountry": "US",
"BillingState": "FL"
},
"TaxType": "DigitalProduct"
}Replace example values and credentials before use.
Example with customer Token:
JSON Copy
{
"ProjectSubdomain": "https://YOUR_PROJECT_SUBDOMAIN",
"Customer": {
"Token": "YOUR_CUSTOMER_TOKEN"
}
}Replace example values and credentials before use.
Documentation/ Payment API v2
Billable add-ons Retrieves all billing addon notifications POST /v2/BillingAddonUsage/GetAll
BillingAddonUsage_GetAll
Parameters Request body fields BillingAddonDTO Field Type Details addonCodeRequired string usageRequired number · double billableAddonNotificationTypeRequired string Transaction, Subscription
transactionCodeRequired string The transaction code of the transaction/subscription that purchased billing addon belongs to
Responses Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml JSON Copy
{
"addonCode": "BILLING_ADDON_CODE",
"billableAddonNotificationType": "Transaction",
"transactionCode": "TRANSACTION_CODE"
}Replace example values and credentials before use.
JSON Copy
{
"addonCode": "BILLING_ADDON_CODE",
"billableAddonNotificationType": "Subscription",
"transactionCode": "SUBSCRIPTION_CODE"
}Replace example values and credentials before use.
Retrieves pending (not yet billed) billing addon notifications POST /v2/BillingAddonUsage/GetPending
BillingAddonUsage_GetPending
Parameters Request body fields BillingAddonDTO Field Type Details addonCodeRequired string usageRequired number · double billableAddonNotificationTypeRequired string Transaction, Subscription
transactionCodeRequired string The transaction code of the transaction/subscription that purchased billing addon belongs to
Responses Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml JSON Copy
{
"addonCode": "BILLING_ADDON_CODE",
"billableAddonNotificationType": "Transaction",
"transactionCode": "TRANSACTION_CODE"
}Replace example values and credentials before use.
Updates the good's/subscription's billing addon's usage PUT /v2/BillingAddonUsage/UpdateUsage
BillingAddonUsage_UpdateUsage
Parameters Parameter Location / type Details updateBillingAddonRequired body BillingAddonDTO
Request body fields BillingAddonDTO Field Type Details addonCodeRequired string usageRequired number · double billableAddonNotificationTypeRequired string Transaction, Subscription
transactionCodeRequired string The transaction code of the transaction/subscription that purchased billing addon belongs to
Responses Status Description Schema 200OK number · double
Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml JSON Copy
{
"addonCode": "BILLING_ADDON_CODE",
"usage": 50,
"billableAddonNotificationType": "Transaction",
"transactionCode": "TRANSACTION_CODE"
}Replace example values and credentials before use.
Documentation/ Payment API v2
Prepaid usage Retrieves all prepaid usage notifications POST /v2/PrepaidUsage/GetAll
PrepaidUsage_GetAll
Parameters Request body fields BillingAddonDTO Field Type Details addonCodeRequired string usageRequired number · double billableAddonNotificationTypeRequired string Transaction, Subscription
transactionCodeRequired string The transaction code of the transaction/subscription that purchased billing addon belongs to
Responses Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml JSON Copy
{
"addonCode": "PREPAID_USAGE_CODE",
"transactionCode": "TRANSACTION_CODE"
}Replace example values and credentials before use.
Updates the prepaid usage PUT /v2/PrepaidUsage/UpdateUsage
PrepaidUsage_UpdateUsage
Parameters Parameter Location / type Details updateBillingAddonRequired body BillingAddonDTO
Request body fields BillingAddonDTO Field Type Details addonCodeRequired string usageRequired number · double billableAddonNotificationTypeRequired string Transaction, Subscription
transactionCodeRequired string The transaction code of the transaction/subscription that purchased billing addon belongs to
Responses Status Description Schema 200OK number · double
Content types Request application/json, text/json, application/x-www-form-urlencoded, application/xml, text/xml Response application/json, text/json, application/xml, text/xml JSON Copy
{
"addonCode": "PREPAID_USAGE_CODE",
"transactionCode": "TRANSACTION_CODE",
"usage": 1
}Replace example values and credentials before use.
Documentation/ Payment API v2
BillingAddonDTO Fields Field Type Details addonCodeRequired string usageRequired number · double billableAddonNotificationTypeRequired string Transaction, Subscription
transactionCodeRequired string The transaction code of the transaction/subscription that purchased billing addon belongs to
Documentation/ Payment API v2
BillableAddonNotificationDTO Fields Field Type Details Amountnumber · double
CreatedDatetimestring · date-time
Documentation/ Payment API v2
ChargeDTO Fields Field Type Details PaymentTokenstring
PaymentTypestring
cvvstring
CustomerCustomerDTO
CreditCardCreditCardDTO
BankAccountBankAccountDTO
PaypalTokenstring
AmountRequired number · double
CurrencyRequired string ClientIPstring
ProductTitlestring
ProductDescriptionstring
MerchantUniqueIDstring Identification of the transaction inside your internal system. Use MerchantUniqueID or CustomFields, not both.
okurlstring
notokurlstring
CustomFieldsobject<string, string > Used for more parameters than MerchantUniqueID. Use MerchantUniqueID or CustomFields, not both.
Taxnumber · double Vendorsarray< VendorDTO >
Productsarray< ChargeProductDTO >
Documentation/ Payment API v2
CustomerDTO Fields Field Type Details GeoLookupResultGeoLookupResult
IDinteger · int64
Tokenstring
Activeboolean
EmailRequired string
Usernamestring
Referrerstring
ProjectSubdomainRequired string Project subdomain where customer belongs to
FirstNameRequired string
LastNameRequired string
Companystring
Phonestring
UniqueCustomerIDstring
ShippingAddress1string
ShippingAddress2string
ShippingCountrystring
ShippingStatestring
ShippingCitystring
ShippingZipstring
VatNumberstring
VatCountrystring
UseSameAsBillingboolean
BillingAddress1Required string
BillingAddress2string
BillingCountryRequired string
BillingStatestring
BillingCitystring
customerIPstring
BillingZipRequired string
IsDeletedboolean
CustomerAreaLinkstring
CreditCardsarray< CreditCardDTO >
BankAccountsarray< BankAccountDTO >
ProviderDataarray< ProviderDataDTO >
Documentation/ Payment API v2
CreditCardDTO Fields Field Type Details Tokenstring
Activeboolean
CardTypestring
ExpirationMonthinteger · int32
ExpirationYearinteger · int32
FirstNamestring
LastNamestring
Numberstring
BillingAddress1string
BillingAddress2string
Countrystring
Statestring
Zipstring
NumberFirst6string
NumberLast4string
Cvvstring
Documentation/ Payment API v2
BankAccountDTO Fields Field Type Details Tokenstring
Activeboolean
FirstNameRequired string
LastNameRequired string
IBANstring
RoutingNumberstring
AccountNumberstring
CurrencyRequired string
IDinteger · int64
BankAccountClassRequired string Personal, Corporate, International
BankAccountTypeRequired string BankNamestring
CountryRequired string
Statestring
SwiftBicstring
Citystring
Addressstring
Zipstring
IsDeletedboolean
IBANLast4string
RoutingNumberLast4string
AccountNumberLast4string
Documentation/ Payment API v2
VendorDTO Fields Field Type Details IDinteger · int64
ProjectSubdomainstring
Activeboolean
VendorTypestring EmailRequired string
FirstNamestring
LastNamestring
DateOfBirthstring · date-time
Genderstring IdentificationNumberstring
DriverLisenceNumberstring
PassportNumberstring
Phonestring
Address1string
Address2string
CountryRequired string
Statestring
Citystring
Zipstring
ShopNamestring
VatCountrystring
VatNumberstring
CompanyTaxNumberstring
CompanyEmailstring
CompanyNamestring
CompanyPhonestring
CompanyURLstring
CompanyAddress1string
CompanyAddress2string
CompanyCountrystring
CompanyStatestring
CompanyCitystring
CompanyZipstring
CompanyVatnumber · double
CommisionPercentRequired number · double
SubscriptionCommisionboolean
DefaultPayoutCurrencyRequired string
PayoutFrequencystring Daily, Weekly, Semimonthly, Monthly
PayoutFrequencyIntervalinteger · int32
PayoutDelayinteger · int32
PayShippingstring Split, Vendor, Marketplace
PayTaxstring Split, Vendor, Marketplace
VendorStatusstring
PayoutInfosarray< PayoutInfoDTO >
Productsarray< ProductDTO >
Personsarray< PersonDTO >
ExtraDataobject<string, string >
Amountnumber · double Total amount in vendor's default currency
Percentagenumber · double
Documentation/ Payment API v2
ChargeProductDTO Fields Field Type Details IDinteger · int64
Quantityinteger · int32
OverrideAmountnumber · double Custom payment/subscription amount
OverrideCurrencystring Custom payment/subscription currency
Documentation/ Payment API v2
GeoLookupResult Fields Field Type Details AddressRead only string
StatusCodestring <statusCode>OK</statusCode>
StatusMessagestring IpAddressstring <ipAddress>91.140.88.160</ipAddress>
CountryCodestring <countryCode>GR</countryCode>
CountryNamestring <countryName>Greece</countryName>
RegionNamestring <regionName>Kentriki Makedonia</regionName>
CityNamestring <cityName>Menemeni</cityName>
ZipCodestring <zipCode>561 22</zipCode>
Latitudestring <latitude>40.6569</latitude>
Longitudestring <longitude>22.96589</longitude>
TimeZonestring <timeZone>+03:00</timeZone>
CountryImagestring
Documentation/ Payment API v2
ProviderDataDTO Fields Field Type Details PaymentMethodstring
Tokenstring
Documentation/ Payment API v2
PayoutInfoDTO Fields Field Type Details PayoutTypestring MinimumPayoutAmountnumber · double
PaymentReferencestring
ReserveBalancenumber · double
BankAccountBankAccountDTO
Documentation/ Payment API v2
ProductDTO Fields Field Type Details IDinteger · int64
ProjectSubdomainstring The project's subdomain where product belongs to
Titlestring
Descriptionstring
Codestring
Quantityinteger · int32 EditableQuantityboolean Editable quantity at checkout
Pricenumber · double
Taxnumber · double Discountnumber · double Shippingnumber · double
Currencystring ProductTypestring Service, Subscription, Goods
PaymentCollectionMethodstring Automatic, Manual (via email invoice)
CalendarBillingstring Used for monthly billed subcriptions. Values:
SignupDate,
Day01, Day02, Day03, Day04, Day05, Day06, Day07, Day08, Day09, Day10, Day11, Day12, Day13, Day14, Day15, Day16, Day17, Day18, Day19, Day20, Day21, Day22, Day23, Day24, Day25, Day26, Day27, Day28,
DayLast
DimensionUnitstring Lengthnumber · double
Widthnumber · double
Heightnumber · double
MassUnitstring Weightnumber · double
ProductCategoryIDinteger · int64
IsDeletedboolean
Enabledboolean
IsDummyboolean Used for direct checkout with predifined amount/currency
Periodstring Subscription charge period. Values:
Day, Month, Term, Semester, Year
PeriodIntervalinteger · int32
PeriodNeverEndsboolean
PeriodDurationinteger · int32
HasTrialPeriodboolean
TrialPeriodTypestring TrialPeriodstring Subscription trial charge period. Values:
Day, Month, Term, Semester, Year
TrialPeriodPricenumber · double
TrialPeriodDurationinteger · int32
FreeTrialPeriodstring Subscription free trial period. Values:
Day, Month, Term, Semester, Year
FreeTrialPeriodDurationinteger · int32
TrialAuthTypestring Amount which will be used to auth credit card. Values:
WholeAmount, ZeroAmount
AvailableInCountriesboolean
AvailableCountriesarray< string > Countries code 2 letter array
RequireBillingAddressboolean
RequireShippingAddressboolean
Imagesarray< string >
BillableAddonsarray< BillableAddonDTO >
Vendorsarray< VendorDTO >
Documentation/ Payment API v2
PersonDTO Fields Field Type Details Emailstring
FirstNamestring
IDnumberstring
LastNamestring
Phonestring
Directorboolean
Ownerboolean
PercentOwnershipnumber · double
Citystring
Countrystring
Addressstring
Address1string
PostalCodestring
IdentificationNumberstring
Statestring
Dobstring · date-time
Genderstring
Male, Female
Documentation/ Payment API v2
BillableAddonDTO Fields Field Type Details BillableAddonTypestring Namestring
Codestring
PricingModelstring MeasuredUnitNamestring
Pricenumber · double
Percentagenumber · double
IncludedMeasuredUnitsnumber · double
Periodstring Billable addon charge period. Values:
Day, Month, Term, Semester, Year
PeriodIntervalinteger · int32
Optionalboolean If true, customer can exclude this billable addon at checkout
Documentation/ Payment API v2
TransactionNotification Fields Field Type Details IDinteger · int64
AmountNotificationAmount
CardNotificationCreditCard
CustomerDataNotificationCustomer
CustomerTransactionCodestring
CustomResponseTextstring
IsLiveboolean
PaymentDatestring · date-time
PaymentProviderNamestring
Productsarray< NotificationOrderUnit >
ProviderChargeIDstring
Signaturestring
Statusstring
BankAccountBankAccountDTO
Metadataarray< TransactionMetadata >
PaypalTokenstring
Businessstring
InvoiceInvoiceDTO
SubscriptionIDinteger · int64
OtherChargesarray< TransactionNotification >
threedSecureCreditCard3DS
WebhookTypestring
Charge, Capture, Dispute, Refund, InvoiceCreated, SubscriptionCreated, SubscriptionPaymentSuccess, SubscriptionPaymentFailure, SubscriptionCancel, CreditCardExpired, PrepaidUsageEnded, CustomerCreated, VendorCreated, VendorUpdated, PrepaidUsageLowCredits
NotificationTypeRead only string
Documentation/ Payment API v2
NotificationAmount Fields Field Type Details Amountnumber · double
Currencystring
Discountnumber · double
Feenumber · double
GiftCodestring
NetAmountnumber · double
Shippingnumber · double
Taxnumber · double
Documentation/ Payment API v2
NotificationCreditCard Fields Field Type Details AVSResultstring
CardCountrystring
CVCResultstring
Expirystring
First6string
Last4string
NameOnCardstring
Tokenstring
Documentation/ Payment API v2
NotificationCustomer Fields Field Type Details IDinteger · int64
Addressstring
Citystring
CodiceFiscalestring
CodiceUfficostring
Countrystring
CustomerAreaLinkstring
Emailstring
FullNamestring
IPCountrystring
MainActivitystring
PecEmailstring
Phonestring
ShippingAddressstring
ShippingCitystring
ShippingCountrystring
ShippingStatestring
ShippingZIPstring
Statestring
TaxAuthoritystring
Tokenstring
UniqueCustomerIDstring
Websitestring
ZIPstring
Documentation/ Payment API v2
NotificationOrderUnit Fields Field Type Details OrderUnitIDinteger · int64
Pricenumber · double
Taxnumber · double
ProductIDinteger · int64
Titlestring
Quantitynumber · double
Shippingnumber · double
ShippingMethodstring
TotalCostnumber · double
Typestring
BillingModelstring
PrepaidUsageCodestring
PrepaidUsageboolean
Vendorsarray< VendorData >
Documentation/ Payment API v2
Field Type Details Namestring
Valuestring
Documentation/ Payment API v2
InvoiceDTO Fields Field Type Details IDinteger · int64
URLstring Navigate to this URL to retrieve invoice as PDF
InvoiceCodestring
Titlestring
Descriptionstring
CustomerIDinteger · int64
CustomerCustomerDTO
VendorIDinteger · int64
VendorVendorDTO
OrderNumberstring
Currencystring
ProjectGateWayIDinteger · int64
Datestring · date-time
DueOnstring · date-time
InvoiceTypestring
Statusstring
UseCustomShippingAddressboolean
ShippingAddress1string
ShippingAddress2string
ShippingCountrystring
ShippingStatestring
ShippingZipstring
UseCustomBillingAddressboolean
BillingAddress1string
BillingAddress2string
BillingCountrystring
BillingStatestring
BillingZipstring
IsDeletedboolean
Totalnumber · double
CanBePaidboolean
Metadatastring
OrderUnitsarray< OrderUnitDTO >
InvoiceNoDisplaystring
notesstring
Documentation/ Payment API v2
CreditCard3DS Fields Documentation/ Payment API v2
VendorData Fields Field Type Details IDinteger · int64
CommisionPercentnumber · double
CommisionPercentOverridenumber · double
CommisionAmountOverridenumber · double
Documentation/ Payment API v2
OrderUnitDTO Fields Field Type Details Titlestring
Descriptionstring
ProductIDinteger · int64
ProductTypestring Service, Subscription, Goods
Pricenumber · double
Quantityinteger · int32
Currencystring
Taxnumber · double
Totalnumber · double
BillingModelstring PrepaidUsageboolean
PrepaidUsageCodestring
Vendorsarray< VendorData >
Documentation/ Payment API v2
CreditCard3DSData Fields Field Type Details Namestring
Valuestring
Documentation/ Payment API v2
TokenCardDTO Fields Field Type Details publicKeystring
tokenstring
Amountstring
Currencystring
firstNameRequired string
lastNameRequired string
billingAddressRequired string
zipRequired string
emailRequired string
numberRequired string
monthRequired string
yearRequired string
cvvRequired string
customerIPstring
subdomainstring
threedSecureCreditCard3DS
Documentation/ Payment API v2
TransactionDTO Fields Field Type Details IDinteger · int64
TransactionCodestring
ProviderTransactionCodestring
ProviderMandateIDstring Used for SEPA transactions
ProjectProjectDTO
ProjectGateWayProjectGateWayDTO
PublicCheckoutPagePublicCheckoutPageDTO
CustomerCustomerDTO
CreditCardCreditCardDTO
PaymentTypestring
BankAccountBankAccountDTO
InvoiceIDinteger · int64
CouponCodestring
CouponCodeRedeemedboolean
OrderUnitsarray< OrderUnitDTO >
TransactionStatusstring Successful, Authorized, Unsuccessful, InProcess, Refunded, Dispute, Change, Error
TransactionTypestring Payment, Subscription, BillableAddon, Test
AmountToReceivenumber · double
Feenumber · double
Grossnumber · double
AmountReceivednumber · double
ClientIPstring
CurrencyCustomerstring
CurrencyOriginalstring
CurrencyPaidstring
IsDeletedboolean
ProviderResponsestring
CVVResponsestring
AVSResponsestring
CAVVResponsestring
IPCountryNamestring
IPCityNamestring
IPZipCodestring
IPLatitudestring
IPLongitudestring
IsLiveboolean
ProviderDateTimestring · date-time
CreatedDatetimestring · date-time
Metadatastring
Documentation/ Payment API v2
ProjectDTO Fields Field Type Details IDinteger · int64
Subdomainstring
Documentation/ Payment API v2
ProjectGateWayDTO Fields Field Type Details FriendlyNamestring
IDinteger · int64
isCascadableboolean
isTrustedboolean
Documentation/ Payment API v2
PublicCheckoutPageDTO Fields Field Type Details IDinteger · int64
PageNicknamestring
Documentation/ Payment API v2
CustomerEtableDTO Fields Field Type Details IDinteger · int64
Tokenstring
Activeboolean
Emailstring
ProjectSubdomainRequired string Project subdomain where customer belongs to
FirstNamestring
LastNamestring
Companystring
Phonestring
Websitestring
MainActivitystring
TaxAuthoritystring
UniqueCustomerIDstring
ShippingAddress1string
ShippingAddress2string
ShippingCountrystring
ShippingStatestring
ShippingCitystring
ShippingZipstring
VatNumberstring
VatCountrystring
UseSameAsBillingboolean
BillingAddress1Required string
BillingAddress2string
BillingCountryRequired string
BillingStatestring
BillingCitystring
BillingZipRequired string
CustomerAreaLinkstring
CreditCardsarray< CreditCardDTO >
BankAccountsarray< BankAccountDTO >
ProviderDataarray< ProviderDataDTO >
Documentation/ Payment API v2
BusinessDTO Fields Field Type Details NameRequired string
customerVatNumberRequired string
Emailstring
FirstNamestring
LastNamestring
Companystring
Phonestring
UniqueCustomerIDstring
Documentation/ Payment API v2
SubscriptionDTO Fields Field Type Details IDinteger · int64
TransactionCodestring
InvoiceCodestring
ProviderIDstring
OrderUnitOrderUnitDTO
CreditCardCreditCardDTO
BankAccountBankAccountDTO
PaymentTypestring
CouponCodestring
Createdstring · date-time
IsLiveboolean
Activeboolean
CancelDateTimestring · date-time
IsCanceledboolean
CancelReasonstring
Documentation/ Payment API v2
CreateInvoiceRequest Fields Field Type Details CustomerIDinteger · int64
CustomerEmailstring
VendorIDinteger · int64
VendorEmailstring
CurrencyRequired string Currency code in ISO4217 format
InvoiceProductsarray< InvoiceProduct >
InvoiceOrderUnitsarray< InvoiceOrderUnit >
TitleRequired string
Descriptionstring
DateRequired string · date-time
DueDateRequired string · date-time
InvoiceStatusstring Draft, InProcess, Paid, Failed, PastDue, Voided, Refunded
Draft, InProcess, Paid, Failed, PastDue, Voided, Refunded
Metadataobject<string, string > Custom data for invoice (name: value)
Documentation/ Payment API v2
InvoiceProduct Fields Field Type Details IDinteger · int64
ProductTypestring Product type (Service, Subscription, Goods)
Titlestring
Descriptionstring
Pricenumber · double
Taxnumber · double Quantityinteger · int32
SetupFeenumber · double
SecurityDepositnumber · double
Periodstring Subscription charge period (Day, Month, Term, Semester, Year)
PeriodIntervalinteger · int32 Subscription charge period interval
CalendarBillingstring Subscription calendar billing in case of Month period (SignupDate, Day01, Day02, ... Day28, DayLast)
Documentation/ Payment API v2
InvoiceOrderUnit Fields Field Type Details IDinteger · int64
Documentation/ Payment API v2
CalculateChangeSubscriptionDTO Fields Field Type Details Textstring
FirstChargeAmountnumber · double
ChangeDatestring · date-time
Documentation/ Payment API v2
ChangeCreditCardData Fields Field Type Details SubscriptionIDsarray< integer · int64 > CreditCardTokenstring Credit card temp token obtained through nummuspay.js
Documentation/ Payment API v2
CalculateTaxDTO Fields Field Type Details ProjectSubdomainRequired string
CustomerRequired CustomerDTO
TaxTypeRequired string DigitalProduct, PhysicalProduct, Unknown
DigitalProduct, PhysicalProduct, Unknown
Documentation/ Payment API v2
VatTaxCheck Fields Field Type Details Taxnumber · double CompanyNamestring Company name obtained via vat check system
TaxDisplaystring Tax diplay text in project's culture
Documentation/ Payment API v2
ApiTokenRequest Fields Field Type Details usernameRequired string
passwordRequired string
Documentation/ Payment API v2
TransactionQuery Fields Field Type Details DateFromstring · date-time
DateTostring · date-time
transactionIDstring
Documentation/ Payment API v2
ReconciliationResponse Fields Documentation/ Payment API v2
TransactionReconciliationDTO Fields Field Type Details IDinteger · int64
TransactionCodestring
ProviderTransactionCodestring
ProviderMandateIDstring
ProjectProjectDTO
ProjectGateWayProjectGateWayDTO
CustomerCustomerReconciliationDTO
CreditCardCreditCardDTO
PaymentTypestring
TransactionStatusstring
TransactionTypestring
AmountToReceivenumber · double
Feenumber · double
Grossnumber · double
AmountReceivednumber · double
ClientIPstring
CurrencyCustomerstring
CurrencyOriginalstring
CurrencyPaidstring
IsDeletedboolean
ProviderResponsestring
CVVResponsestring
AVSResponsestring
CAVVResponsestring
IPCountryNamestring
IPCityNamestring
IPZipCodestring
IPLatitudestring
IPLongitudestring
IsLiveboolean
ProviderDateTimestring · date-time
CreatedDatetimestring · date-time
Metadatastring
Documentation/ Payment API v2
CustomerReconciliationDTO Fields Field Type Details IDinteger · int64
Tokenstring
Activeboolean
EmailRequired string
FirstNameRequired string
LastNameRequired string
Phonestring
BillingAddress1Required string
BillingAddress2string
BillingCountryRequired string
BillingStatestring
BillingCitystring
customerIPstring
BillingZipRequired string
Documentation/ Payment API v2
TransactionModify Fields Documentation/ Payment API v2
TransactionModifyProduct Fields Field Type Details IDinteger · int64
Vendorsarray< VendorDTO >
Documentation/ Payment API v2
ReleaseFundsDTO Fields Field Type Details IDinteger · int64 Amountnumber · double Total amount in vendor's default currency
TransactionIDinteger · int64