Skip to main content

Starting a payment

To initiate a new payment, you will begin from the start end-point. With the help of this end-point you will send full details of a single transaction to NETOPIA Payments' server.

Based on the start end-point response you might need to continue the 3DSecure authentication process with authorize.

Start payment endpoint

Live/production mode

https://to.be.filled

Sandbox/test mode

https://secure.sandbox.netopia-payments.com/payment/card/start

Start payment request structure

{
"config": {
"emailTemplate": "string",
"notifyUrl": "string",
"redirectUrl": "string",
"language": "string"
},
"payment": {
"options": {
"installments": int,
"bonus": int
},
"instrument": {
"type": "string",
"account": "string",
"expMonth": int,
"expYear": int,
"secretCode": "string",
"token": "string"
},
"data": {
"BROWSER_USER_AGENT": "string",
"OS": "string",
"OS_VERSION": "string",
"MOBILE": "string",
"SCREEN_POINT": "string",
"SCREEN_PRINT": "string",
"BROWSER_COLOR_DEPTH": "string",
"BROWSER_SCREEN_HEIGHT": "string",
"BROWSER_SCREEN_WIDTH": "string",
"BROWSER_PLUGINS": "string",
"BROWSER_JAVA_ENABLED": "string",
"BROWSER_LANGUAGE": "string",
"BROWSER_TZ": "string",
"BROWSER_TZ_OFFSET": "string",
"IP_ADDRESS": "string"
}
},
"order": {
"ntpID": "string",
"posSignature": "string",
"dateTime": "string",
"description": "string",
"orderID": "string",
"amount": float,
"currency": "string",
"billing": {
"email": "string",
"phone": "string",
"firstName": "string",
"lastName": "string",
"city": "string",
"country": int,
"state": "string",
"postalCode": "string",
"details": "string"
},
"shipping": {
"email": "string",
"phone": "string",
"firstName": "string",
"lastName": "string",
"city": "string",
"country": int,
"state": "string",
"postalCode": "string",
"details": "string"
},
"products": [
{
"name": "string",
"code": "string",
"category": "string",
"price": int,
"vat": int
}
],
"installments": {
"selected": 0,
"available": [
0
]
},
"data": {
"property1": "string",
"property2": "string"
}
}
}

Query parameters

The start end-point has three main sections: config, payment and order.

Below you may find details on each of them:

  • config : The general configuration

    VariableTypeDescriptionRequiredBelong to
    emailTemplatestringThe template name of email notificationYesOperator
    notifyUrlstringThe Merchant Notify URLYesMerchant
    redirectUrlstringThe call back URLYesMerchant
    languagestringThe LangugeYesMerchant
  • payment :

    • options :

      VariableTypeDescriptionRequiredBelong to
      installmentsinteger---YesOperator
      bonusinteger---NoOperator
    • instrument: instrument of payment

      VariableTypeDescriptionRequiredBelong to
      typestringMethod of payment ex. CardYesClient
      accountstringCard numberYesClient
      expMonthintegerCard expire monthYesClient
      expYearintegerCard expire yearYesClient
      secretCodestringCard CCV2 numberYesClient
      tokenstringThe Payment tokenNoOperator
    • data : The general information of the device used for make online payment

      VariableTypeDescriptionRequiredBelong to
      BROWSER_USER_AGENTstring---NoClient
      OSstring---NoClient
      OS_VERSIONstring---NoClient
      MOBILEstring---NoClient
      SCREEN_POINTstring---NoClient
      SCREEN_PRINTstring---NoClient
      BROWSER_COLOR_DEPTHstring---NoClient
      BROWSER_SCREEN_HEIGHTstring---NoClient
      BROWSER_SCREEN_WIDTHstring---NoClient
      BROWSER_PLUGINSstring---NoClient
      BROWSER_JAVA_ENABLEDstring---NoClient
      BROWSER_LANGUAGEstring---NoClient
      BROWSER_TZstring---NoClient
      BROWSER_TZ_OFFSETstring---NoClient
      IP_ADDRESSstring---NoClient
  • order: Order details

    VariableTypeDescriptionRequiredBelong to
    ntpIDstringThe ntpID in an unique code per transaction generated by NETOPIA Payments. Set it as Empty string for start requestNoOperator
    posSignaturestringSignature IDYesMerchant
    dateTimestringOrder date-timeYesMerchant
    descriptionstringOrder descriptionYesMerchant
    orderIDstringOrder unique IDYesMerchant
    amountfloatThe total payment amountYesMerchant
    currencystringThe currency codeYesMerchant
    • billing: The shipping data

      VariableTypeDescriptionRequiredBelong to
      emailstringgoods bill reciver email addressYesClient
      phonestringgoods bill reciver phone numberYesClient
      firstNamestringgoods bill reciver nameYesClient
      lastNamestringgoods bill reciver last nameYesClient
      citystringThe shipping cityYesClient
      countryintegerThe country codeYesClient
      statestringThe state of countryYesClient
      postalCodestringZip codeYesClient
      detailsstringExtera data / comment for billingYesClient
    • shipping: The shipping data

      VariableTypeDescriptionRequiredBelong to
      emailstringgoods reciver email addressYesClient
      phonestringgoods reciver phone numberYesClient
      firstNamestringgoods reciver nameYesClient
      lastNamestringgoods reciver last nameYesClient
      citystringThe shipping cityYesClient
      countryintegerThe country codeYesClient
      statestringThe state of countryYesClient
      postalCodestringZip codeYesClient
      detailsstringExtera data / comment for shippingYesClient
    • products: An array of products in cart

      VariableTypeDescriptionRequiredBelong to
      name:stringThe product nameNoMerchant
      code:stringThe product unique codeNoMerchant
      categorystringThe product category nameNoMerchant
      pricestringThe product priceNoMerchant
      vatstringThe product VATNoMerchant
    • installments :

      VariableTypeDescriptionRequiredBelong to
      selectedstring---YesOperator
      availablestring---YesOperator
    • data: A set of extera data if you need

      VariableTypeDescriptionRequiredBelong to
      property1stringExtera data to sendNoMerchant
      property2stringExtera data to sendNoMerchant