MDRUGB

Customer Object - API

API reference / customers / Customer Object

Object Customer

PARAMETER TYPE DESCRIPTION
id integer Internal payer ID in your accounting system. In the current version of the API, it is ignored.
company string Name of the payer's company (blank if the payer is an individual).
idno string Fiscal code of the payer of a legal entity (empty if the payer is an individual).
idnp string Fiscal code of the payer of an individual (empty if the payer is a legal entity).
first_name string Payer's contact name.
last_name string Surname of the contact person of the payer.
address_1 string Payer's main address (street, house, etc.).
address_2 string Additional address of the payer (entrance, floor, office/apartment).
city string City/Town
postcode string Postcode
country string Two-letter country code, according to ISO 3166-1
email string Payer's email address. Required parameter. An invoice will be sent to this address.
phone string Payer's contact number.

Example of the Payer object:

  "customer": {
    "id": 1234,
    "idno": "675546554343",
    "idnp": "",
    "company": "MyCompany",
    "first_name": "John",
    "last_name": "Smith",
    "address_1": "Stefan cel Mare 180",
    "address_2": "Floor 3",
    "city": "Chisinau",
    "postcode": "MD2001",
    "country": "MD",
    "email": "john.smith@gmail.com",
    "phone": "+37379123456"
  }
Changed: 08.04.2023 03:13