MyPaydocs
MYPAY DEVELOPERS

Documentation

Guides and examples for your MyPay integration.

Explore an example

Illustrative examples

Browse sample requests and responses.

JSON
POST /v2/Checkout/Token
JSON
{
  "PublicCheckoutPage.ID": "YOUR_CHECKOUT_PAGE_ID",
  "CartProducts[0].ID": "YOUR_PRODUCT_ID",
  "CartProducts[0].Quantity": "1"
}

Browse the reference

View all resources

Documentation preview. Content and examples are subject to change.

DocumentationIntegration 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

CredentialWhere 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

DocumentationIntegration 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
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

Send the Authorization header

HTTP
Authorization: Bearer YOUR_ACCESS_TOKEN

The 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
$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

DocumentationIntegration guides

MyPay Checkout

Open a MyPay checkout from your website and pass the details of the purchase.

Load Mypay.js

HTML
<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
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
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

ParameterTypePurpose
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

DocumentationIntegration 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
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.

FieldTypeDetails
emailRequiredstringCustomer email
firstNameRequiredstringFirst name
lastNameRequiredstringLast name
billingAddressRequiredstringBilling address
zipRequiredstringBilling postal code
numberRequiredstringCard number
monthRequiredintExpiry month
yearRequiredintExpiry year
cvvRequiredintCard 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

DocumentationIntegration 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
{
  "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
{
  "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

DocumentationIntegration 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
FieldPurpose
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

DocumentationIntegration guides

Before you go live

Check the complete customer journey and your server-side payment handling.

Your launch checklist

  • Confirm the environment, gateway, credentials and payment methods enabled for your project.
  • Test successful, declined, cancelled and interrupted payment journeys, including 3D Secure when applicable.
  • Verify that the exact transmitted charge body matches the body used to calculate HMAC.
  • Check your order reference, amount and currency against the confirmed transaction.
  • Verify notification authentication and handle duplicate or delayed events.
  • Review checkout on mobile, including keyboard entry and returning from payment.
  • Confirm your PCI scope, activation steps and integration support contact.

DocumentationPayment API v2

Payment API reference

Explore endpoints, request fields and response models.

61Operations
48Data models
v2API version

Base URL

HTTPS
https://api.mypay.gr

All 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

DocumentationPayment API v2

Tokens

Api request for token

POST/v2/Token

Token_Post

Parameters

ParameterLocation / typeDetails
tokenRequestRequiredbody
ApiTokenRequest

The token request object

Request body fields ApiTokenRequest
FieldTypeDetails
usernameRequiredstring
passwordRequiredstring

Responses

StatusDescriptionSchema
200OKstring
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

DocumentationPayment API v2

Checkout

Creates a checkout token

POST/v2/Checkout/Token

Checkout_CreateToken

Parameters

ParameterLocation / typeDetails
checkoutParametersRequiredbody
object<string, string>

Checkout parameters

Responses

StatusDescriptionSchema
200OKobject
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

DocumentationPayment API v2

Customers

Retrieves the details of an existing customer

GET/v2/Customers/{customerID}

Customers_Get

Parameters

ParameterLocation / typeDetails
customerIDRequiredpath
integer · int64

The ID of the customer to be retrieved

Responses

StatusDescriptionSchema
200OKCustomerDTO
Content types
Request
Response
application/json, text/json, application/xml, text/xml

Deletes a customer

DELETE/v2/Customers/{customerID}

Customers_Delete

Parameters

ParameterLocation / typeDetails
customerIDRequiredpath
integer · int64

The ID of the customer to be deleted

Responses

StatusDescriptionSchema
200OKobject
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

ParameterLocation / typeDetails
tokenRequiredpath
string

The ID of the customer to be retrieved

Responses

StatusDescriptionSchema
200OKCustomerDTO
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

ParameterLocation / typeDetails
uniqueCustomerIDRequiredpath
string

The unique customer ID of the customer (or business) to be retrieved

Responses

StatusDescriptionSchema
200OKCustomerDTO
Content types
Request
Response
application/json, text/json, application/xml, text/xml

Update a customer by id/token

PUT/v2/Customers

Customers_Put

Parameters

ParameterLocation / typeDetails
custRequiredbody
CustomerDTO

The customer object

Request body fields CustomerDTO
FieldTypeDetails
GeoLookupResultGeoLookupResult
IDinteger · int64
Tokenstring
Activeboolean
EmailRequiredstring
Usernamestring
Referrerstring
ProjectSubdomainRequiredstring

Project subdomain where customer belongs to

FirstNameRequiredstring
LastNameRequiredstring
Companystring
Phonestring
UniqueCustomerIDstring
ShippingAddress1string
ShippingAddress2string
ShippingCountrystring
ShippingStatestring
ShippingCitystring
ShippingZipstring
VatNumberstring
VatCountrystring
UseSameAsBillingboolean
BillingAddress1Requiredstring
BillingAddress2string
BillingCountryRequiredstring
BillingStatestring
BillingCitystring
customerIPstring
BillingZipRequiredstring
IsDeletedboolean
CustomerAreaLinkstring
CreditCardsarray<CreditCardDTO>
BankAccountsarray<BankAccountDTO>
ProviderDataarray<ProviderDataDTO>

Responses

StatusDescriptionSchema
200OKCustomerDTO
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

Creates a new customer

POST/v2/Customers

Customers_Post

Parameters

ParameterLocation / typeDetails
customerRequiredbody
CustomerDTO

The customer object

Request body fields CustomerDTO
FieldTypeDetails
GeoLookupResultGeoLookupResult
IDinteger · int64
Tokenstring
Activeboolean
EmailRequiredstring
Usernamestring
Referrerstring
ProjectSubdomainRequiredstring

Project subdomain where customer belongs to

FirstNameRequiredstring
LastNameRequiredstring
Companystring
Phonestring
UniqueCustomerIDstring
ShippingAddress1string
ShippingAddress2string
ShippingCountrystring
ShippingStatestring
ShippingCitystring
ShippingZipstring
VatNumberstring
VatCountrystring
UseSameAsBillingboolean
BillingAddress1Requiredstring
BillingAddress2string
BillingCountryRequiredstring
BillingStatestring
BillingCitystring
customerIPstring
BillingZipRequiredstring
IsDeletedboolean
CustomerAreaLinkstring
CreditCardsarray<CreditCardDTO>
BankAccountsarray<BankAccountDTO>
ProviderDataarray<ProviderDataDTO>

Responses

StatusDescriptionSchema
200OKCustomerDTO
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 Etable

POST/v2/Customers/CreateCustomerEtable

Customers_CreateCustomerEtable

Parameters

ParameterLocation / typeDetails
customerRequiredbody
CustomerEtableDTO
Request body fields CustomerEtableDTO
FieldTypeDetails
IDinteger · int64
Tokenstring
Activeboolean
Emailstring
ProjectSubdomainRequiredstring

Project subdomain where customer belongs to

FirstNamestring
LastNamestring
Companystring
Phonestring
Websitestring
MainActivitystring
TaxAuthoritystring
UniqueCustomerIDstring
ShippingAddress1string
ShippingAddress2string
ShippingCountrystring
ShippingStatestring
ShippingCitystring
ShippingZipstring
VatNumberstring
VatCountrystring
UseSameAsBillingboolean
BillingAddress1Requiredstring
BillingAddress2string
BillingCountryRequiredstring
BillingStatestring
BillingCitystring
BillingZipRequiredstring
CustomerAreaLinkstring
CreditCardsarray<CreditCardDTO>
BankAccountsarray<BankAccountDTO>
ProviderDataarray<ProviderDataDTO>

Responses

StatusDescriptionSchema
200OKCustomerEtableDTO
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

ParameterLocation / typeDetails
businessRequiredbody
BusinessDTO
Request body fields BusinessDTO
FieldTypeDetails
NameRequiredstring
customerVatNumberRequiredstring
Emailstring
FirstNamestring
LastNamestring
Companystring
Phonestring
UniqueCustomerIDstring

Responses

StatusDescriptionSchema
200OKBusinessDTO
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

ParameterLocation / typeDetails
customerIDRequiredpath
integer · int64

The ID of the customer

Responses

StatusDescriptionSchema
200OKarray<TransactionDTO>
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

ParameterLocation / typeDetails
customerIDRequiredpath
integer · int64

The ID of the customer

Responses

StatusDescriptionSchema
200OKarray<SubscriptionDTO>
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

ParameterLocation / typeDetails
customerIDRequiredpath
integer · int64

The ID of the customer

Responses

StatusDescriptionSchema
200OKarray<InvoiceDTO>
Content types
Request
Response
application/json, text/json, application/xml, text/xml

Deletes a credit card

DELETE/v2/Customers/DeleteCreditCard/{token}

Customers_DeleteCreditCard

Parameters

ParameterLocation / typeDetails
tokenRequiredpath
string

The token of the credit card to be deleted

Responses

StatusDescriptionSchema
200OKobject
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

ParameterLocation / typeDetails
codeRequiredpath
string

The code of the subscription

Responses

StatusDescriptionSchema
200OKobject
Content types
Request
Response
application/json, text/json, application/xml, text/xml

DocumentationPayment API v2

Products

Retrieves the details of an existing product

GET/v2/Products/{productID}

Products_Get

Parameters

ParameterLocation / typeDetails
productIDRequiredpath
integer · int64

The ID of the product to be retrieved

Responses

StatusDescriptionSchema
200OKProductDTO
Content types
Request
Response
application/json, text/json, application/xml, text/xml

Deletes a product

DELETE/v2/Products/{productID}

Products_Delete

Parameters

ParameterLocation / typeDetails
productIDRequiredpath
integer · int64

The ID of the product to be deleted

Responses

StatusDescriptionSchema
200OKobject
Content types
Request
Response
application/json, text/json, application/xml, text/xml

Creates a new product

POST/v2/Products

Products_Post

Parameters

ParameterLocation / typeDetails
productRequiredbody
ProductDTO

The product object

Request body fields ProductDTO
FieldTypeDetails
IDinteger · int64
ProjectSubdomainstring

The project's subdomain where product belongs to

Titlestring
Descriptionstring
Codestring
Quantityinteger · int32

Stock available quantity

EditableQuantityboolean

Editable quantity at checkout

Pricenumber · double
Taxnumber · double

Tax percentage

Discountnumber · double

Discount percentage

Shippingnumber · double
Currencystring

ISO4217 currency code

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

Centimeters, Inches

Lengthnumber · double
Widthnumber · double
Heightnumber · double
MassUnitstring

Kg, Pounds

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

Paid, Free

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

StatusDescriptionSchema
200OKProductDTO
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

Assigns a vendor to a product

GET/v2/Products/{productID}/AssignToVendor/{vendorID}

Products_AssignToVendor

Parameters

ParameterLocation / typeDetails
productIDRequiredpath
integer · int64

The ID of the product

vendorIDRequiredpath
integer · int64

The ID of vendor

Responses

StatusDescriptionSchema
200OKobject
Content types
Request
Response
application/json, text/json, application/xml, text/xml

DocumentationPayment API v2

Charges

Get Random Ip Address

GET/v2/Charge

Charge_GetRandomIpAddress

No parameters are declared for this operation.

Responses

StatusDescriptionSchema
200OKstring
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

ParameterLocation / typeDetails
chRequiredbody
ChargeDTO
Request body fields ChargeDTO
FieldTypeDetails
PaymentTokenstring
PaymentTypestring
cvvstring
CustomerCustomerDTO
CreditCardCreditCardDTO
BankAccountBankAccountDTO
PaypalTokenstring
AmountRequirednumber · double
CurrencyRequiredstring

ISO4217 currency code

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

Tax percentage e.g. 15%

Vendorsarray<VendorDTO>
Productsarray<ChargeProductDTO>

Responses

StatusDescriptionSchema
200OKTransactionNotification
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

Charge3 D S

POST/v2/Charge/Charge3DS

Charge_Charge3DS

Parameters

ParameterLocation / typeDetails
chRequiredbody
ChargeDTO
Request body fields ChargeDTO
FieldTypeDetails
PaymentTokenstring
PaymentTypestring
cvvstring
CustomerCustomerDTO
CreditCardCreditCardDTO
BankAccountBankAccountDTO
PaypalTokenstring
AmountRequirednumber · double
CurrencyRequiredstring

ISO4217 currency code

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

Tax percentage e.g. 15%

Vendorsarray<VendorDTO>
Productsarray<ChargeProductDTO>

Responses

StatusDescriptionSchema
200OKTransactionNotification
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

ParameterLocation / typeDetails
cardRequiredbody
TokenCardDTO
Request body fields TokenCardDTO
FieldTypeDetails
publicKeystring
tokenstring
Amountstring
Currencystring
firstNameRequiredstring
lastNameRequiredstring
billingAddressRequiredstring
zipRequiredstring
emailRequiredstring
numberRequiredstring
monthRequiredstring
yearRequiredstring
cvvRequiredstring
customerIPstring
subdomainstring
threedSecureCreditCard3DS

Responses

StatusDescriptionSchema
200OKTokenCardDTO
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

DocumentationPayment API v2

Transactions

Retrieves a transaction

GET/v2/Transactions/{transactionID}

Transactions_Get

Parameters

ParameterLocation / typeDetails
transactionIDRequiredpath
integer · int64

The ID of the transaction

Responses

StatusDescriptionSchema
200OKTransactionDTO
Content types
Request
Response
application/json, text/json, application/xml, text/xml

Get Pendings

GET/v2/Transactions/GetPendings

Transactions_GetPendings

Parameters

ParameterLocation / typeDetails
ppidRequiredquery
integer · int64
rangequery
number · double
intervalquery
string

Responses

StatusDescriptionSchema
200OKarray<TransactionDTO>
Content types
Request
Response
application/json, text/json, application/xml, text/xml

Get All

GET/v2/Transactions/GetAll

Transactions_GetAll

Parameters

ParameterLocation / typeDetails
ppidRequiredquery
integer · int64
rangequery
number · double
intervalquery
string

Responses

StatusDescriptionSchema
200OKarray<TransactionDTO>
Content types
Request
Response
application/json, text/json, application/xml, text/xml

Get Provider Code

GET/v2/Transactions/GetProviderCode

Transactions_GetProviderCode

Parameters

ParameterLocation / typeDetails
ppidRequiredquery
integer · int64
rangequery
number · double
intervalquery
string
sessionIDquery
string

Responses

StatusDescriptionSchema
200OKarray<TransactionDTO>
Content types
Request
Response
application/json, text/json, application/xml, text/xml

Get Pendings2

GET/v2/Transactions/GetPendings2

Transactions_GetPendings2

Parameters

ParameterLocation / typeDetails
ppidRequiredquery
integer · int64

Responses

StatusDescriptionSchema
200OKarray<TransactionDTO>
Content types
Request
Response
application/json, text/json, application/xml, text/xml

Check

GET/v2/Transactions/Check

Transactions_Check

Parameters

ParameterLocation / typeDetails
uniqueIDRequiredquery
string

Responses

StatusDescriptionSchema
200OKTransactionNotification
Content types
Request
Response
application/json, text/json, application/xml, text/xml

Check Internal I D

GET/v2/Transactions/CheckInternalID

Transactions_CheckInternalID

Parameters

ParameterLocation / typeDetails
uniqueIDRequiredquery
integer · int64

Responses

StatusDescriptionSchema
200OKTransactionNotification
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

ParameterLocation / typeDetails
tqRequiredbody
TransactionQuery
Request body fields TransactionQuery
FieldTypeDetails
DateFromstring · date-time
DateTostring · date-time
transactionIDstring

Responses

StatusDescriptionSchema
200OKReconciliationResponse
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

Captures a transaction

POST/v2/Transactions/Capture

Transactions_Capture

Parameters

ParameterLocation / typeDetails
reqRequiredbody
TransactionModify

The capture transation request

Request body fields TransactionModify
FieldTypeDetails
IDinteger · int64
TransactionCodestring
Vendorsarray<VendorDTO>
Productsarray<TransactionModifyProduct>
Amountnumber · double

Amount for partial refund

Responses

StatusDescriptionSchema
200OKTransactionDTO
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

Refunds a transaction

POST/v2/Transactions/Refund

Transactions_Refund

Parameters

ParameterLocation / typeDetails
reqRequiredbody
TransactionModify

The refund transation request

Request body fields TransactionModify
FieldTypeDetails
IDinteger · int64
TransactionCodestring
Vendorsarray<VendorDTO>
Productsarray<TransactionModifyProduct>
Amountnumber · double

Amount for partial refund

Responses

StatusDescriptionSchema
200OKTransactionDTO
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

Vois a transaction

POST/v2/Transactions/Void

Transactions_Void

Parameters

ParameterLocation / typeDetails
reqRequiredbody
TransactionModify

The void transation request

Request body fields TransactionModify
FieldTypeDetails
IDinteger · int64
TransactionCodestring
Vendorsarray<VendorDTO>
Productsarray<TransactionModifyProduct>
Amountnumber · double

Amount for partial refund

Responses

StatusDescriptionSchema
200OKTransactionDTO
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

DocumentationPayment API v2

Invoices

Retrieves the details of an existing invoice

GET/v2/Invoices/{invoiceID}

Invoices_Get

Parameters

ParameterLocation / typeDetails
invoiceIDRequiredpath
integer · int64

The ID of the invoice to be retrieved

Responses

StatusDescriptionSchema
200OKInvoiceDTO
Content types
Request
Response
application/json, text/json, application/xml, text/xml

Deletes an invoice

DELETE/v2/Invoices/{invoiceID}

Invoices_Delete

Parameters

ParameterLocation / typeDetails
invoiceIDRequiredpath
integer · int64

The ID of the invoice to be deleted

Responses

StatusDescriptionSchema
200OKobject
Content types
Request
Response
application/json, text/json, application/xml, text/xml

Creates a new invoice

POST/v2/Invoices

Invoices_Post

Parameters

ParameterLocation / typeDetails
invoiceRequiredbody
CreateInvoiceRequest

The product object

Request body fields CreateInvoiceRequest
FieldTypeDetails
CustomerIDinteger · int64
CustomerEmailstring
VendorIDinteger · int64
VendorEmailstring
CurrencyRequiredstring

Currency code in ISO4217 format

InvoiceProductsarray<InvoiceProduct>
InvoiceOrderUnitsarray<InvoiceOrderUnit>
TitleRequiredstring
Descriptionstring
DateRequiredstring · date-time
DueDateRequiredstring · 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

StatusDescriptionSchema
200OKInvoiceDTO
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

DocumentationPayment API v2

Subscriptions

Retrieves a subscription

GET/v2/Subscriptions/{subscriptionID}

Subscriptions_Get

Parameters

ParameterLocation / typeDetails
subscriptionIDRequiredpath
integer · int64

The ID of the subscription

Responses

StatusDescriptionSchema
200OKSubscriptionDTO
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

ParameterLocation / typeDetails
subscriptionIDRequiredpath
integer · int64

The ID of the subscription to change from

productIDRequiredpath
integer · int64

The ID of the product to change to

Responses

StatusDescriptionSchema
200OKCalculateChangeSubscriptionDTO
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

ParameterLocation / typeDetails
subscriptionIDRequiredpath
integer · int64

The ID of the subscription to change from

productIDRequiredpath
integer · int64

The ID of the product to change to

nowRequiredpath
boolean

Change now or later

Responses

StatusDescriptionSchema
200OKobject
Content types
Request
Response
application/json, text/json, application/xml, text/xml

Cancels a subscription

GET/v2/Subscriptions/{subscriptionID}/Cancel

Subscriptions_Cancel

Parameters

ParameterLocation / typeDetails
subscriptionIDRequiredpath
integer · int64

The ID of the subscription to cancel

Responses

StatusDescriptionSchema
200OKobject
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

ParameterLocation / typeDetails
changeCreditCardDataRequiredbody
ChangeCreditCardData

The ChangeCreditCardData object

Request body fields ChangeCreditCardData
FieldTypeDetails
SubscriptionIDsarray<integer · int64>

The subscription ids

CreditCardTokenstring

Credit card temp token obtained through nummuspay.js

Responses

StatusDescriptionSchema
200OKarray<SubscriptionDTO>
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

DocumentationPayment API v2

Vendors

Retrieves the details of an existing vendor

GET/v2/Vendors/{vendorID}

Vendors_Get

Parameters

ParameterLocation / typeDetails
vendorIDRequiredpath
integer · int64

The ID of the vendor to be retrieved

Responses

StatusDescriptionSchema
200OKVendorDTO
Content types
Request
Response
application/json, text/json, application/xml, text/xml

Deletes a vendor

DELETE/v2/Vendors/{vendorID}

Vendors_Delete

Parameters

ParameterLocation / typeDetails
vendorIDRequiredpath
integer · int64

The ID of the vendor to be deleted

Responses

StatusDescriptionSchema
200OKobject
Content types
Request
Response
application/json, text/json, application/xml, text/xml

Mofify a vendor

PUT/v2/Vendors

Vendors_Put

Parameters

ParameterLocation / typeDetails
vendorRequiredbody
VendorDTO

The vendor object

Request body fields VendorDTO
FieldTypeDetails
IDinteger · int64
ProjectSubdomainstring
Activeboolean
VendorTypestring

Individual, Business

EmailRequiredstring
FirstNamestring
LastNamestring
DateOfBirthstring · date-time
Genderstring

Male, Female

IdentificationNumberstring
DriverLisenceNumberstring
PassportNumberstring
Phonestring
Address1string
Address2string
CountryRequiredstring
Statestring
Citystring
Zipstring
ShopNamestring
VatCountrystring
VatNumberstring
CompanyTaxNumberstring
CompanyEmailstring
CompanyNamestring
CompanyPhonestring
CompanyURLstring
CompanyAddress1string
CompanyAddress2string
CompanyCountrystring
CompanyStatestring
CompanyCitystring
CompanyZipstring
CompanyVatnumber · double
CommisionPercentRequirednumber · double
SubscriptionCommisionboolean
DefaultPayoutCurrencyRequiredstring
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

StatusDescriptionSchema
200OKVendorDTO
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

Creates a new vendor

POST/v2/Vendors

Vendors_Post

Parameters

ParameterLocation / typeDetails
vendorRequiredbody
VendorDTO

The vendor object

Request body fields VendorDTO
FieldTypeDetails
IDinteger · int64
ProjectSubdomainstring
Activeboolean
VendorTypestring

Individual, Business

EmailRequiredstring
FirstNamestring
LastNamestring
DateOfBirthstring · date-time
Genderstring

Male, Female

IdentificationNumberstring
DriverLisenceNumberstring
PassportNumberstring
Phonestring
Address1string
Address2string
CountryRequiredstring
Statestring
Citystring
Zipstring
ShopNamestring
VatCountrystring
VatNumberstring
CompanyTaxNumberstring
CompanyEmailstring
CompanyNamestring
CompanyPhonestring
CompanyURLstring
CompanyAddress1string
CompanyAddress2string
CompanyCountrystring
CompanyStatestring
CompanyCitystring
CompanyZipstring
CompanyVatnumber · double
CommisionPercentRequirednumber · double
SubscriptionCommisionboolean
DefaultPayoutCurrencyRequiredstring
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

StatusDescriptionSchema
200OKVendorDTO
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

Releases an amount for vendor payout

POST/v2/Vendors/ReleaseFunds

Vendors_ReleaseFunds

Parameters

ParameterLocation / typeDetails
reqRequiredbody
ReleaseFundsDTO
Request body fields ReleaseFundsDTO
FieldTypeDetails
IDinteger · int64

Vendor ID

Amountnumber · double

Total amount in vendor's default currency

TransactionIDinteger · int64

Transaction ID

Responses

StatusDescriptionSchema
200OKobject
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

DocumentationPayment API v2

Companies

Retrieves the company's products

GET/v2/Companies/{companyID}/Products

Companies_GetProducts

Parameters

ParameterLocation / typeDetails
companyIDRequiredpath
integer · int64

The ID of the company

Responses

StatusDescriptionSchema
200OKarray<ProductDTO>
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

ParameterLocation / typeDetails
companyIDRequiredpath
integer · int64

The ID of the company

Responses

StatusDescriptionSchema
200OKarray<CustomerDTO>
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

ParameterLocation / typeDetails
companyIDRequiredpath
integer · int64

The ID of the company

Responses

StatusDescriptionSchema
200OKarray<TransactionDTO>
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

ParameterLocation / typeDetails
companyIDRequiredpath
integer · int64

The ID of the company

Responses

StatusDescriptionSchema
200OKarray<InvoiceDTO>
Content types
Request
Response
application/json, text/json, application/xml, text/xml

DocumentationPayment API v2

Projects

Retrieves the project's products

GET/v2/Projects/{projectID}/Products

Projects_GetProducts

Parameters

ParameterLocation / typeDetails
projectIDRequiredpath
integer · int64

The ID of the project

Responses

StatusDescriptionSchema
200OKarray<ProductDTO>
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

ParameterLocation / typeDetails
projectIDRequiredpath
integer · int64

The ID of the project

Responses

StatusDescriptionSchema
200OKarray<CustomerDTO>
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

ParameterLocation / typeDetails
projectIDRequiredpath
integer · int64

The ID of the project

Responses

StatusDescriptionSchema
200OKarray<TransactionDTO>
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

ParameterLocation / typeDetails
projectIDRequiredpath
integer · int64

The ID of the project

Responses

StatusDescriptionSchema
200OKarray<InvoiceDTO>
Content types
Request
Response
application/json, text/json, application/xml, text/xml

DocumentationPayment API v2

Tax

Calculates tax percentage by project and customer details

POST/v2/Tax/Calculate

Tax_Calculate

Parameters

ParameterLocation / typeDetails
reqRequiredbody
CalculateTaxDTO

Calculate tax request object

Request body fields CalculateTaxDTO
FieldTypeDetails
ProjectSubdomainRequiredstring
CustomerRequiredCustomerDTO
TaxTypeRequiredstring

DigitalProduct, PhysicalProduct, Unknown

DigitalProduct, PhysicalProduct, Unknown

Responses

StatusDescriptionSchema
200OKVatTaxCheck
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

DocumentationPayment API v2

Billable add-ons

Retrieves all billing addon notifications

POST/v2/BillingAddonUsage/GetAll

BillingAddonUsage_GetAll

Parameters

ParameterLocation / typeDetails
billingAddonRequiredbody
BillingAddonDTO
Request body fields BillingAddonDTO
FieldTypeDetails
addonCodeRequiredstring

Billing addon code

usageRequirednumber · double

Usage to be billed

billableAddonNotificationTypeRequiredstring

Transaction, Subscription

transactionCodeRequiredstring

The transaction code of the transaction/subscription that purchased billing addon belongs to

Responses

StatusDescriptionSchema
200OKarray<BillableAddonNotificationDTO>
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 pending (not yet billed) billing addon notifications

POST/v2/BillingAddonUsage/GetPending

BillingAddonUsage_GetPending

Parameters

ParameterLocation / typeDetails
billingAddonRequiredbody
BillingAddonDTO
Request body fields BillingAddonDTO
FieldTypeDetails
addonCodeRequiredstring

Billing addon code

usageRequirednumber · double

Usage to be billed

billableAddonNotificationTypeRequiredstring

Transaction, Subscription

transactionCodeRequiredstring

The transaction code of the transaction/subscription that purchased billing addon belongs to

Responses

StatusDescriptionSchema
200OKarray<BillableAddonNotificationDTO>
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

Updates the good's/subscription's billing addon's usage

PUT/v2/BillingAddonUsage/UpdateUsage

BillingAddonUsage_UpdateUsage

Parameters

ParameterLocation / typeDetails
updateBillingAddonRequiredbody
BillingAddonDTO
Request body fields BillingAddonDTO
FieldTypeDetails
addonCodeRequiredstring

Billing addon code

usageRequirednumber · double

Usage to be billed

billableAddonNotificationTypeRequiredstring

Transaction, Subscription

transactionCodeRequiredstring

The transaction code of the transaction/subscription that purchased billing addon belongs to

Responses

StatusDescriptionSchema
200OKnumber · 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

DocumentationPayment API v2

Prepaid usage

Retrieves all prepaid usage notifications

POST/v2/PrepaidUsage/GetAll

PrepaidUsage_GetAll

Parameters

ParameterLocation / typeDetails
billingAddonRequiredbody
BillingAddonDTO
Request body fields BillingAddonDTO
FieldTypeDetails
addonCodeRequiredstring

Billing addon code

usageRequirednumber · double

Usage to be billed

billableAddonNotificationTypeRequiredstring

Transaction, Subscription

transactionCodeRequiredstring

The transaction code of the transaction/subscription that purchased billing addon belongs to

Responses

StatusDescriptionSchema
200OKarray<BillableAddonNotificationDTO>
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

Updates the prepaid usage

PUT/v2/PrepaidUsage/UpdateUsage

PrepaidUsage_UpdateUsage

Parameters

ParameterLocation / typeDetails
updateBillingAddonRequiredbody
BillingAddonDTO
Request body fields BillingAddonDTO
FieldTypeDetails
addonCodeRequiredstring

Billing addon code

usageRequirednumber · double

Usage to be billed

billableAddonNotificationTypeRequiredstring

Transaction, Subscription

transactionCodeRequiredstring

The transaction code of the transaction/subscription that purchased billing addon belongs to

Responses

StatusDescriptionSchema
200OKnumber · 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

DocumentationPayment API v2

BillingAddonDTO

Fields

FieldTypeDetails
addonCodeRequiredstring

Billing addon code

usageRequirednumber · double

Usage to be billed

billableAddonNotificationTypeRequiredstring

Transaction, Subscription

transactionCodeRequiredstring

The transaction code of the transaction/subscription that purchased billing addon belongs to

DocumentationPayment API v2

BillableAddonNotificationDTO

Fields

FieldTypeDetails
Amountnumber · double
CreatedDatetimestring · date-time

DocumentationPayment API v2

ChargeDTO

Fields

FieldTypeDetails
PaymentTokenstring
PaymentTypestring
cvvstring
CustomerCustomerDTO
CreditCardCreditCardDTO
BankAccountBankAccountDTO
PaypalTokenstring
AmountRequirednumber · double
CurrencyRequiredstring

ISO4217 currency code

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

Tax percentage e.g. 15%

Vendorsarray<VendorDTO>
Productsarray<ChargeProductDTO>

DocumentationPayment API v2

CustomerDTO

Fields

FieldTypeDetails
GeoLookupResultGeoLookupResult
IDinteger · int64
Tokenstring
Activeboolean
EmailRequiredstring
Usernamestring
Referrerstring
ProjectSubdomainRequiredstring

Project subdomain where customer belongs to

FirstNameRequiredstring
LastNameRequiredstring
Companystring
Phonestring
UniqueCustomerIDstring
ShippingAddress1string
ShippingAddress2string
ShippingCountrystring
ShippingStatestring
ShippingCitystring
ShippingZipstring
VatNumberstring
VatCountrystring
UseSameAsBillingboolean
BillingAddress1Requiredstring
BillingAddress2string
BillingCountryRequiredstring
BillingStatestring
BillingCitystring
customerIPstring
BillingZipRequiredstring
IsDeletedboolean
CustomerAreaLinkstring
CreditCardsarray<CreditCardDTO>
BankAccountsarray<BankAccountDTO>
ProviderDataarray<ProviderDataDTO>

DocumentationPayment API v2

CreditCardDTO

Fields

FieldTypeDetails
Tokenstring
Activeboolean
CardTypestring
ExpirationMonthinteger · int32
ExpirationYearinteger · int32
FirstNamestring
LastNamestring
Numberstring
BillingAddress1string
BillingAddress2string
Countrystring
Statestring
Zipstring
NumberFirst6string
NumberLast4string
Cvvstring

DocumentationPayment API v2

BankAccountDTO

Fields

FieldTypeDetails
Tokenstring
Activeboolean
FirstNameRequiredstring
LastNameRequiredstring
IBANstring
RoutingNumberstring
AccountNumberstring
CurrencyRequiredstring
IDinteger · int64
BankAccountClassRequiredstring

Personal, Corporate, International

BankAccountTypeRequiredstring

Checking, Savings

BankNamestring
CountryRequiredstring
Statestring
SwiftBicstring
Citystring
Addressstring
Zipstring
IsDeletedboolean
IBANLast4string
RoutingNumberLast4string
AccountNumberLast4string

DocumentationPayment API v2

VendorDTO

Fields

FieldTypeDetails
IDinteger · int64
ProjectSubdomainstring
Activeboolean
VendorTypestring

Individual, Business

EmailRequiredstring
FirstNamestring
LastNamestring
DateOfBirthstring · date-time
Genderstring

Male, Female

IdentificationNumberstring
DriverLisenceNumberstring
PassportNumberstring
Phonestring
Address1string
Address2string
CountryRequiredstring
Statestring
Citystring
Zipstring
ShopNamestring
VatCountrystring
VatNumberstring
CompanyTaxNumberstring
CompanyEmailstring
CompanyNamestring
CompanyPhonestring
CompanyURLstring
CompanyAddress1string
CompanyAddress2string
CompanyCountrystring
CompanyStatestring
CompanyCitystring
CompanyZipstring
CompanyVatnumber · double
CommisionPercentRequirednumber · double
SubscriptionCommisionboolean
DefaultPayoutCurrencyRequiredstring
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

DocumentationPayment API v2

ChargeProductDTO

Fields

FieldTypeDetails
IDinteger · int64
Quantityinteger · int32
OverrideAmountnumber · double

Custom payment/subscription amount

OverrideCurrencystring

Custom payment/subscription currency

DocumentationPayment API v2

GeoLookupResult

Fields

FieldTypeDetails
AddressRead onlystring
StatusCodestring

<statusCode>OK</statusCode>

StatusMessagestring

<statusMessage />

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

DocumentationPayment API v2

ProviderDataDTO

Fields

FieldTypeDetails
PaymentMethodstring
Tokenstring

DocumentationPayment API v2

PayoutInfoDTO

Fields

FieldTypeDetails
PayoutTypestring

ACH, CHAPS, SEPA, WIRE

MinimumPayoutAmountnumber · double
PaymentReferencestring
ReserveBalancenumber · double
BankAccountBankAccountDTO

DocumentationPayment API v2

ProductDTO

Fields

FieldTypeDetails
IDinteger · int64
ProjectSubdomainstring

The project's subdomain where product belongs to

Titlestring
Descriptionstring
Codestring
Quantityinteger · int32

Stock available quantity

EditableQuantityboolean

Editable quantity at checkout

Pricenumber · double
Taxnumber · double

Tax percentage

Discountnumber · double

Discount percentage

Shippingnumber · double
Currencystring

ISO4217 currency code

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

Centimeters, Inches

Lengthnumber · double
Widthnumber · double
Heightnumber · double
MassUnitstring

Kg, Pounds

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

Paid, Free

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>

DocumentationPayment API v2

PersonDTO

Fields

FieldTypeDetails
Emailstring
FirstNamestring
IDnumberstring
LastNamestring
Phonestring
Directorboolean
Ownerboolean
PercentOwnershipnumber · double
Citystring
Countrystring
Addressstring
Address1string
PostalCodestring
IdentificationNumberstring
Statestring
Dobstring · date-time
Genderstring
Male, Female

DocumentationPayment API v2

BillableAddonDTO

Fields

FieldTypeDetails
BillableAddonTypestring

FixedPrice, UsageBased

Namestring
Codestring
PricingModelstring

PerUnit, Percentage

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

DocumentationPayment API v2

TransactionNotification

Fields

FieldTypeDetails
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 onlystring

DocumentationPayment API v2

NotificationAmount

Fields

FieldTypeDetails
Amountnumber · double
Currencystring
Discountnumber · double
Feenumber · double
GiftCodestring
NetAmountnumber · double
Shippingnumber · double
Taxnumber · double

DocumentationPayment API v2

NotificationCreditCard

Fields

FieldTypeDetails
AVSResultstring
CardCountrystring
CVCResultstring
Expirystring
First6string
Last4string
NameOnCardstring
Tokenstring

DocumentationPayment API v2

NotificationCustomer

Fields

FieldTypeDetails
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

DocumentationPayment API v2

NotificationOrderUnit

Fields

FieldTypeDetails
OrderUnitIDinteger · int64
Pricenumber · double
Taxnumber · double
ProductIDinteger · int64
Titlestring
Quantitynumber · double
Shippingnumber · double
ShippingMethodstring
TotalCostnumber · double
Typestring
BillingModelstring
PrepaidUsageCodestring
PrepaidUsageboolean
Vendorsarray<VendorData>

DocumentationPayment API v2

TransactionMetadata

Fields

FieldTypeDetails
Namestring
Valuestring

DocumentationPayment API v2

InvoiceDTO

Fields

FieldTypeDetails
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

DocumentationPayment API v2

CreditCard3DS

Fields

FieldTypeDetails
IDstring
Currencystring
Amountnumber · double
FormActionstring
Methodstring
Dataarray<CreditCard3DSData>
getDataarray<CreditCard3DSData>

DocumentationPayment API v2

VendorData

Fields

FieldTypeDetails
IDinteger · int64
CommisionPercentnumber · double
CommisionPercentOverridenumber · double
CommisionAmountOverridenumber · double

DocumentationPayment API v2

OrderUnitDTO

Fields

FieldTypeDetails
Titlestring
Descriptionstring
ProductIDinteger · int64
ProductTypestring

Service, Subscription, Goods

Pricenumber · double
Quantityinteger · int32
Currencystring
Taxnumber · double
Totalnumber · double
BillingModelstring

FixedPrice, Volume, Tier

PrepaidUsageboolean
PrepaidUsageCodestring
Vendorsarray<VendorData>

DocumentationPayment API v2

CreditCard3DSData

Fields

FieldTypeDetails
Namestring
Valuestring

DocumentationPayment API v2

TokenCardDTO

Fields

FieldTypeDetails
publicKeystring
tokenstring
Amountstring
Currencystring
firstNameRequiredstring
lastNameRequiredstring
billingAddressRequiredstring
zipRequiredstring
emailRequiredstring
numberRequiredstring
monthRequiredstring
yearRequiredstring
cvvRequiredstring
customerIPstring
subdomainstring
threedSecureCreditCard3DS

DocumentationPayment API v2

TransactionDTO

Fields

FieldTypeDetails
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

DocumentationPayment API v2

ProjectDTO

Fields

FieldTypeDetails
IDinteger · int64
Subdomainstring

DocumentationPayment API v2

ProjectGateWayDTO

Fields

FieldTypeDetails
FriendlyNamestring
IDinteger · int64
isCascadableboolean
isTrustedboolean

DocumentationPayment API v2

PublicCheckoutPageDTO

Fields

FieldTypeDetails
IDinteger · int64
PageNicknamestring

DocumentationPayment API v2

CustomerEtableDTO

Fields

FieldTypeDetails
IDinteger · int64
Tokenstring
Activeboolean
Emailstring
ProjectSubdomainRequiredstring

Project subdomain where customer belongs to

FirstNamestring
LastNamestring
Companystring
Phonestring
Websitestring
MainActivitystring
TaxAuthoritystring
UniqueCustomerIDstring
ShippingAddress1string
ShippingAddress2string
ShippingCountrystring
ShippingStatestring
ShippingCitystring
ShippingZipstring
VatNumberstring
VatCountrystring
UseSameAsBillingboolean
BillingAddress1Requiredstring
BillingAddress2string
BillingCountryRequiredstring
BillingStatestring
BillingCitystring
BillingZipRequiredstring
CustomerAreaLinkstring
CreditCardsarray<CreditCardDTO>
BankAccountsarray<BankAccountDTO>
ProviderDataarray<ProviderDataDTO>

DocumentationPayment API v2

BusinessDTO

Fields

FieldTypeDetails
NameRequiredstring
customerVatNumberRequiredstring
Emailstring
FirstNamestring
LastNamestring
Companystring
Phonestring
UniqueCustomerIDstring

DocumentationPayment API v2

SubscriptionDTO

Fields

FieldTypeDetails
IDinteger · int64
TransactionCodestring
InvoiceCodestring
ProviderIDstring
OrderUnitOrderUnitDTO
CreditCardCreditCardDTO
BankAccountBankAccountDTO
PaymentTypestring
CouponCodestring
Createdstring · date-time
IsLiveboolean
Activeboolean
CancelDateTimestring · date-time
IsCanceledboolean
CancelReasonstring

DocumentationPayment API v2

CreateInvoiceRequest

Fields

FieldTypeDetails
CustomerIDinteger · int64
CustomerEmailstring
VendorIDinteger · int64
VendorEmailstring
CurrencyRequiredstring

Currency code in ISO4217 format

InvoiceProductsarray<InvoiceProduct>
InvoiceOrderUnitsarray<InvoiceOrderUnit>
TitleRequiredstring
Descriptionstring
DateRequiredstring · date-time
DueDateRequiredstring · 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)

DocumentationPayment API v2

InvoiceProduct

Fields

FieldTypeDetails
IDinteger · int64
ProductTypestring

Product type (Service, Subscription, Goods)

Titlestring
Descriptionstring
Pricenumber · double
Taxnumber · double

Product vat rate

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)

DocumentationPayment API v2

InvoiceOrderUnit

Fields

FieldTypeDetails
IDinteger · int64

DocumentationPayment API v2

CalculateChangeSubscriptionDTO

Fields

FieldTypeDetails
Textstring
FirstChargeAmountnumber · double
ChangeDatestring · date-time

DocumentationPayment API v2

ChangeCreditCardData

Fields

FieldTypeDetails
SubscriptionIDsarray<integer · int64>

The subscription ids

CreditCardTokenstring

Credit card temp token obtained through nummuspay.js

DocumentationPayment API v2

CalculateTaxDTO

Fields

FieldTypeDetails
ProjectSubdomainRequiredstring
CustomerRequiredCustomerDTO
TaxTypeRequiredstring

DigitalProduct, PhysicalProduct, Unknown

DigitalProduct, PhysicalProduct, Unknown

DocumentationPayment API v2

VatTaxCheck

Fields

FieldTypeDetails
Taxnumber · double

Tax percentage %

CompanyNamestring

Company name obtained via vat check system

TaxDisplaystring

Tax diplay text in project's culture

DocumentationPayment API v2

ApiTokenRequest

Fields

FieldTypeDetails
usernameRequiredstring
passwordRequiredstring

DocumentationPayment API v2

TransactionQuery

Fields

FieldTypeDetails
DateFromstring · date-time
DateTostring · date-time
transactionIDstring

DocumentationPayment API v2

ReconciliationResponse

Fields

FieldTypeDetails
TotalTransactionsstring
ErrorMessagestring
Transactionsarray<TransactionReconciliationDTO>

DocumentationPayment API v2

TransactionReconciliationDTO

Fields

FieldTypeDetails
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

DocumentationPayment API v2

CustomerReconciliationDTO

Fields

FieldTypeDetails
IDinteger · int64
Tokenstring
Activeboolean
EmailRequiredstring
FirstNameRequiredstring
LastNameRequiredstring
Phonestring
BillingAddress1Requiredstring
BillingAddress2string
BillingCountryRequiredstring
BillingStatestring
BillingCitystring
customerIPstring
BillingZipRequiredstring

DocumentationPayment API v2

TransactionModify

Fields

FieldTypeDetails
IDinteger · int64
TransactionCodestring
Vendorsarray<VendorDTO>
Productsarray<TransactionModifyProduct>
Amountnumber · double

Amount for partial refund

DocumentationPayment API v2

TransactionModifyProduct

Fields

FieldTypeDetails
IDinteger · int64
Vendorsarray<VendorDTO>

DocumentationPayment API v2

ReleaseFundsDTO

Fields

FieldTypeDetails
IDinteger · int64

Vendor ID

Amountnumber · double

Total amount in vendor's default currency

TransactionIDinteger · int64

Transaction ID