Add Contact to Wallet
Add a personal contact to a company wallet or client wallet.
Note
For best practices, include the
first_name
,last_name
,date_of_birth
,country
,address.name
andaddress.line_1
fields. These fields are required for other operations.You can only add a personal contact to a company wallet or a client wallet.
wallet
ID of the Rapyd Wallet that this contact is associated with. String starting with ewallet_.
/v1/ewallets/:wallet/contacts
Add Contact to Wallet
curl -X post https://sandboxapi.rapyd.net/v1/ewallets/ewallet_81f73a4ca8fe9dba1c64a5ed411bf322/contacts -H 'access_key: your-access-key-here' -H 'Content-Type: application/json' -H 'idempotency: your-idempotency-parameter-here' -H 'salt: your-random-string-here' -H 'signature: your-calculated-signature-here' -H 'timestamp: your-unix-timestamp-here' -d '{ "phone_number": "+5511978789562", "contact_reference_id": "johndoe", "email": "johndoe@rapyd.net", "first_name": "John", "last_name": "Doe", "mothers_name": "Jane Smith", "house_type": "lease", "address": { "name": "John Doe", "line_1": "123 Lake Forest Drive", "line_2": "", "line_3": "", "city": "Anytown", "state": "NY", "country": "BR", "zip": "47834001", "phone_number": "+5511978789562", "metadata": { "merchant_defined": true }, "canton": "", "district": "" }, "identification_type": "ID", "identification_number": "82237738050", "date_of_birth": "2000-11-22", "country": "BR", "nationality": "BR", "metadata": { "merchant_defined": true } } '
{ "status": { "error_code": "", "status": "SUCCESS", "message": "", "response_code": "", "operation_id": "827ce7b0-a324-4333-a76c-89bc0d11a722" }, "data": { "id": "cont_b6964247ed4099ae4457953f04b606c3", "first_name": "John", "last_name": "Doe", "middle_name": "", "second_last_name": "", "gender": "not_applicable", "marital_status": "not_applicable", "house_type": "lease", "contact_type": "personal", "phone_number": "+5511978789562", "email": "johndoe@rapyd.net", "identification_type": "ID", "identification_number": "82237738050", "issued_card_data": { "preferred_name": "", "transaction_permissions": "", "role_in_company": "" }, "date_of_birth": "2000-11-22", "country": "BR", "nationality": "BR", "address": { "id": "address_5cf20be70412c8ef6651815a3a1bb1f0", "name": "John Doe", "line_1": "123 Lake Forest Drive", "line_2": "", "line_3": "", "city": "Anytown", "state": "NY", "country": "BR", "zip": "47834001", "phone_number": "+5511978789562", "metadata": { "merchant_defined": true }, "canton": "", "district": "", "created_at": 1694074674 }, "ewallet": "ewallet_81f73a4ca8fe9dba1c64a5ed411bf322", "created_at": 1694074674, "metadata": { "merchant_defined": true }, "business_details": null, "compliance_profile": 0, "verification_status": "not verified", "send_notifications": false, "mothers_name": "Jane Smith", "contact_reference_id": "johndoe" } }