Dnsimple.Contacts.create_contact

You're seeing just the function create_contact, go back to Dnsimple.Contacts module for more information.
Link to this function

create_contact(client, account_id, attributes, options \\ [])

Specs

create_contact(
  Dnsimple.Client.t(),
  String.t() | integer(),
  Keyword.t(),
  Keyword.t()
) :: {:ok | :error, Dnsimple.Response.t()}

Creates a contact in an account.

See:

Examples:

client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Contacts.create_contact(client, account_id = "1010", %{
  first_name: "John",
  last_name: "Doe",
  address1: "Italian street, 10",
  city: "Roma",
  state_province: "RM",
  postal_code: "00100",
  country: "IT",
  email: "john.doe@email.com",
  phone: "+18001234567",
  fax: "+18011234567",
})