curl -X PUT 'https://api.karmapay.xyz/v0/end-users/user_123' \
-H 'Authorization: Bearer karma_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
-H 'Content-Type: application/json' \
-d '{
"email": "[email protected]"
}'
{
"data": {
"id": "770e8400-e29b-41d4-a716-446655440000",
"externalUserId": "user_123",
"email": "[email protected]",
"applicantId": "abc123xyz789",
"bridgeCustomerId": "cus_abc123",
"createdAt": "2025-10-31T12:00:00Z"
}
}
Update end-user information
curl -X PUT 'https://api.karmapay.xyz/v0/end-users/user_123' \
-H 'Authorization: Bearer karma_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
-H 'Content-Type: application/json' \
-d '{
"email": "[email protected]"
}'
{
"data": {
"id": "770e8400-e29b-41d4-a716-446655440000",
"externalUserId": "user_123",
"email": "[email protected]",
"applicantId": "abc123xyz789",
"bridgeCustomerId": "cus_abc123",
"createdAt": "2025-10-31T12:00:00Z"
}
}
curl -X PUT 'https://api.karmapay.xyz/v0/end-users/user_123' \
-H 'Authorization: Bearer karma_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
-H 'Content-Type: application/json' \
-d '{
"email": "[email protected]"
}'
{
"data": {
"id": "770e8400-e29b-41d4-a716-446655440000",
"externalUserId": "user_123",
"email": "[email protected]",
"applicantId": "abc123xyz789",
"bridgeCustomerId": "cus_abc123",
"createdAt": "2025-10-31T12:00:00Z"
}
}