Swipelux

Update business customer

Update an existing business customer's KYB information

Partial Updates: All fields are optional - only provided fields will be updated. Omitted fields remain unchanged.

Overview

The PUT /v1/customers/business/{id} endpoint updates an existing business customer's information. This endpoint:

  • Accepts partial updates (only send fields you want to change)
  • Returns the complete updated business customer object
  • Validates that the customer exists and is a business type

HTTP Request

PUT /v1/customers/business/{id}

Path Parameters

ParameterTypeDescription
idstringRequired. The customer ID (starts with cus_)

Request Body

All fields are optional. Only include the fields you want to update.

Personal Information

FieldTypeDescription
firstNamestringFirst name of the business representative
middleNamestring | nullMiddle name of the business representative
lastNamestringLast name of the business representative
birthDatestringBirth date (YYYY-MM-DD format)
emailstringEmail address
phonestring | nullPhone number

Identity Section

FieldTypeDescription
jurisdictionstringCountry of jurisdiction (min 2 chars)
entityTypestringType of business entity
entityTypeDescriptionstring | nullCustom entity type description
entityNamestringLegal entity name
tradeNamestring | nullBusiness trade name / DBA
registrationNumberstring | nullBusiness registration number
incorporationDatestring | nullDate of incorporation (YYYY-MM-DD)
taxNumberstring | nullTax identification number

Details Section

FieldTypeDescription
businessDescriptionstringDescription of business activities (min 10 chars)
businessTypestringType or category of business
businessTypeDescriptionstring | nullCustom business type description
websitesstring[] | nullArray of business website URLs
phoneNumberstring | nullBusiness phone number

Address Section

FieldTypeDescription
addressCountrystringCountry (min 2 chars)
streetAddressstringStreet address
addressLine2string | nullAdditional address line
citystringCity
statestring | nullState or province
zipstringZIP or postal code

Financial Information

FieldTypeDescription
sourceOfFundsstringPrimary source of funds
sourceOfFundDescriptionstring | nullCustom source description
expectedMonthlyVolumeUsdnumberExpected monthly volume in USD
purposeOfFundsstringPurpose for using funds
purposeOfFundsDescriptionstring | nullCustom purpose description
flowOfFundsDescriptionstringHow funds flow through business (min 10 chars)

Compliance

FieldTypeDescription
sanctionedCountryOperationsbooleanOperates in sanctioned countries
highRiskActivitiesstring[]Array of high-risk activities

Example Request

Response

Success Response (200 OK)

Returns the complete updated business customer object:

{
  "id": "cus_abc123xyz789",
  "firstName": "John",
  "lastName": "Smith",
  "birthDate": "1975-03-15",
  "email": "john@acmecorp.com",
  "phone": "+14155556789",
  "jurisdiction": "US",
  "entityType": "LLC",
  "entityName": "Acme Corporation Inc",
  "tradeName": "Acme Global",
  "registrationNumber": "LLC-2015-123456",
  "taxNumber": "98-7654321",
  "businessDescription": "Software development and consulting services",
  "businessType": "Technology",
  "websites": ["https://acmeglobal.com", "https://acmecorp.io"],
  "phoneNumber": "+14155550100",
  "addressCountry": "US",
  "streetAddress": "123 Market Street",
  "addressLine2": "Suite 500",
  "city": "San Francisco",
  "state": "CA",
  "zip": "94105",
  "sourceOfFunds": "Business Revenue",
  "expectedMonthlyVolumeUsd": 75000,
  "purposeOfFunds": "Business Operations",
  "flowOfFundsDescription": "Client payments via bank transfer for operations",
  "sanctionedCountryOperations": false,
  "highRiskActivities": [],
  "documents": [...],
  "shareholders": [...],
  "createdAt": "2025-01-15T10:30:00.000Z",
  "updatedAt": "2025-01-20T14:45:00.000Z"
}

Error Responses

404 Not Found

Customer does not exist:

{
  "message": "Customer not found"
}

400 Bad Request

Customer exists but is not a business type:

{
  "message": "Customer is not a business type"
}

401 Unauthorized

Missing or invalid API key:

{
  "message": "Unauthorized"
}

422 Validation Error

Invalid field values:

{
  "message": "Validation error: businessDescription must be at least 10 characters"
}

Use Cases

ScenarioExample Fields to Update
Business name changeentityName, tradeName
Address updatestreetAddress, city, state, zip
Volume increaseexpectedMonthlyVolumeUsd
Website changeswebsites
Contact updateemail, phone, phoneNumber
Compliance updatesanctionedCountryOperations, highRiskActivities

Important Notes

  • This endpoint only updates basic business customer fields
  • To update documents or shareholders, use the dedicated document and shareholder endpoints
  • The id in the response is always the customer ID (cus_xxx)
  • All date fields should use ISO 8601 format (YYYY-MM-DD)