Neofin V1
english
  • latest
  • english
  1. Upserting a customer
Neofin V1
english
  • latest
  • english
  • Start your Neofin journey
  • Setup your environment
  • NeofinV1
    • Billing API
      • Upsert a billing
        • How to upsert a billing
        • Upsert a billing
          POST
      • Retrieve a billing
        • How to retrieve a single billing
        • Get billing by Integration Identifier
          GET
        • Get billing by Billing Number
          GET
      • Mark a billing as paid
        • How to mark a billing as paid
        • Mark a billing as paid
          PUT
      • Cancel a billing
        • How to cancel a billing
        • Cancel a billing
          PUT
      • Listing billings
        • How to list your billings
        • Billing by status
          GET
        • Billing by customer
          GET
        • Billing updated date
          GET
        • Billing Events
          GET
        • Billing Events by Integration Identifier
          GET
      • Upload attachments
        • How to upload attachments
        • Upload a Billing NF by Integration Identifier
          PUT
        • Upload a Billing Boleto by Integration Identifier
          PUT
    • Customer API
      • Upserting a customer
        • How to upsert a customer
        • Upsert a customer
          POST
      • Retrieve a customer
        • Get a customer by Integration Identifier
          GET
        • Get a customer by their document
          GET
    • Webhooks
      • How to setup your webhooks
  1. Upserting a customer

Upsert a customer

Sandbox
https://api.sandbox.neofin.services
Sandbox
https://api.sandbox.neofin.services
POST
https://api.sandbox.neofin.services
/customer/
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.sandbox.neofin.services/customer/' \
--header 'api-key;' \
--header 'secret-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "customers": [
        {
            "address_city": "Anápolis",
            "address_complement": "ALALA QUADRA13",
            "address_neighborhood": "DAIA",
            "address_number": "SN",
            "address_state": "GO",
            "address_street": "Rua teste",
            "address_zip_code": null,
            "document": "30234820000109",
            "mail": "empresa@embalagens.com.br",
            "name": "Nome do meu cliente",
            "phone": "(33) 3333-3333",
            "secondary_phone": "",
            "integration_identifier": "33322111aaabbccc",
            "pause_notifications": false,
            "recipients": [
                "empresa-1@embalagens.com.br",
                "empresa-2@embalagens.com.br"
            ]
        }
    ]
}'
Response Response Example
200 - Example 1
{}

Request

Header Params
api-key
string 
required
Your Neofin API Key
secret-key
string 
required
Your Neofin Secret Key
Body Params application/json
customers
array [object {15}] 
required
address_city
string 
optional
address_complement
string 
optional
address_neighborhood
string 
optional
address_number
string 
optional
address_state
string 
optional
address_street
string 
optional
address_zip_code
null 
optional
document
string 
optional
mail
string 
optional
name
string 
optional
phone
string 
optional
secondary_phone
string 
optional
integration_identifier
string 
optional
pause_notifications
boolean 
optional
recipients
array[string]
optional
Examples

Responses

🟢200Success
application/json
Body
object {0}
🟠403Invalid API Keys
Previous
How to upsert a customer
Next
Get a customer by Integration Identifier
Built with