{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-product-guide/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Retrieve Existing Records","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"retrieve-existing-records","__idx":0},"children":["Retrieve Existing Records"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"retrieve-customer-by-email-id","__idx":1},"children":["Retrieve Customer by Email ID"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Fetch the customer ID associated with a given email address."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"api-endpoint","__idx":2},"children":["API Endpoint"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"curl","header":{"controls":{"copy":{}}},"source":"GET https://api.glomopay.com/api/v1/customer?email_address=customer%40glomopay.com\n","lang":"curl"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"request","__idx":3},"children":["Request"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"curl","header":{"controls":{"copy":{}}},"source":"curl --location 'https://api.glomopay.com/api/v1/customer?email_address=customer%40glomopay.com' \\\n  --header 'Content-Type: application/json' \\\n  --header 'Authorization: Bearer <YOUR_JWT_HERE>'\n","lang":"curl"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"response","__idx":4},"children":["Response"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"curl","header":{"controls":{"copy":{}}},"source":"{\n    \"data\": [\n        {\n            \"id\": \"cust_69fadd9ePPDvZ\",\n            \"name\": \"John\",\n            \"customer_type\": \"individual\",\n            \"email\": \"John@glomopay.com\",\n            \"phone\": \"9876543210\",\n            \"address\": \"202, swarna\",\n            \"city\": \"chirala\",\n            \"state\": \"Andhra Pradesh\",\n            \"country\": \"IND\",\n            \"pincode\": \"523155\",\n            \"status\": \"active\",\n            \"created_at\": \"2026-05-06T06:20:14.325Z\",\n            \"updated_at\": \"2026-05-06T06:21:36.546Z\",\n            \"address_v2\": {\n                \"city\": \"chirala\",\n                \"postal_code\": \"523155\",\n                \"country_code\": \"IND\",\n                \"address_line1\": \"202, swarna\",\n                \"address_line2\": null,\n                \"administrative_area\": \"Andhra Pradesh\"\n            },\n            \"metadata\": {\n                \"kyc\": {\n                    \"pan_number\": \"BFQPG7654R\"\n                },\n                \"bank_accounts\": [\n                    {\n                        \"id\": \"acclrs_69faddacidiza\",\n                        \"bank_code\": \"hdfc\",\n                        \"account_number\": \"10276543543\",\n                        \"bank_customer_id\": \"1234567\"\n                    }\n                ]\n            },\n            \"user_id\": null,\n            \"dob\": null,\n            \"nationality\": null,\n            \"deleted_at\": null\n        }\n    ],\n    \"page_meta\": {\n        \"current\": 1,\n        \"previous\": null,\n        \"next\": null,\n        \"per_page\": 20,\n        \"pages\": 1,\n        \"count\": 1\n    }\n}\n","lang":"curl"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"retrieve-bank-account-details","__idx":5},"children":["Retrieve Bank Account Details"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Fetch the bank account details linked to a customer."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"api-endpoint-1","__idx":6},"children":["API Endpoint"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"curl","header":{"controls":{"copy":{}}},"source":"GET https://api.glomopay.com/api/v1/customer/customer_id/bank_account\n","lang":"curl"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"request-1","__idx":7},"children":["Request"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"curl","header":{"controls":{"copy":{}}},"source":"curl --location 'https://api.glomopay.com/api/v1/customer/cust_69fadd9ePPDvZ/bank_account' \\\n  --header 'Content-Type: application/json' \\\n  --header 'Authorization: Bearer <YOUR_JWT_HERE>'\n","lang":"curl"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"response-1","__idx":8},"children":["Response"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"curl","header":{"controls":{"copy":{}}},"source":"[\n    {\n        \"id\": \"acclrs_69faddacidiza\",\n        \"bank_code\": \"hdfc\",\n        \"account_number\": \"10276543543\",\n        \"bank_customer_id\": \"1234567\"\n    }\n]\n","lang":"curl"},"children":[]}]},"headings":[{"value":"Retrieve Existing Records","id":"retrieve-existing-records","depth":1},{"value":"Retrieve Customer by Email ID","id":"retrieve-customer-by-email-id","depth":2},{"value":"API Endpoint","id":"api-endpoint","depth":3},{"value":"Request","id":"request","depth":3},{"value":"Response","id":"response","depth":3},{"value":"Retrieve Bank Account Details","id":"retrieve-bank-account-details","depth":2},{"value":"API Endpoint","id":"api-endpoint-1","depth":3},{"value":"Request","id":"request-1","depth":3},{"value":"Response","id":"response-1","depth":3}],"frontmatter":{"title":"Retrieve Existing Records","seo":{"title":"Retrieve Existing Records"}},"lastModified":"2026-05-12T10:40:54.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/product-guide/payin/resident-india-remittance-under-lrs/integration-guide/retrieve-existing-records","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}