curl --request DELETE \
--url https://api.lightspark.com/grid/2025-10-13/customers/{customerId} \
--header 'Authorization: Basic <encoded-value>'{
"platformCustomerId": "9f84e0c2a72c4fa",
"customerType": "INDIVIDUAL",
"umaAddress": "$john.doe@uma.domain.com",
"id": "Customer:019542f5-b3e7-1d02-0000-000000000001",
"kycStatus": "APPROVED",
"createdAt": "2025-07-21T17:32:28Z",
"updatedAt": "2025-07-21T17:32:28Z",
"isDeleted": false,
"fullName": "John Michael Doe",
"birthDate": "1990-01-15",
"nationality": "US",
"address": {
"line1": "123 Main Street",
"postalCode": "94105",
"country": "US",
"line2": "Apt 4B",
"city": "San Francisco",
"state": "CA"
}
}Delete a customer by their system-generated ID
curl --request DELETE \
--url https://api.lightspark.com/grid/2025-10-13/customers/{customerId} \
--header 'Authorization: Basic <encoded-value>'{
"platformCustomerId": "9f84e0c2a72c4fa",
"customerType": "INDIVIDUAL",
"umaAddress": "$john.doe@uma.domain.com",
"id": "Customer:019542f5-b3e7-1d02-0000-000000000001",
"kycStatus": "APPROVED",
"createdAt": "2025-07-21T17:32:28Z",
"updatedAt": "2025-07-21T17:32:28Z",
"isDeleted": false,
"fullName": "John Michael Doe",
"birthDate": "1990-01-15",
"nationality": "US",
"address": {
"line1": "123 Main Street",
"postalCode": "94105",
"country": "US",
"line2": "Apt 4B",
"city": "San Francisco",
"state": "CA"
}
}API token authentication using format <api token id>:<api client secret>
System-generated unique customer identifier
Customer deleted successfully
Platform-specific customer identifier
"9f84e0c2a72c4fa"
Whether the customer is an individual or a business entity
INDIVIDUAL "INDIVIDUAL"
Full UMA address (always present in responses, even if system-generated). This is an optional identifier to route payments to the customer.
"$john.doe@uma.domain.com"
System-generated unique identifier
"Customer:019542f5-b3e7-1d02-0000-000000000001"
The current KYC status of a customer
APPROVED, REJECTED, PENDING_REVIEW, EXPIRED, CANCELED, MANUALLY_APPROVED, MANUALLY_REJECTED "APPROVED"
Creation timestamp
"2025-07-21T17:32:28Z"
Last update timestamp
"2025-07-21T17:32:28Z"
Whether the customer is marked as deleted
false
Individual's full name
"John Michael Doe"
Date of birth in ISO 8601 format (YYYY-MM-DD)
"1990-01-15"
Country code (ISO 3166-1 alpha-2)
"US"
Show child attributes
Was this page helpful?