MyPaydocs
MYPAY DEVELOPERS

Documentation

Guides and examples for your MyPay integration.

Explore an example

Illustrative examples

Browse sample requests and responses.

JSON
POST {SERVICE_URL}/api/webhooks/transaction
JSON
{
  "subsystemId": "YOUR_SUBSYSTEM_ID",
  "amount": "10.50",
  "currency": "EUR",
  "merchantOrderId": "ORDER-123456",
  "successUrl": "https://yoursite.com/success",
  "cancelUrl": "https://yoursite.com/cancel",
  "webhookUrl": "https://yoursite.com/webhook"
}

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

Create a payment from your server, send the shopper to the MyPay checkout page and receive the signed result on your webhook.

Quick start

Base URL

The base URL is configured per environment. In the WooCommerce and OpenCart plugins it is the Service URL setting. The checkout service also uses SERVICE_DOMAIN to build redirect URLs.

Use the following format when calling the service:

HTTPS
{SERVICE_URL}/api

Prerequisites

MyPay issues you three values. All three are shown once, at the moment they are issued, and are never readable again — copy them then.

ValueLooks likeUsed for
Checkout API keympc_…Creating payments. This is the key that lives in your shop plugin.
Full access API keympf_…Creating payments, and refunds and cancellations. Optional — issued on request.
Webhook signing secretwhsec_…Verifying that a webhook really came from MyPay.

You also need your subsystem ID, and a webhook URL on your server that can receive payment results.

Authentication

Every /webhooks endpoint requires two things:

  1. Your API key as a Bearer token.
  2. Your subsystem ID in the request body.
HTTP
POST /api/webhooks/transaction
Content-Type: application/json
Authorization: Bearer mpc_YOUR_CHECKOUT_KEY
JSON
{ "subsystemId": "YOUR_SUBSYSTEM_ID", "...": "..." }

A request without a key gets 401. A request without subsystemId gets 400. This applies to refund and cancel too, even though they carry no other body fields.

Webhooks we send you are not authenticated with your API key. They are signed — see Webhook. Nothing MyPay sends you ever contains your key, and you should never accept a webhook on the basis of a bearer token.

API keys and what they can do

There are two roles, and the key tells you which one it is by its prefix:

PrefixRolePOST /transactionPOST /refund/…POST /cancel/…
mpc_Checkout 403 403
mpf_Full access

The refusal is:

JSON
{ "success": false, "message": "This API key is not permitted to perform this action." }

Use the checkout key everywhere you can. It is the key that ends up in a plugin's settings, in a .env file, in version control, and in the hands of every developer the shop has ever hired. A leaked checkout key lets someone create payments; a leaked full access key lets them send your money back out.

You can tell a key's role without calling us. The role is part of the key and is covered by the hash we store, so mpf_… can never resolve as a checkout key or the reverse. Read the prefix — that is exactly what our own plugins do to decide whether to offer a refund button.

Both keys can be rotated from your MyPay account. After a rotation the previous key keeps working for 7 days, so you can update your servers without downtime. A webhook secret's grace period is 24 hours.

API endpoints

1. Create transaction

POST/webhooks/transaction

Key required: checkout or full access

Initialize a new payment transaction.

JSON
{
  "subsystemId": "YOUR_SUBSYSTEM_ID",
  "amount": "10.50",
  "currency": "EUR",
  "successUrl": "https://yoursite.com/success",
  "cancelUrl": "https://yoursite.com/cancel",
  "merchantOrderId": "ORDER-123456",
  "customerEmail": "customer@example.com",
  "webhookUrl": "https://yoursite.com/webhook",
  "orderItems": [
    { "name": "Product Name", "quantity": 1, "price": 10.50 }
  ]
}

Replace example values and credentials before use.

Response:

JSON
{ "success": true, "redirectUrl": "https://{SERVICE_DOMAIN}?transactionId=abc123" }

merchantOrderId identifies the payment: sending the same one twice returns the existing payment rather than creating a second one, so a retried request is safe.

That only holds while the price agrees. If a payment already exists for that order number with a different amount or currency, the request is refused:

JSON
{ "success": false, "message": "Order 'ORDER-123456' already has a payment for a different amount." }

Read that as: something already opened a payment for this order at another price. Investigate it — do not retry with a new order number.

2. Cancel transaction

POST/webhooks/cancel/{merchantOrderId}

Key required: full access (mpf_)

Void a paid transaction and return the full amount immediately.

JSON
{ "subsystemId": "YOUR_SUBSYSTEM_ID" }

Replace example values and credentials before use.

Response:

JSON
{ "success": true, "message": "Transaction cancelled successfully" }

Not every provider supports this. Terminals on the Karditsa provider have no usable reversal, and the call is refused before it reaches the bank:

JSON
{ "success": false, "message": "The underlying virtual terminal provider does not support cancelling transactions. Refund the payment instead." }

Refunds are unaffected. If you are integrating against such a terminal, do not build a cancel path — build a full refund.

3. Refund transaction

POST/webhooks/refund/{merchantOrderId}

Key required: full access (mpf_)

Full or partial refund of a transaction in status PAID or PARTIALLY_REFUNDED.

JSON
{
  "subsystemId": "YOUR_SUBSYSTEM_ID",
  "amount": "5.25",
  "description": "Damaged item"
}

Replace example values and credentials before use.

Validation rules:

  • amount must be a positive number; omit it for a full refund
  • amount cannot exceed the remaining refundable balance
  • description is optional, 25 characters maximum

Response:

JSON
{ "success": true, "message": "Refund processed successfully" }

Concurrent refunds on the same order are serialised, so two partial refunds cannot both pass the remaining-balance check.

Webhook

When a payment finishes, MyPay posts the result to your webhookUrl.

Headers

HTTP
Content-Type: application/json
Mypay-Signature: t=1757600000,v1=5257a869e7...

There is no Authorization header. The signature is the proof.

Payload

JSON
{
  "event_id": "evt_9f2c41a8b3d04e7f8a1b2c3d4e5f6071",
  "type": "payment.succeeded",
  "created_at": 1757600000,
  "data": {
    "merchantOrderId": "ORDER-123456",
    "transactionId": "a3f91b2c-...",
    "amount": "10.50",
    "currency": "EUR",
    "status": "success"
  }
}
FieldNotes
event_idUnique per event and identical across retries. Store it and ignore an event you have already handled.
typepayment.succeeded or payment.failed. Treat any unknown type as "ignore", not "fail".
data.statussuccess or failure. Anything that is not exactly success means no money was taken.
data.amountA string, always. Compare in cents — "500" and "500.00" are the same amount.

Verifying the signature

The header is t=<unix seconds>,v1=<hex>. Compute HMAC-SHA256(webhook_secret, "<t>.<raw body>") and compare it to v1.

Four rules, each of which matters:

  1. Sign the raw bytes you received. Re-serialising the JSON produces different bytes and the signature will not match.
  2. Reject anything older than about 5 minutes. t is inside the signed string, so it cannot be edited — which is the only reason this check stops a captured webhook being replayed tomorrow.
  3. Accept any matching v1. During a secret rotation the header carries two of them, one per secret, so a half-updated fleet keeps working.
  4. Compare in constant time.
JavaScript
const crypto = require('node:crypto');

function verify(header, rawBody, secret, toleranceSeconds = 300) {
  const parts = Object.create(null);
  const signatures = [];
  for (const part of String(header).split(',')) {
    const [k, v] = part.trim().split('=', 2);
    if (k === 't') parts.t = v;
    else if (k === 'v1') signatures.push(v);
  }
  if (!parts.t || !/^\d+$/.test(parts.t) || signatures.length === 0) return false;
  if (Math.abs(Math.floor(Date.now() / 1000) - Number(parts.t)) > toleranceSeconds) return false;

  const expected = crypto.createHmac('sha256', secret).update(`${parts.t}.${rawBody}`).digest('hex');
  return signatures.some(
    (s) => s.length === expected.length && crypto.timingSafeEqual(Buffer.from(s), Buffer.from(expected)),
  );
}

A PHP reference implementation lives in both shop plugins: Mypay\Client::verifySignature() in the OpenCart plugin, DC_Mypay_Webhook::verify() in the WooCommerce one.

Retries

If your endpoint does not answer 2xx, MyPay retries after 10s, 60s, 5min and 15min — five attempts over about twenty minutes. Every attempt carries the same event_id and a fresh t, so the signature differs each time and must be verified each time.

Answer 200 as soon as you have stored the event. Do the slow work afterwards; a handler that ships the order before replying will be retried, and will ship it twice.

Checking the amount

MyPay cannot do this for you. We know what the payment was created for, not what the order is worth — only your shop holds that. Before marking an order paid, confirm that data.amount and data.currency match the order. A payment opened for one cent against a five hundred euro order looks perfectly consistent to us.

Examples

All MyPay API calls must be made from your backend server, never from the frontend. The frontend never sees an API key.

Frontend — pay button

JavaScript
document.getElementById('payNow').onclick = async () => {
  const response = await fetch('/create-payment', {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({ orderId: 'ORDER-789' })
  });

  const { redirectUrl } = await response.json();
  window.location.href = redirectUrl; // Redirect to MyPay checkout
};

Backend — payment creation

JavaScript
app.post('/create-payment', async (req, res) => {
  const { orderId } = req.body;

  // Get order details from your database — never from the browser.
  const order = await getOrderFromDatabase(orderId);

  const response = await fetch(`${SERVICE_URL}/api/webhooks/transaction`, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      // The checkout key. This server does not need to be able to refund.
      'Authorization': `Bearer ${process.env.MYPAY_CHECKOUT_KEY}`
    },
    body: JSON.stringify({
      subsystemId: process.env.MYPAY_SUBSYSTEM_ID,
      amount: order.totalAmount,
      currency: 'EUR',
      merchantOrderId: orderId,
      successUrl: 'https://yoursite.com/success',
      cancelUrl: 'https://yoursite.com/cancel',
      webhookUrl: 'https://yoursite.com/webhook',
      customerEmail: order.customerEmail,
      orderItems: order.items
    })
  });

  const result = await response.json();
  if (response.ok && result.success) {
    res.json({ redirectUrl: result.redirectUrl });
  } else {
    // result.message says why. A 409 means this order number already has a
    // payment for a different amount — look into it, do not retry.
    res.status(400).json({ error: result.message });
  }
});

Replace example values and credentials before use.

Backend — webhook handler

JavaScript
// The raw body is required: verification is over bytes, not over parsed JSON.
app.post('/webhook', express.raw({ type: 'application/json' }), async (req, res) => {
  const raw = req.body.toString('utf8');

  if (!verify(req.headers['mypay-signature'], raw, process.env.MYPAY_WEBHOOK_SECRET)) {
    return res.sendStatus(401);
  }

  const event = JSON.parse(raw);

  if (await alreadyHandled(event.event_id)) return res.sendStatus(200);

  if (event.type === 'payment.succeeded') {
    const order = await getOrderFromDatabase(event.data.merchantOrderId);

    // Only your shop can make this check.
    const sameAmount =
      Math.round(Number(event.data.amount) * 100) === Math.round(order.totalAmount * 100) &&
      event.data.currency === order.currency;

    if (sameAmount) await markPaid(order.id);
  }

  await recordHandled(event.event_id);
  res.sendStatus(200); // Fulfil afterwards, not before answering.
});

Backend — refund

Needs a full access key. If all you hold is a checkout key, refund from your MyPay account instead — the call below will be refused with 403.

JavaScript
app.post('/refund-transaction', async (req, res) => {
  const { orderId, amount, description } = req.body;

  const response = await fetch(`${SERVICE_URL}/api/webhooks/refund/${orderId}`, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      'Authorization': `Bearer ${process.env.MYPAY_FULL_ACCESS_KEY}`
    },
    body: JSON.stringify({
      subsystemId: process.env.MYPAY_SUBSYSTEM_ID,
      amount,       // omit for a full refund
      description   // optional, 25 characters
    })
  });

  const result = await response.json();
  if (response.ok && result.success) {
    await updateOrderStatus(orderId, 'REFUNDED');
    res.json({ message: 'Refund processed successfully' });
  } else {
    res.status(400).json({ error: result.message || 'Refund failed' });
  }
});

Replace example values and credentials before use.

Shop plugins

The MyPay plugins for WooCommerce and OpenCart do all of the above for you. Two things worth knowing:

  • They read the key's role from its prefix and adapt. With a mpf_ key the order page refunds through MyPay. With a mpc_ key it does not call us at all: the refund is recorded against the order in your shop, the plugin says so plainly, and you return the money from your MyPay account. No failed call, no error, no order that claims a refund which never happened.
  • They verify the webhook signature, and ignore anything that does not verify. If you never paste a webhook secret into the plugin settings, no order will ever be marked paid.

Last updated: September 2026

Next: before you go live

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.

Using MyPay Checkout? Its webhook has its own payload and signature. Read the checkout webhook guide

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