Skip to main content

Documentation

List Contacts for a Rapyd Wallet

Retrieve all contacts for a wallet.

    • wallet

    • ID of the Rapyd Wallet that this contact is associated with. String starting with ewallet_.

Code Samples
    • .NET

      • using System;
        
        namespace RapydApiRequestSample
        {
            class Program
            {
                static void Main(string[] args)
                {
                    try
                    {
                        string wallet = "ewallet_72b4ff39ca50dccc73c0ee65d85e124e";
        
                        string result = RapydApiRequestSample.Utilities.MakeRequest("GET", $"/v1/ewallets/{wallet}/contacts");
        
                        Console.WriteLine(result);
                    }
                    catch (Exception e)
                    {
                        Console.WriteLine("Error completing request: " + e.Message);
                    }
                }
            }
        }
    • JavaScript

      • const makeRequest = require('<path-to-your-utility-file>/utilities').makeRequest;
        
        async function main() {
          try {
            const result = await makeRequest(
              'GET',
              '/v1/ewallets/ewallet_72b4ff39ca50dccc73c0ee65d85e124e/contacts'
            );
        
            console.log(result);
          } catch (error) {
            console.error('Error completing request', error);
          }
        }
    • PHP

      • <?php
        $path = $_SERVER['DOCUMENT_ROOT'];
        $path .= "/<path-to-your-utility-file>/utilities.php";
        include($path);
        
        try {
            $object = make_request('get', '/v1/ewallets/ewallet_72b4ff39ca50dccc73c0ee65d85e124e/contacts');
            var_dump($object);
        } catch(Exception $e) {
            echo "Error: $e";
        }
        ?>
    • Python

      • from pprint import pprint
        
        from utilities import make_request
        
        wallet = 'ewallet_72b4ff39ca50dccc73c0ee65d85e124e'
        
        results = make_request(method='get', path=f'/v1/ewallets/{wallet}/contacts')
        pprint(results)
  • /v1/ewallets/:wallet/contacts

  • List Contacts for a Rapyd Wallet

  • curl -X get 'https://sandboxapi.rapyd.net/v1/ewallets/ewallet_b5320c566cc4aa01fe77440ad08693f7/contacts' \
    -H 'access_key: your-access-key-here' \
    -H 'Content-Type: application/json' \
    -H 'salt: your-random-string-here' \
    -H 'signature: your-calculated-signature-here' \
    -H 'timestamp: your-unix-timestamp-here'
  • {
        "status": {
            "error_code": "",
            "status": "SUCCESS",
            "message": "",
            "response_code": "",
            "operation_id": "5eeace50-c297-4951-a303-35eef6d68690"
        },
        "data": [
            {
                "id": "cont_18c0d881a3d0d2e9e54d4664c6b0022d",
                "first_name": "John",
                "last_name": "Doe",
                "middle_name": "",
                "second_last_name": "",
                "gender": "not_applicable",
                "marital_status": "not_applicable",
                "house_type": "",
                "contact_type": "business",
                "phone_number": "+14155551234",
                "email": "john.doe.162417@example.com",
                "identification_type": "",
                "identification_number": "",
                "issued_card_data": {
                    "preferred_name": "",
                    "transaction_permissions": "",
                    "role_in_company": ""
                },
                "date_of_birth": null,
                "country": "US",
                "nationality": null,
                "address": null,
                "ewallet": "ewallet_b5320c566cc4aa01fe77440ad08693f7",
                "created_at": 1753881858,
                "metadata": {},
                "business_details": {
                    "id": "busi_aba4330005786f053d25c46168d21fc4",
                    "name": "",
                    "registration_number": "",
                    "entity_type": "n/a",
                    "industry_category": "n/a",
                    "industry_sub_category": "n/a",
                    "address": {
                        "id": "address_3c15646a8e2011f884c92eb416f52a02",
                        "name": "John Doe",
                        "line_1": "789 Second Street",
                        "line_2": "Apt 4E",
                        "line_3": "",
                        "city": "Anytown",
                        "state": "",
                        "country": "US",
                        "zip": "54321",
                        "phone_number": "+14155555555",
                        "metadata": {},
                        "canton": "",
                        "district": "",
                        "created_at": 1755781052
                    },
                    "created_at": 1753881858,
                    "annual_revenue": 0,
                    "establishment_date": null,
                    "legal_entity_type": null,
                    "cnae_code": null,
                    "statement_descriptor": null,
                    "mcc": null,
                    "website_url": null,
                    "customer_service_phone_number": null
                },
                "compliance_profile": 0,
                "verification_status": "not verified",
                "send_notifications": false,
                "mothers_name": "",
                "contact_reference_id": null
            },
            {
                "id": "cont_6b37bac42846c7046bdb9e24b89a5d05",
                "first_name": "Jane",
                "last_name": "Doe",
                "middle_name": "",
                "second_last_name": "",
                "gender": "not_applicable",
                "marital_status": "not_applicable",
                "house_type": "",
                "contact_type": "personal",
                "phone_number": "+14155551997",
                "email": "",
                "identification_type": "PA",
                "identification_number": "1233242424",
                "issued_card_data": {
                    "preferred_name": "",
                    "transaction_permissions": "",
                    "role_in_company": ""
                },
                "date_of_birth": null,
                "country": "US",
                "nationality": null,
                "address": {
                    "id": "address_2c98c788eafe3a5a6b7541431e0ced5e",
                    "name": "Jane Doe",
                    "line_1": "123 Lake Forest Drive",
                    "line_2": "",
                    "line_3": "",
                    "city": "Anytown",
                    "state": "NY",
                    "country": "",
                    "zip": "12345",
                    "phone_number": "+14155551234",
                    "metadata": {
                        "merchant_defined": true
                    },
                    "canton": "",
                    "district": "",
                    "created_at": 1754572956
                },
                "ewallet": "ewallet_b5320c566cc4aa01fe77440ad08693f7",
                "created_at": 1754572956,
                "metadata": {
                    "merchant_defined": "updated"
                },
                "business_details": null,
                "compliance_profile": 0,
                "verification_status": "not verified",
                "send_notifications": false,
                "mothers_name": "",
                "contact_reference_id": "johndoe2025-11-03a"
            },
            {
                "id": "cont_1efdd747f4495c054be799227448ef6b",
                "first_name": "Jane",
                "last_name": "Doe",
                "middle_name": "",
                "second_last_name": "",
                "gender": "not_applicable",
                "marital_status": "not_applicable",
                "house_type": "",
                "contact_type": "personal",
                "phone_number": "",
                "email": "",
                "identification_type": "PA",
                "identification_number": "1233242424",
                "issued_card_data": {
                    "preferred_name": "",
                    "transaction_permissions": "",
                    "role_in_company": ""
                },
                "date_of_birth": null,
                "country": "US",
                "nationality": null,
                "address": {
                    "id": "address_2827aa908f199b14067f2311180bdde9",
                    "name": "Jane Doe",
                    "line_1": "123 Lake Forest Drive",
                    "line_2": "",
                    "line_3": "",
                    "city": "Anytown",
                    "state": "NY",
                    "country": "",
                    "zip": "12345",
                    "phone_number": "+14155551234",
                    "metadata": {},
                    "canton": "",
                    "district": "",
                    "created_at": 1757241207
                },
                "ewallet": "ewallet_b5320c566cc4aa01fe77440ad08693f7",
                "created_at": 1757241207,
                "metadata": {},
                "business_details": null,
                "compliance_profile": 0,
                "verification_status": "not verified",
                "send_notifications": false,
                "mothers_name": "",
                "contact_reference_id": null
            },
            {
                "id": "cont_5221be61b7e199a898ba3da4f0b46e12",
                "first_name": "Jane",
                "last_name": "Doe",
                "middle_name": "",
                "second_last_name": "",
                "gender": "not_applicable",
                "marital_status": "not_applicable",
                "house_type": "",
                "contact_type": "personal",
                "phone_number": "",
                "email": "",
                "identification_type": "PA",
                "identification_number": "1233242424",
                "issued_card_data": {
                    "preferred_name": "",
                    "transaction_permissions": "",
                    "role_in_company": ""
                },
                "date_of_birth": null,
                "country": "US",
                "nationality": null,
                "address": {
                    "id": "address_266363ca5c30a9c2367c0d2514a6d6b8",
                    "name": "Jane Doe",
                    "line_1": "123 Lake Forest Drive",
                    "line_2": "",
                    "line_3": "",
                    "city": "Anytown",
                    "state": "NY",
                    "country": "",
                    "zip": "12345",
                    "phone_number": "+14155551234",
                    "metadata": {},
                    "canton": "",
                    "district": "",
                    "created_at": 1757241893
                },
                "ewallet": "ewallet_b5320c566cc4aa01fe77440ad08693f7",
                "created_at": 1757241893,
                "metadata": {},
                "business_details": null,
                "compliance_profile": 0,
                "verification_status": "not verified",
                "send_notifications": false,
                "mothers_name": "",
                "contact_reference_id": null
            },
            {
                "id": "cont_ffebfbe4b54a20119dc0075f4b1426cd",
                "first_name": "Jane",
                "last_name": "Doe",
                "middle_name": "",
                "second_last_name": "",
                "gender": "not_applicable",
                "marital_status": "not_applicable",
                "house_type": "",
                "contact_type": "personal",
                "phone_number": "",
                "email": "",
                "identification_type": "PA",
                "identification_number": "1233242424",
                "issued_card_data": {
                    "preferred_name": "",
                    "transaction_permissions": "",
                    "role_in_company": ""
                },
                "date_of_birth": null,
                "country": "US",
                "nationality": null,
                "address": {
                    "id": "address_5b0bf1aa1bd90606cdde1af13634af1d",
                    "name": "Jane Doe",
                    "line_1": "123 Lake Forest Drive",
                    "line_2": "",
                    "line_3": "",
                    "city": "Anytown",
                    "state": "NY",
                    "country": "",
                    "zip": "12345",
                    "phone_number": "+14155551234",
                    "metadata": {},
                    "canton": "",
                    "district": "",
                    "created_at": 1757241951
                },
                "ewallet": "ewallet_b5320c566cc4aa01fe77440ad08693f7",
                "created_at": 1757241951,
                "metadata": {},
                "business_details": null,
                "compliance_profile": 0,
                "verification_status": "not verified",
                "send_notifications": false,
                "mothers_name": "",
                "contact_reference_id": null
            },
            {
                "id": "cont_d849a1adbd5febf260858442192cf168",
                "first_name": "Jane",
                "last_name": "Doe",
                "middle_name": "",
                "second_last_name": "",
                "gender": "not_applicable",
                "marital_status": "not_applicable",
                "house_type": "",
                "contact_type": "personal",
                "phone_number": "",
                "email": "",
                "identification_type": "PA",
                "identification_number": "1233242424",
                "issued_card_data": {
                    "preferred_name": "",
                    "transaction_permissions": "",
                    "role_in_company": ""
                },
                "date_of_birth": null,
                "country": "US",
                "nationality": null,
                "address": {
                    "id": "address_a39db13a54735eef95fa7cb7a92161b4",
                    "name": "Jane Doe",
                    "line_1": "123 Lake Forest Drive",
                    "line_2": "",
                    "line_3": "",
                    "city": "Anytown",
                    "state": "NY",
                    "country": "",
                    "zip": "12345",
                    "phone_number": "+14155551234",
                    "metadata": {},
                    "canton": "",
                    "district": "",
                    "created_at": 1757242357
                },
                "ewallet": "ewallet_b5320c566cc4aa01fe77440ad08693f7",
                "created_at": 1757242357,
                "metadata": {},
                "business_details": null,
                "compliance_profile": 0,
                "verification_status": "not verified",
                "send_notifications": false,
                "mothers_name": "",
                "contact_reference_id": null
            },
            {
                "id": "cont_6493a93a65b59e7aa3c9c223be7cdeb4",
                "first_name": "Jane",
                "last_name": "Doe",
                "middle_name": "",
                "second_last_name": "",
                "gender": "not_applicable",
                "marital_status": "not_applicable",
                "house_type": "",
                "contact_type": "personal",
                "phone_number": "",
                "email": "",
                "identification_type": "PA",
                "identification_number": "1233242424",
                "issued_card_data": {
                    "preferred_name": "",
                    "transaction_permissions": "",
                    "role_in_company": ""
                },
                "date_of_birth": null,
                "country": "US",
                "nationality": null,
                "address": {
                    "id": "address_c5696fba97628d9f079f844bd14631b2",
                    "name": "Jane Doe",
                    "line_1": "123 Lake Forest Drive",
                    "line_2": "",
                    "line_3": "",
                    "city": "Anytown",
                    "state": "",
                    "country": "",
                    "zip": "12345",
                    "phone_number": "+14155551234",
                    "metadata": {},
                    "canton": "",
                    "district": "",
                    "created_at": 1762174004
                },
                "ewallet": "ewallet_b5320c566cc4aa01fe77440ad08693f7",
                "created_at": 1762174004,
                "metadata": {},
                "business_details": null,
                "compliance_profile": 0,
                "verification_status": "not verified",
                "send_notifications": false,
                "mothers_name": "",
                "contact_reference_id": null
            },
            {
                "id": "cont_998478c692cabe3c9beee1997e55968f",
                "first_name": "Jane",
                "last_name": "Doe",
                "middle_name": "",
                "second_last_name": "",
                "gender": "not_applicable",
                "marital_status": "not_applicable",
                "house_type": "",
                "contact_type": "personal",
                "phone_number": "",
                "email": "",
                "identification_type": "PA",
                "identification_number": "1233242424",
                "issued_card_data": {
                    "preferred_name": "",
                    "transaction_permissions": "",
                    "role_in_company": ""
                },
                "date_of_birth": null,
                "country": "US",
                "nationality": null,
                "address": {
                    "id": "address_581396e57970db87433ff4c083913992",
                    "name": "Jane Doe",
                    "line_1": "123 Lake Forest Drive",
                    "line_2": "",
                    "line_3": "",
                    "city": "Anytown",
                    "state": "",
                    "country": "",
                    "zip": "12345",
                    "phone_number": "+14155551234",
                    "metadata": {},
                    "canton": "",
                    "district": "",
                    "created_at": 1762174186
                },
                "ewallet": "ewallet_b5320c566cc4aa01fe77440ad08693f7",
                "created_at": 1762174186,
                "metadata": {},
                "business_details": null,
                "compliance_profile": 0,
                "verification_status": "not verified",
                "send_notifications": false,
                "mothers_name": "",
                "contact_reference_id": null
            },
            {
                "id": "cont_477cb76a2ca19b7b16a1640b21f86e6b",
                "first_name": "Jane",
                "last_name": "Doe",
                "middle_name": "",
                "second_last_name": "",
                "gender": "not_applicable",
                "marital_status": "not_applicable",
                "house_type": "",
                "contact_type": "personal",
                "phone_number": "",
                "email": "",
                "identification_type": "PA",
                "identification_number": "1233242424",
                "issued_card_data": {
                    "preferred_name": "",
                    "transaction_permissions": "",
                    "role_in_company": ""
                },
                "date_of_birth": null,
                "country": "US",
                "nationality": null,
                "address": {
                    "id": "address_33758bec0ab0560085eef677861c062e",
                    "name": "Jane Doe",
                    "line_1": "123 First Street",
                    "line_2": "",
                    "line_3": "",
                    "city": "Anytown",
                    "state": "",
                    "country": "",
                    "zip": "12345",
                    "phone_number": "+14157671212",
                    "metadata": {},
                    "canton": "",
                    "district": "",
                    "created_at": 1762411008
                },
                "ewallet": "ewallet_b5320c566cc4aa01fe77440ad08693f7",
                "created_at": 1762411008,
                "metadata": {},
                "business_details": null,
                "compliance_profile": 0,
                "verification_status": "not verified",
                "send_notifications": false,
                "mothers_name": "",
                "contact_reference_id": null
            }
        ]
    }