Delete customer by ID
Changed onDelete a customer by their system-generated ID
Request
- Base URLhttps://api.lightspark.com/grid/2025-10-13
- URLhttps://api.lightspark.com/grid/2025-10-13/customers/{customerId}
- AuthHTTP basic
Response
Customer deleted successfully
Example response
{
"id": "Customer:019542f5-b3e7-1d02-0000-000000000001",
"platformCustomerId": "9f84e0c2a72c4fa",
"customerType": "INDIVIDUAL",
"endUserTermsConsent": {
"ipAddress": "198.51.100.24",
"termsVersion": "V1",
"acceptanceMethod": "CHECKBOX"
},
"agreementConsents": [
{
"type": "LIGHTSPARK_END_USER_TERMS",
"ipAddress": "198.51.100.24",
"termsVersion": "2025-10-13",
"acceptanceMethod": "CHECKBOX"
}
],
"region": "US",
"currencies": [
"USD",
"USDC"
],
"email": "john.doe@example.com",
"phoneNumber": "+14155551234",
"umaAddress": "$john.doe@uma.domain.com",
"createdAt": "2025-07-21T17:32:28Z",
"updatedAt": "2025-07-21T17:32:28Z",
"contactVerification": {
"email": "VERIFIED",
"phone": "VERIFIED"
},
"kycStatus": "APPROVED",
"fullName": "John Michael Doe",
"birthDate": "1990-01-15",
"nationality": "US",
"address": {
"line1": "123 Main Street",
"line2": "Apt 4B",
"city": "San Francisco",
"state": "CA",
"postalCode": "94105",
"country": "US"
},
"idType": "SSN",
"identifier": "123-45-6789",
"countryOfIssuance": "US",
"sourceOfFundsCategories": [
"SALARY"
],
"sourceOfFundsOtherDescription": "Contest winnings",
"sourceOfWealthCategories": [
"SALARY",
"INVESTMENTS"
],
"sourceOfWealthOtherDescription": "Royalty income from published works",
"purposeOfAccount": "CONTRACTOR_PAYOUTS",
"purposeOfAccountOtherDescription": "Household budgeting between spouses",
"expectedMonthlyTransactionCount": "COUNT_100_TO_500",
"expectedMonthlyTransactionVolume": "VOLUME_100K_TO_1M",
"annualIncomeRange": "RANGE_100K_250K",
"netWorthRange": "RANGE_500K_1M",
"pepStatus": "NONE"
}Changes
- breaking
the
////response's property type changed fromobjectto no type for status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
/////from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
added the new
ACCOUNT_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
AUTH_METHOD_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
CHARITYenum value to the//////response property for the response status - warning
added the new
CHARITYenum value to the///response property for the response status - warning
added the new
CUSTOMER_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
DOCUMENT_HOLDER_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
HOLDenum value to the/////response property for the response status - warning
added the new
HOLDenum value to the////response property for the response status - warning
added the new
NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
PAYMENT_DOCUMENT_EXPIREDenum value to theresponse property for the response status - warning
added the new
PAYMENT_DOCUMENT_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
PAYMENT_URL_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
PLATFORM_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
PRIVATE_FOUNDATIONenum value to the//////response property for the response status - warning
added the new
PRIVATE_FOUNDATIONenum value to the///response property for the response status - warning
added the new
PUBLICLY_LISTED_COMPANYenum value to the//////response property for the response status - warning
added the new
PUBLICLY_LISTED_COMPANYenum value to the///response property for the response status - warning
added the new
REQUEST_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
SESSION_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
STABLECOIN_EXTERNAL_ACCOUNT_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
STABLECOIN_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
STABLECOIN_OPERATION_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
STABLECOIN_PROVIDER_ACCOUNT_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
TRUSTenum value to the//////response property for the response status - warning
added the new
TRUSTenum value to the///response property for the response status - warning
added the new
VERIFICATION_NOT_FOUNDenum value to theresponse property for the response status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
the response optional property
/////became not read-only for the status - info
the response optional property
/////became not read-only for the status - info
the response optional property
/////became not read-only for the status - info
the response optional property
/////became not read-only for the status - info
the response optional property
/////became not read-only for the status - info
the response optional property
/////became not read-only for the status - info
the response optional property
/////became not read-only for the status - info
the response optional property
/////became not read-only for the status - info
added
subschema #1to the////response propertyallOflist for the response status - info
added the required property
/////to the response with the status - info
added the required property
/////to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- warning
added the new
REQUEST_ID_MISSINGenum value to theresponse property for the response status - warning
added the new
UMA_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
WALLET_SIGNATURE_BODY_MISMATCHenum value to theresponse property for the response status - warning
added the new
WALLET_SIGNATURE_INVALIDenum value to theresponse property for the response status - warning
added the new
WALLET_SIGNATURE_MALFORMEDenum value to theresponse property for the response status - warning
added the new
WALLET_SIGNATURE_MISSINGenum value to theresponse property for the response status
- warning