Authorization: Digest username=guest, realm="test", nonce="2", uri="/uri", response="***"
{
"external_id": "{% faker datatype.uuid %}",
"firstname": "John",
"middlename": "",
"lastname": "Due",
"email": "[email protected]",
"phone": "+905071112233",
"gender": "M",
"identity_number": "12345677938",
"birthdate": "1970-01-31"
}
curl --location --request POST 'https://api.staging.mintedconnect.com/partner/customer' \
--header 'api-version: 2' \
--header 'api-version;' \
--header 'x-client-id;' \
--header 'Accept-Language: tr' \
--header 'Content-Type: application/json' \
--data-raw '{
"external_id": "{% faker datatype.uuid %}",
"firstname": "John",
"middlename": "",
"lastname": "Due",
"email": "[email protected]",
"phone": "+905071112233",
"gender": "M",
"identity_number": "12345677938",
"birthdate": "1970-01-31"
}'
{
"data": {
"external_id": "5555555556",
"firstname": "John",
"middlename": "",
"lastname": "Due",
"email": "[email protected]",
"phone": "+905001112233",
"gender": "M",
"identity_number": "1123345666",
"birthdate": "1970-01-31",
"fullname": "John Due"
},
"success": true,
"code": 0,
"message": ""
}