GET
/
customer
/
get
curl --request GET \
  --url https://demo.onlinebillingform.com/api/v1/customer/get \
  --header 'token: <token>'
{
  "success": true,
  "user": {
    "id": 101,
    "name": "Test API",
    "username": "test@baseserv.com",
    "email": "test@baseserv.com",
    "account_type": 2,
    "created_at": "2021-04-09T20:44:29.000000Z",
    "updated_at": "2021-04-09T20:46:45.000000Z",
    "deleted_at": null,
    "default_contact": null,
    "mailing_contact": {
      "contact_name": "",
      "business_name": "",
      "phone": "03302207048",
      "fax": "",
      "email": "test@baseserv.com",
      "website": "",
      "address_1": "Test Line One",
      "address_2": "Test Line Two",
      "address_3": "",
      "address_4": "",
      "city": "Test City",
      "county_id": 1,
      "postal_code": "Test",
      "country_id": 1
    },
    "admin_contact": null,
    "tech_contact": null
  }
}

Headers

token
string
required
Examples:

"sk_XpgMmyMBc50C4sHZkzS3"

Query Parameters

id
integer
required
Examples:

101

Response

default - application/json

The response is of type object.

GET
/
customer
/
get
curl --request GET \
  --url https://demo.onlinebillingform.com/api/v1/customer/get \
  --header 'token: <token>'
{
  "success": true,
  "user": {
    "id": 101,
    "name": "Test API",
    "username": "test@baseserv.com",
    "email": "test@baseserv.com",
    "account_type": 2,
    "created_at": "2021-04-09T20:44:29.000000Z",
    "updated_at": "2021-04-09T20:46:45.000000Z",
    "deleted_at": null,
    "default_contact": null,
    "mailing_contact": {
      "contact_name": "",
      "business_name": "",
      "phone": "03302207048",
      "fax": "",
      "email": "test@baseserv.com",
      "website": "",
      "address_1": "Test Line One",
      "address_2": "Test Line Two",
      "address_3": "",
      "address_4": "",
      "city": "Test City",
      "county_id": 1,
      "postal_code": "Test",
      "country_id": 1
    },
    "admin_contact": null,
    "tech_contact": null
  }
}

Headers

token
string
required
Examples:

"sk_XpgMmyMBc50C4sHZkzS3"

Query Parameters

id
integer
required
Examples:

101

Response

default - application/json

The response is of type object.