curl -X POST 'https://api.karmapay.xyz/v0/end-users/user_123/submit-kyc' \
-H 'Authorization: Bearer karma_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
-H 'Content-Type: application/json' \
-d '{
"type": "individual",
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]",
"residential_address": {
"street_line_1": "123 Main St",
"city": "San Francisco",
"subdivision": "CA",
"postal_code": "94102",
"country": "USA"
},
"birth_date": "1990-01-15",
"signed_agreement_id": "agmt_xxx",
"identifying_information": [
{
"type": "ssn",
"issuing_country": "usa",
"number": "123-45-6789"
},
{
"type": "drivers_license",
"issuing_country": "usa",
"number": "D1234567",
"image_front": "data:image/png;base64,...",
"image_back": "data:image/png;base64,..."
}
]
}'