# Users

At Zūm, Users represent the payee for accounts payable, or the payer for accounts receivable. There are 3 ways of ingesting users, API, Portal, and Zūm Connect.

Zūm Rails recommends using Zūm Connect for the below reasons:

* For EFT, it offers the end user the possibility to link his bank account, ensuring that the bank account information will be verified to avoid transaction failures.
* For Credit Card and Visa Direct, it's required that we reduce your PCI scope.

For more information about Zūm Connect, [click here](https://docs.zumrails.com/tokenization-1/zum-connect).

{% embed url="<https://youtu.be/a633gth0PPg>" %}

## Create a new user

### API

Use this endpoint if you want to add a new user to your account. For Credit Card and Visa Direct, if you want to add a user through API, please contact Zūm support to enable this feature.&#x20;

For Visa Direct Push transactions, it is possible to add a user through API providing only the card number, please contact Zūm support to enable this feature. [Request example](#request-visa-direct-push-canada).

`Method: POST`

`Endpoint: {{env}}/api/user`

{% tabs fullWidth="false" %}
{% tab title="Request (Canada)" %}

```json
{
  "FirstName": "John",
  "LastName": "Doe",
  "Email": "johndoe@zumrails.com",
  "CompanyName": null,
  "PhoneNumber": "5141231234",
  "ClientUserId": "*",
  "BankAccountInformation": {
    "InstitutionNumber": "111",
    "TransitNumber": "12345",
    "AccountNumber": "1234567"
  },
  "CreditCardInformation": {
    "Number": "1234123412341234",
    "EncryptedNumber": "",
    "ExpireMonth": "01",
    "ExpireYear": "2027",
    "CVV": "123",
    "AddressLine1": "123 street",
    "AddressLine2": "Apartment 123",
    "AddressPostalCode": "A1A 1A1",
    "AddressCountry": "Canada",
    "AddressCity": "Toronto",
    "AddressState": "ON"
  },
  "ShippingSameAsBilling": false,
  "Addresses": [
    {
      "AddressCity": "User City",
      "AddressCountry": "Canada",
      "AddressLine1": "user address 122",
      "AddressLine2": "test222",
      "AddressPostalCode": "J4V0A3",
      "AddressState": "QC",
      "AddressType": "Shipping"
    }
  ]
}
```

{% endtab %}

{% tab title="Request (Visa Direct Push - Canada) " %}

```json
{
  "FirstName": "John",
  "LastName": "Doe",
  "Email": "johndoe@zumrails.com",  
    "CreditCardInformation": {
        "Number": "1234123412341234",
        "EncryptedNumber": ""
    }
}
```

{% endtab %}

{% tab title="Response (Canada)" %}

```json
{
  "statusCode": 200,
  "message": "POST Request successful.",
  "isError": false,
  "result": {
    "Id": "0bc9894d-b37b-4ae0-af70-f691024aca19",
    "FirstName": "John",
    "LastName": "Doe",
    "CompanyName": null
  }
}
```

{% endtab %}

{% tab title="Request (ACH -US)" %}

```json
{
  "FirstName": "John",
  "LastName": "Doe",
  "Email": "johndoe@zumrails.com",
  "CompanyName": null,
  "PhoneNumber": "5141231234",
  "ClientUserId": "*",
  "IdType": "DL",
  "IdNumber": "12-3456789",
  "IdState": "CA",
  "PaymentInstruments": [
    {
      "RoutingNumber": "122000661",
      "AccountNumber": "1234567890",
      "AccountType": "Checking",
      "AddressLine1": "123 street",
      "AddressLine2": "Apartment 123",
      "AddressPostalCode": "11215",
      "AddressCountry": "USA",
      "AddressCity": "Brooklyn",
      "AddressState": "NY",
      "PaymentMethod": "BankAccount"
    }
  ]
}
```

{% endtab %}

{% tab title="Request (Debit Card -US)" %}

```json
{
  "FirstName": "John",
  "LastName": "Doe",
  "Email": "johndoe@zumrails.com",
  "CompanyName": null,
  "PhoneNumber": "5141231234",
  "PaymentInstruments": [
    {
      "Number": "4000230000048889",
      "EncryptedNumber": "",
      "ExpireMonth": "08",
      "ExpireYear": "2027",
      "AddressLine1": "123 street",
      "AddressLine2": "Apartment 123",
      "AddressPostalCode": "11215",
      "AddressCountry": "USA",
      "AddressCity": "Brooklyn",
      "AddressState": "NY",
      "PaymentMethod": "DebitCard"
    }
  ]
}
```

{% endtab %}

{% tab title="Request (Credit Card -US)" %}

```json
{
  "FirstName": "John",
  "LastName": "Doe",
  "Email": "johndoe@zumrails.com",
  "CompanyName": null,
  "PhoneNumber": "5141231234",
  "PaymentInstruments": [
    {
      "Number": "4000230000048889",
      "EncryptedNumber": "",
      "ExpireMonth": "08",
      "ExpireYear": "2027",
      "Cvv": "123",
      "AddressLine1": "123 street",
      "AddressLine2": "Apartment 123",
      "AddressPostalCode": "11215",
      "AddressCountry": "USA",
      "AddressCity": "Brooklyn",
      "AddressState": "NY",
      "PaymentMethod": "CreditCard"
    }
  ]
}
```

{% endtab %}

{% tab title=" Response (US)" %}

```json
{
  "statusCode": 200,
  "message": "POST Request successful.",
  "isError": false,
  "result": {
    "Id": "0bc9894d-b37b-4ae0-af70-f691024aca19",
    "FirstName": "John",
    "LastName": "Doe",
    "CompanyName": null,
    "IsActive": true,
    "PaymentInstruments": [
      {
        "Id": "92142401-d17e-4906-91e8-389ba0d87e75",
        "RoutingNumber": "021000021",
        "AccountNumber": "1001001235",
        "AddressLine1": "123 street",
        "AddressLine2": "Apartment 123",
        "AddressPostalCode": "11215",
        "AddressCountry": "USA",
        "AddressCity": "Brooklyn",
        "AddressState": "NY",
        "PaymentMethodType": "BankAccount"
      }
    ]
  }
}
```

{% endtab %}
{% endtabs %}

**Input parameters**

{% tabs %}
{% tab title="Canada" %}

<table><thead><tr><th width="173.5999755859375">Parameter</th><th>Type</th><th>EFT (Mandatory)</th><th>Interac (Mandatory)</th><th>Credit Card (Mandatory)</th><th>Visa Direct (Mandatory)</th><th>Description</th></tr></thead><tbody><tr><td>FirstName</td><td>string</td><td>yes</td><td>yes</td><td>yes</td><td>yes</td><td>User's first name, in case User is an individual. Character limit is 120.</td></tr><tr><td>LastName</td><td>string</td><td>yes</td><td>yes</td><td>yes</td><td>yes</td><td>User's last name, in case User is an individual. Character limit is 120.</td></tr><tr><td>CompanyName</td><td>string</td><td>yes</td><td>yes</td><td>yes</td><td>yes</td><td>Company name, in case User is a company. Character limit is 120.</td></tr><tr><td>Email</td><td>string</td><td>yes</td><td>yes</td><td>yes</td><td>yes</td><td>User e-mail</td></tr><tr><td>PhoneNumber</td><td>string</td><td>no</td><td>no</td><td>no</td><td>no</td><td>Phone number (maximum 10 characters, no special characters accepted)</td></tr><tr><td>ClientUserId</td><td>string</td><td>no</td><td>no</td><td>no</td><td>no</td><td>External Client User Identifier</td></tr><tr><td><strong>BankAccountInformation</strong></td><td></td><td>yes</td><td></td><td></td><td></td><td></td></tr><tr><td>InstitutionNumber</td><td>string</td><td>yes</td><td>no</td><td>no</td><td>no</td><td>Institution Number, 3 digits</td></tr><tr><td>TransitNumber</td><td>string</td><td>yes</td><td>no</td><td>no</td><td>no</td><td>Transit Number, 5 digits</td></tr><tr><td>AccountNumber</td><td>string</td><td>yes</td><td>no</td><td>no</td><td>no</td><td>Account Number</td></tr><tr><td><strong>CreditCardInformation</strong></td><td></td><td></td><td></td><td>yes</td><td>yes</td><td></td></tr><tr><td>Number</td><td>string</td><td>no</td><td>no</td><td>yes</td><td>yes</td><td>Leave empty if EncryptedNumber is included</td></tr><tr><td>EncryptedNumber</td><td>string</td><td>no</td><td>no</td><td>no</td><td>no</td><td>Encrypted card number. Refer to <a href="encryption">Encryption</a> section for more information</td></tr><tr><td>ExpireMonth</td><td>number</td><td>no</td><td>no</td><td>yes</td><td>yes</td><td>Card expiry month, 2 digits.</td></tr><tr><td>ExpireYear</td><td>number</td><td>no</td><td>no</td><td>yes</td><td>yes</td><td>Card expiry year, 4 digits</td></tr><tr><td>CVV</td><td>string</td><td>no</td><td>no</td><td>yes</td><td>yes</td><td>Security code, 3 or 4 digits</td></tr><tr><td>AddressLine1</td><td>string</td><td>no</td><td>no</td><td>no</td><td>no</td><td>Billing address line 1 (maximum 60 characters)</td></tr><tr><td>AddressLine2</td><td>string</td><td>no</td><td>no</td><td>no</td><td>no</td><td>Billing address line 2 (maximum 60 characters)</td></tr><tr><td>AddressPostalCode</td><td>string</td><td>no</td><td>no</td><td>no</td><td>no</td><td>Billing address postal code</td></tr><tr><td>AddressCountry</td><td>string</td><td>no</td><td>no</td><td>no</td><td>no</td><td>Billing address country</td></tr><tr><td>AddressCity</td><td>string</td><td>no</td><td>no</td><td>no</td><td>no</td><td>Billing address city (maximum 32 characters)</td></tr><tr><td>AddressState</td><td>string</td><td>no</td><td>no</td><td>no</td><td>no</td><td>Billing address state/province</td></tr></tbody></table>
{% endtab %}

{% tab title="US" %}

<table><thead><tr><th width="148">Parameter</th><th>Type</th><th>ACH (Mandatory)</th><th>Debit Card (Mandatory)</th><th>Credit Card (Mandatory)</th><th>Description</th></tr></thead><tbody><tr><td>FirstName</td><td>string</td><td>conditional</td><td>conditional</td><td>conditional</td><td>User's first name, in case User is an individual. Character limit is 120.</td></tr><tr><td>LastName</td><td>string</td><td>conditional</td><td>conditional</td><td>conditional</td><td>User's last name, in case User is an individual. Character limit is 120.</td></tr><tr><td>CompanyName</td><td>string</td><td>conditional</td><td>conditional</td><td>conditional</td><td>Company name, in case User is a company. Character limit is 120.</td></tr><tr><td>Email</td><td>string</td><td>yes</td><td>yes</td><td>no</td><td>User's e-mail</td></tr><tr><td>PhoneNumber</td><td>string</td><td>yes</td><td>no</td><td>no</td><td>Phone number (maximum 10 characters, no special characters accepted)</td></tr><tr><td>ClientUserId</td><td>string</td><td>no</td><td>no</td><td>no</td><td>External identifier for the user</td></tr><tr><td>BusinessTaxId</td><td>string</td><td>conditional</td><td>-</td><td>-</td><td>Business tax ID, required in case User is a company</td></tr><tr><td>IdType</td><td>string</td><td>conditional</td><td>-</td><td>-</td><td>ID type, can be <code>DL</code> or <code>SSN</code></td></tr><tr><td>IdNumber</td><td>string</td><td>conditional</td><td>-</td><td>-</td><td>ID number</td></tr><tr><td>IdState</td><td>string</td><td>conditional</td><td>-</td><td>-</td><td>State where ID was issued</td></tr><tr><td><strong>PaymentInstruments</strong></td><td></td><td>yes</td><td>yes</td><td>yes</td><td>List of payment instruments</td></tr><tr><td>PaymentMethod</td><td>string</td><td>yes</td><td>yes</td><td>yes</td><td>Payment method must be <code>BankAccount</code>, <code>DebitCard</code> or <code>CreditCard</code></td></tr><tr><td>RoutingNumber</td><td>string</td><td>yes</td><td>-</td><td>-</td><td>Routing number, 9 digits, required when payment method is <code>BankAccount</code></td></tr><tr><td>AccountNumber</td><td>string</td><td>yes</td><td>-</td><td>-</td><td>Account number, 5-17 digits, required when payment method is <code>BankAccount</code></td></tr><tr><td>AccountType</td><td>string</td><td>yes</td><td>-</td><td>-</td><td>Account type, can be either <code>Checking</code> or <code>Savings</code>, required when payment method is <code>BankAccount</code></td></tr><tr><td>ExternallyVerified</td><td>boolean</td><td>no</td><td>-</td><td>-</td><td>Set to true to skip bank account verification</td></tr><tr><td>Number</td><td>string</td><td>-</td><td>yes</td><td>yes</td><td>Card number, 16 digits. Leave empty if EncryptedNumber is included</td></tr><tr><td>EncryptedNumber</td><td>string</td><td>-</td><td>no</td><td>no</td><td>Encrypted card number. Refer to <a href="encryption">Encryption</a> section for more information</td></tr><tr><td>ExpireMonth</td><td>string</td><td>-</td><td>yes</td><td>yes</td><td>Card expiry month, 2 digits</td></tr><tr><td>ExpireYear</td><td>string</td><td>-</td><td>yes</td><td>yes</td><td>Card expiry year, 4 digits</td></tr><tr><td>Cvv</td><td>string</td><td>-</td><td>-</td><td>yes</td><td>Card verification number, 3-4 digits, required fir <code>CreditCard</code></td></tr><tr><td>AddressLine1</td><td>string</td><td>-</td><td>yes</td><td>yes</td><td>Card address line 1 (minimum 3 characters, maximum 30 characters)</td></tr><tr><td>AddressLine2</td><td>string</td><td>-</td><td>no</td><td>no</td><td>Card address line 2 (maximum 30 characters)</td></tr><tr><td>AddressPostalCode</td><td>string</td><td>-</td><td>yes</td><td>yes</td><td>Card address postal code</td></tr><tr><td>AddressCountry</td><td>string</td><td>-</td><td>yes</td><td>yes</td><td>Card address country. See <a data-mention href="country-and-region-codes">country-and-region-codes</a> for more information.</td></tr><tr><td>AddressCity</td><td>string</td><td>-</td><td>yes</td><td>yes</td><td>Card address city (maximum 32 characters)</td></tr><tr><td>AddressState</td><td>string</td><td>-</td><td>yes</td><td>yes</td><td>Card address state</td></tr></tbody></table>

{% endtab %}
{% endtabs %}

{% hint style="danger" %}
**CAUTION**

1. When creating a user, provide `FirstName` and `LastName` if the user is an individual, or provide `CompanyName` if the user is a business.
2. CVV and Expire Month/Year are mandatory for all transaction types with the Visa Direct/Credit Card payment methods.
3. When an SSN is provided for a User, then `IdNumber` should be 9 digits.
4. To skip bank account verification, speak to your account executive or reach out to support.
5. The card number can be provided encrypted to improve the security. When EncryptedNumber is included, the Number field must be not informed. Refer to [Encryption](https://docs.zumrails.com/api-reference/encryption) section for more information.
6. When adding a User with only the card number, it will be enabled only for Visa Direct Push transactions.
7. The card expiration date (ExpireMonth / ExpireYear) must not exceed 5 years from the current date.
   {% endhint %}

**Response (Canada)**

<table><thead><tr><th width="201.79998779296875">Parameter</th><th width="137.7999267578125">Type</th><th>Description</th></tr></thead><tbody><tr><td>Id</td><td>guid</td><td>User id</td></tr><tr><td>FirstName</td><td>string</td><td>First name</td></tr><tr><td>LastName</td><td>string</td><td>Last name</td></tr><tr><td>CompanyName</td><td>string</td><td>Company name, in case it's a company</td></tr><tr><td>Email</td><td>string</td><td>email used to create user</td></tr><tr><td>IsActive</td><td>bool</td><td>Indicates if user is active</td></tr></tbody></table>

{% hint style="info" %}
**TIP (US)**

In sandbox, to add a **credit card** for a User, use any of the following card numbers.

**Mastercard**

* 5102610000000077
* 5102630000000026

**Visa**

* 4000130000000106
* 4000240000044432
* 4000230000044433
* 4000230000048889
* 4000240000044481
* 4000230000055587
* 4000240000044663

**Amex**

* 379605170000771

**Discover**

* 6011208701111117

**Diners**

* 36797342194957

**JBC**

* 3587306912123367
  {% endhint %}

{% hint style="info" %}
**TIP (US)**

In sandbox, to add a **debit card** for a User, use any of the following card numbers.

**Mastercard**

* 5204730820000029
  {% endhint %}

{% hint style="info" %}
**INFO (US)**

It is possible to add credit cards or bank accounts from a country other than the US. To consult the list of acceptable countries, [click here](https://docs.zumrails.com/api-reference/country-and-region-codes).
{% endhint %}

### Aggregators

Use this endpoint if you want to add a new user to your account. Only if you are using a third-party aggregator.

`Method: POST`

`Endpoint: {{env}}/api/user`

{% tabs %}
{% tab title="User (Canada)" %}

<table data-full-width="true"><thead><tr><th width="231.4000244140625">Name</th><th width="144">Type</th><th>Description</th></tr></thead><tbody><tr><td>FirstName<mark style="color:red;">*</mark></td><td>string</td><td>First name, if the User is an individual.</td></tr><tr><td>LastName<mark style="color:red;">*</mark></td><td>string</td><td>Last name, if User is an individual. Maximum 100 characters.</td></tr><tr><td>CompanyName<mark style="color:red;">*</mark></td><td>string</td><td>Company name, if User is a company. Maximum 100 characters.</td></tr><tr><td>Email<mark style="color:red;">*</mark></td><td>string</td><td>Email address</td></tr><tr><td>PhoneNumber</td><td>string</td><td>Phone number. Maximum 10 characters (no special characters).</td></tr><tr><td>ClientUserId</td><td>string</td><td>External identifier for the User.</td></tr><tr><td><strong>BankAccountInformation</strong></td><td></td><td></td></tr><tr><td>InstitutionNumber</td><td>string</td><td>Institution Number, 3 digits</td></tr><tr><td>TransitNumber</td><td>string</td><td>Transit Number, 5 digits</td></tr><tr><td>AccountNumber</td><td>string</td><td>Account Number</td></tr><tr><td><strong>CreditCardInformation</strong></td><td></td><td></td></tr><tr><td>Number</td><td>string</td><td><a data-footnote-ref href="#user-content-fn-1">Card number</a></td></tr><tr><td>ExpireMonth</td><td>string</td><td>Card expiry month, 2 digits.</td></tr><tr><td>ExpireYear</td><td>string</td><td>Card expiry year, 4 digits.</td></tr><tr><td>CVV</td><td>string</td><td>Security code, 3 or 4 digits.</td></tr><tr><td>AddressLine1</td><td>string</td><td>Billing address line 1. Maximum 60 characters.</td></tr><tr><td>AddressLine2</td><td>string</td><td>Billing address line 2. Maximum 60 characters.</td></tr><tr><td>AddressCity</td><td>string</td><td>Billing address city. Maximum 32 characters.</td></tr><tr><td>AddressState</td><td>string</td><td>Billing address state/province. <a href="country-and-region-codes">See region codes</a>.</td></tr><tr><td>AddressPostalCode</td><td>string</td><td>Billing address postal code</td></tr><tr><td>AddressCountry</td><td>string</td><td>Billing address country</td></tr><tr><td><strong>Addresses</strong></td><td></td><td></td></tr><tr><td>AddressType</td><td>string</td><td>??</td></tr><tr><td>AddressLine1</td><td>string</td><td>Shipping address line 1. Maximum 60 characters.</td></tr><tr><td>AddressLine2</td><td>string</td><td>Shipping address line 2. Maximum 60 characters.</td></tr><tr><td>AddressCity</td><td>string</td><td>Shipping address city. Maximum 32 characters.</td></tr><tr><td>AddressState</td><td>string</td><td>Shipping address state/province. <a href="country-and-region-codes">See region codes</a>.</td></tr><tr><td>AddressPostalCode</td><td>string</td><td>Shipping address postal code</td></tr><tr><td>AddressCountry</td><td>string</td><td>Shipping address country</td></tr></tbody></table>
{% endtab %}

{% tab title="User (US)" %}

<table><thead><tr><th width="226">Name</th><th width="149">Type</th><th>Description</th></tr></thead><tbody><tr><td>FirstName<mark style="color:red;">*</mark></td><td>string</td><td>First name, if the User is an individual. Maximum 100 characters.</td></tr><tr><td>LastName<mark style="color:red;">*</mark></td><td>string</td><td>Last name, if User is an individual. Maximum 100 characters.</td></tr><tr><td>CompanyName<mark style="color:red;">*</mark></td><td>string</td><td>Company name, if User is a company. Maximum 100 characters.</td></tr><tr><td>Email<mark style="color:red;">*</mark></td><td>string</td><td>Email address</td></tr><tr><td>PhoneNumber</td><td>string</td><td>Phone number. Maximum 10 characters (no special characters).</td></tr><tr><td>ClientUserId</td><td>string</td><td>External identifier for the User.</td></tr><tr><td>BusinessTaxId</td><td>string</td><td>Business tax ID, required in case User is a company.</td></tr><tr><td>IdType</td><td>string</td><td>ID type, can be <code>DL</code> or <code>SSN</code></td></tr><tr><td>IdNumber</td><td>string</td><td><a data-footnote-ref href="#user-content-fn-2">ID number</a></td></tr><tr><td>IdState</td><td>string</td><td>State where ID was issued. <a href="country-and-region-codes">See region codes</a>.</td></tr><tr><td><strong>PaymentInstruments</strong></td><td></td><td></td></tr><tr><td>PaymentMethod</td><td>string</td><td>Payment method must be <code>BankAccount</code>, <code>DebitCard</code> or <code>CreditCard</code></td></tr><tr><td>RoutingNumber</td><td>string</td><td>Routing number, 9 digits, required when payment method is <code>BankAccount</code></td></tr><tr><td>AccountNumber</td><td>string</td><td>Account number, 5-17 digits, required when payment method is <code>BankAccount</code></td></tr><tr><td>AccountType</td><td>string</td><td>Account type, can be either <code>Checking</code> or <code>Savings</code>, required when payment method is <code>BankAccount</code></td></tr><tr><td>Number</td><td>string</td><td><a data-footnote-ref href="#user-content-fn-1">Card number, 16 digits</a></td></tr><tr><td>ExpireMonth</td><td>string</td><td>Card expiry month, 2 digits</td></tr><tr><td>ExpireYear</td><td>string</td><td>Card expiry year, 4 digits</td></tr><tr><td>Cvv</td><td>string</td><td>Card verification number, 3-4 digits, required for <code>CreditCard</code></td></tr><tr><td>AddressLine1</td><td>string</td><td>Card address line 1, 3-30 characters.</td></tr><tr><td>AddressLine2</td><td>string</td><td>Card address line 2, maximum 30 characters.</td></tr><tr><td>AddressCity</td><td>string</td><td>Card address city, maximum 32 characters.</td></tr><tr><td>AddressState</td><td>string</td><td>Card address state</td></tr><tr><td>AddressPostalCode</td><td>string</td><td>Card address postal code</td></tr><tr><td>AddressCountry</td><td>string</td><td>Card address country. <a href="country-and-region-codes">See country &#x26; region codes</a>.</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Request (Canada)" %}

```json
{
  "FirstName": "John",
  "LastName": "Doe",
  "Email": "johndoe@zumrails.com",
  "CompanyName": null,
  "PhoneNumber": "5141231234",
  "ClientUserId": "*",
  "BankAccountInformation": {
    "InstitutionNumber": "111",
    "TransitNumber": "12345",
    "AccountNumber": "1234567"
  },
  "CreditCardInformation": {
    "Number": "1234123412341234",
    "ExpireMonth": "01",
    "ExpireYear": "2020",
    "CVV": "123",
    "AddressLine1": "123 street",
    "AddressLine2": "Apartment 123",
    "AddressPostalCode": "A1A 1A1",
    "AddressCountry": "Canada",
    "AddressCity": "Toronto",
    "AddressState": "ON"
  },
  "ShippingSameAsBilling": false,
  "Addresses": [
    {
      "AddressCity": "User City",
      "AddressCountry": "Canada",
      "AddressLine1": "user address 122",
      "AddressLine2": "test222",
      "AddressPostalCode": "J4V0A3",
      "AddressState": "QC",
      "AddressType": "Shipping"
    }
  ]
}
```

{% endtab %}

{% tab title="Response (Canada)" %}

```json
{
  "statusCode": 200,
  "message": "POST Request successful.",
  "isError": false,
  "result": {
    "Id": "0bc9894d-b37b-4ae0-af70-f691024aca19",
    "FirstName": "John",
    "LastName": "Doe",
    "Email": "johndoe@zumrails.com",
    "CompanyName": null
  }
}
```

{% endtab %}

{% tab title="Request (US)" %}

```json
//Request - ACH
{
  "FirstName": "John",
  "LastName": "Doe",
  "Email": "johndoe@zumrails.com",
  "CompanyName": null,
  "PhoneNumber": "5141231234",
  "ClientUserId": "*",
  "IdType": "DL",
  "IdNumber": "12-3456789",
  "IdState": "CA",
  "PaymentInstruments": [
    {
      "RoutingNumber": "122000661",
      "AccountNumber": "1234567890",
      "AccountType": "Checking",
      "AddressLine1": "123 street",
      "AddressLine2": "Apartment 123",
      "AddressPostalCode": "11215",
      "AddressCountry": "USA",
      "AddressCity": "Brooklyn",
      "AddressState": "NY",
      "PaymentMethod": "BankAccount"
    }
  ]
}

//Request - Debit Card
{
  "FirstName": "John",
  "LastName": "Doe",
  "Email": "johndoe@zumrails.com",
  "CompanyName": null,
  "PhoneNumber": "5141231234",
  "PaymentInstruments": [
    {
      "Number": "4000230000048889",
      "ExpireMonth": "08",
      "ExpireYear": "2026",
      "AddressLine1": "123 street",
      "AddressLine2": "Apartment 123",
      "AddressPostalCode": "11215",
      "AddressCountry": "USA",
      "AddressCity": "Brooklyn",
      "AddressState": "NY",
      "PaymentMethod": "DebitCard"
    }
  ]
}

//Request - Credit Card
{
  "FirstName": "John",
  "LastName": "Doe",
  "Email": "johndoe@zumrails.com",
  "CompanyName": null,
  "PhoneNumber": "5141231234",
  "PaymentInstruments": [
    {
      "Number": "4000230000048889",
      "ExpireMonth": "08",
      "ExpireYear": "2026",
      "Cvv": "123",
      "AddressLine1": "123 street",
      "AddressLine2": "Apartment 123",
      "AddressPostalCode": "11215",
      "AddressCountry": "USA",
      "AddressCity": "Brooklyn",
      "AddressState": "NY",
      "PaymentMethod": "CreditCard"
    }
  ]
}
```

{% endtab %}

{% tab title="Response (US)" %}

```json
{
  "statusCode": 200,
  "message": "POST Request successful.",
  "isError": false,
  "result": {
    "Id": "0bc9894d-b37b-4ae0-af70-f691024aca19",
    "FirstName": "John",
    "LastName": "Doe",
    "CompanyName": null,
    "IsActive": true,
    "PaymentInstruments": [
      {
        "Id": "92142401-d17e-4906-91e8-389ba0d87e75",
        "RoutingNumber": "021000021",
        "AccountNumber": "1001001235",
        "AddressLine1": "123 street",
        "AddressLine2": "Apartment 123",
        "AddressPostalCode": "11215",
        "AddressCountry": "USA",
        "AddressCity": "Brooklyn",
        "AddressState": "NY",
        "PaymentMethodType": "BankAccount"
      }
    ]
  }
}
```

{% endtab %}
{% endtabs %}

**Input parameters**

<table><thead><tr><th width="159.800048828125">Parameter</th><th width="135.199951171875">Type</th><th width="134.2000732421875">Mandatory</th><th>Description</th></tr></thead><tbody><tr><td>FirstName</td><td>string</td><td>yes</td><td>User first name</td></tr><tr><td>LastName</td><td>string</td><td>yes</td><td>User last name</td></tr><tr><td>Email</td><td>string</td><td>yes</td><td>User e-mail</td></tr><tr><td>AuthCode</td><td>string</td><td>yes</td><td>Key used to get an access_code</td></tr></tbody></table>

{% hint style="info" %}
**INFO**

It is possible to add credit cards or bank accounts from a country other than the US.  To consult the list of acceptable countries, [click here](https://docs.zumrails.com/docs/us/api-specification/countries-and-administrative-units).
{% endhint %}

## Update a user

Use this endpoint if you want to edit the basic information for an existing user. The user id is informed in the url and the body payload contains the user information. This endpoint does not update the bank account information or the credit card information.

`Method: PATCH`

`Endpoint: {{env}}/api/user/UpdateBasicInformation/{user_id}`

{% tabs %}
{% tab title="Payload (Canada)" %}

```json
{
  "FirstName": "John",
  "LastName": "Doe",
  "CompanyName": null,
  "DateOfBirth": "2000-01-25",
  "Email": "johndoe@zumrails.com",
  "PhoneNumber": "5141231234",
  "ClientUserId": "*"
}
```

{% endtab %}

{% tab title="Response (Canada)" %}

```json
{
  "statusCode": 200,
  "message": "POST Request successful.",
  "isError": false,
  "result": "0bc9894d-....-f691024aca19"
}
```

{% endtab %}

{% tab title="Payload (US)" %}

```json
{
  "FirstName": "John",
  "LastName": "Doe",
  "CompanyName": null,
  "Email": "johndoe@zumrails.com",
  "PhoneNumber": "5141231234",
  "ClientUserId": "*",
  "IdType": "DL",
  "IdNumber": "12-3456789",
  "IdState": "CA"
}
```

{% endtab %}

{% tab title="Response (US)" %}

```json
{
  "statusCode": 200,
  "message": "POST Request successful.",
  "isError": false,
  "result": "0bc9894d-....-f691024aca19"
}
```

{% endtab %}
{% endtabs %}

**Input parameters**

{% tabs %}
{% tab title="Canada" %}

<table><thead><tr><th>Parameter</th><th>Type</th><th>EFT (Mandatory)</th><th>Interac (Mandatory)</th><th width="128">Credit Card (Mandatory)</th><th>Prepaid Card Card (Mandatory)</th><th>Visa Direct (Mandatory)</th><th>Description</th></tr></thead><tbody><tr><td>FirstName</td><td>string</td><td>yes</td><td>yes</td><td>yes</td><td>yes</td><td>yes</td><td>User first name. Character limit is 100.</td></tr><tr><td>LastName</td><td>string</td><td>yes</td><td>yes</td><td>yes</td><td>yes</td><td>yes</td><td>User last name. Character limit is 100.</td></tr><tr><td>CompanyName</td><td>string</td><td>no</td><td>yes</td><td>yes</td><td>no</td><td>yes</td><td>Company name, in case it's a company. Character limit is 100.</td></tr><tr><td>Email</td><td>string</td><td>yes</td><td>yes</td><td>yes</td><td>yes</td><td>yes</td><td>User e-mail</td></tr><tr><td>Language</td><td>string</td><td>no</td><td>no</td><td>no</td><td>no</td><td>no</td><td>Language preference (en, fr)</td></tr><tr><td>PhoneNumber</td><td>string</td><td>no</td><td>no</td><td>no</td><td>on</td><td>no</td><td>Phone number (maximum 10 characters, no special characters accepted)</td></tr><tr><td>ClientUserId</td><td>string</td><td>no</td><td>no</td><td>no</td><td>no</td><td>no</td><td>External Client User Identifier</td></tr><tr><td>DateOfBirth</td><td>date</td><td>no</td><td>no</td><td>no</td><td>yes</td><td>no</td><td>Date of birth</td></tr></tbody></table>
{% endtab %}

{% tab title="US" %}

| Parameter     | Type   | ACH (Mandatory) | Debit Card (Mandatory) | Credit Card (Mandatory) | Description                                                          |
| ------------- | ------ | --------------- | ---------------------- | ----------------------- | -------------------------------------------------------------------- |
| FirstName     | string | yes             | yes                    | yes                     | User first name                                                      |
| LastName      | string | yes             | yes                    | yes                     | User last name                                                       |
| CompanyName   | string | no              | no                     | no                      | Company name, in case it's a company                                 |
| Email         | string | yes             | yes                    | no                      | User e-mail                                                          |
| PhoneNumber   | string | yes             | no                     | no                      | Phone number (maximum 10 characters, no special characters accepted) |
| ClientUserId  | string | no              | no                     | no                      | External Client User Identifier                                      |
| BusinessTaxId | string | yes             | -                      | -                       | Business tax ID, required in case User is a company                  |
| IdType        | string | yes             | -                      | -                       | ID type, can be `DL` or `SSN`                                        |
| IdNumber      | string | yes             | -                      | -                       | ID number                                                            |
| IdState       | string | yes             | -                      | -                       | tate where ID was issued                                             |
| {% endtab %}  |        |                 |                        |                         |                                                                      |
| {% endtabs %} |        |                 |                        |                         |                                                                      |

**Response**

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| id        | guid | User id     |

## Add payment instrument

Use this endpoint to add a payment instrument's information for an existing user. Include the user id as a path parameter in the URL and the new values in the body payload.

`Method: POST`

`Endpoint: {{env}}/api/user/AddPaymentInstrumentInformation/{user_id}`&#x20;

{% hint style="warning" %}
This endpoint is only available to US customers.
{% endhint %}

{% tabs %}
{% tab title="Request (ACH)" %}

```json
{
  "AccountType": "Checking",
  "RoutingNumber": "123456789",
  "AccountNumber": "1234567890",
  "AddressLine1": "123 street",
  "AddressLine2": "Apartment 123",
  "AddressPostalCode": "11215",
  "AddressCountry": "USA",
  "AddressCity": "Brooklyn",
  "AddressState": "NY"
}
```

{% endtab %}

{% tab title="Request (Debit Card)" %}

```json
{
  "Number": "4000230000048889",
  "ExpireMonth": "08",
  "ExpireYear": "2026",
  "AddressLine1": "123 street",
  "AddressLine2": "Apartment 123",
  "AddressPostalCode": "11215",
  "AddressCountry": "USA",
  "AddressCity": "Brooklyn",
  "AddressState": "NY",
  "PaymentMethod": "DebitCard"
}
```

{% endtab %}

{% tab title="Request (Credit Card)" %}

```json
{
  "Number": "4000230000048889",
  "ExpireMonth": "08",
  "ExpireYear": "2026",
  "Cvv": "1234",
  "AddressLine1": "123 street",
  "AddressLine2": "Apartment 123",
  "AddressPostalCode": "11215",
  "AddressCountry": "USA",
  "AddressCity": "Brooklyn",
  "AddressState": "NY",
  "PaymentMethod": "CreditCard"
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
  "statusCode": 200,
  "message": "POST Request successful.",
  "isError": false,
  "result": "0bc9894d-....-f691024aca19"
}
```

{% endtab %}
{% endtabs %}

**Request parameters**

<table><thead><tr><th width="193">Parameter</th><th width="82">Type</th><th width="82">ACH (Mandatory)</th><th>Debit Card (Mandatory)</th><th>Credit Card (Mandatory)</th><th>Description</th></tr></thead><tbody><tr><td>AccountType</td><td>string</td><td>yes</td><td>-</td><td>-</td><td>Account Type can be either Checking or Savings</td></tr><tr><td>RoutingNumber</td><td>string</td><td>yes</td><td>-</td><td>-</td><td>Routing Number, 9 digits</td></tr><tr><td>AccountNumber</td><td>string</td><td>yes</td><td>-</td><td>-</td><td>Account Number</td></tr><tr><td>ExternallyVerified</td><td>boolean</td><td>no</td><td>-</td><td>-</td><td>Set to true to skip bank account verification</td></tr><tr><td>Number</td><td>string</td><td>-</td><td>yes</td><td>yes</td><td>Card number, 16 digits</td></tr><tr><td>ExpireMonth</td><td>string</td><td>-</td><td>yes</td><td>yes</td><td>Card expiry month, 2 digits</td></tr><tr><td>ExpireYear</td><td>string</td><td>-</td><td>yes</td><td>yes</td><td>Card expiry year, 4 digits</td></tr><tr><td>Cvv</td><td>string</td><td>-</td><td>-</td><td>yes</td><td>Credit Card verification number, 3-4 digits</td></tr><tr><td>AddressLine1</td><td>string</td><td>yes</td><td>yes</td><td>yes</td><td>Card address line 1 (minimum 3 characters, maximum 30 characters)</td></tr><tr><td>AddressLine2</td><td>string</td><td>no</td><td>no</td><td>no</td><td>Card address line 2 (maximum 30 characters)</td></tr><tr><td>AddressPostalCode</td><td>string</td><td>yes</td><td>yes</td><td>yes</td><td>Card address postal code</td></tr><tr><td>AddressCountry</td><td>string</td><td>yes</td><td>yes</td><td>yes</td><td>Card address country</td></tr><tr><td>AddressCity</td><td>string</td><td>yes</td><td>yes</td><td>yes</td><td>Card address city (maximum 32 characters)</td></tr><tr><td>AddressState</td><td>string</td><td>yes</td><td>yes</td><td>yes</td><td>Card address state</td></tr></tbody></table>

**Response**

<table><thead><tr><th width="289">Parameter</th><th width="173">Type</th><th>Description</th></tr></thead><tbody><tr><td>payment_instrument_id</td><td>guid</td><td>Payment Instrument id</td></tr></tbody></table>

## Update payment instrument

Use this endpoint to edit a payment instrument's information for an existing user. Include the user id as a path parameter in the URL and the new values in the body payload.

`Method: PATCH`

`Endpoint: {{env}}/api/user/UpdatePaymentInstrumentInformation/{user_id}/{payment_instrument_id}`&#x20;

{% hint style="warning" %}
This endpoint is only available to US customers.
{% endhint %}

{% tabs %}
{% tab title="Request (ACH)" %}

```json
{
  "AccountType": "Checking",
  "RoutingNumber": "123456789",
  "AccountNumber": "1234567890",
  "AddressLine1": "123 street",
  "AddressLine2": "Apartment 123",
  "AddressPostalCode": "11215",
  "AddressCountry": "USA",
  "AddressCity": "Brooklyn",
  "AddressState": "NY"
}
```

{% endtab %}

{% tab title="Request (Debit Card)" %}

```json
{
  "Number": "4000230000048889",
  "ExpireMonth": "08",
  "ExpireYear": "2026",
  "AddressLine1": "123 street",
  "AddressLine2": "Apartment 123",
  "AddressPostalCode": "11215",
  "AddressCountry": "USA",
  "AddressCity": "Brooklyn",
  "AddressState": "NY",
  "PaymentMethod": "DebitCard"
}
```

{% endtab %}

{% tab title="Request (Credit Card)" %}

```json
{
  "Number": "4000230000048889",
  "ExpireMonth": "08",
  "ExpireYear": "2026",
  "Cvv": "1234",
  "AddressLine1": "123 street",
  "AddressLine2": "Apartment 123",
  "AddressPostalCode": "11215",
  "AddressCountry": "USA",
  "AddressCity": "Brooklyn",
  "AddressState": "NY",
  "PaymentMethod": "CreditCard"
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
  "statusCode": 200,
  "message": "POST Request successful.",
  "isError": false,
  "result": "0bc9894d-....-f691024aca19"
}
```

{% endtab %}
{% endtabs %}

**Request parameters**

<table><thead><tr><th width="194">Parameter</th><th width="81">Type</th><th width="108">ACH (Mandatory)</th><th>Debit Card (Mandatory)</th><th>Credit Card (Mandatory)</th><th>Description</th></tr></thead><tbody><tr><td>AccountType</td><td>string</td><td>yes</td><td>-</td><td>-</td><td>Account Type can be either Checking or Savings</td></tr><tr><td>RoutingNumber</td><td>string</td><td>yes</td><td>-</td><td>-</td><td>Routing Number, 9 digits</td></tr><tr><td>AccountNumber</td><td>string</td><td>yes</td><td>-</td><td>-</td><td>Account Number</td></tr><tr><td>ExternallyVerified</td><td>boolean</td><td>no</td><td>-</td><td>-</td><td>Set to true to skip bank account verification</td></tr><tr><td>Number</td><td>string</td><td>-</td><td>yes</td><td>yes</td><td>Card number, 16 digits</td></tr><tr><td>ExpireMonth</td><td>string</td><td>-</td><td>yes</td><td>yes</td><td>Card expiry month, 2 digits</td></tr><tr><td>ExpireYear</td><td>string</td><td>-</td><td>yes</td><td>yes</td><td>Card expiry year, 4 digits</td></tr><tr><td>Cvv</td><td>string</td><td>-</td><td>-</td><td>yes</td><td>Credit Card verification number, 3-4 digits</td></tr><tr><td>AddressLine1</td><td>string</td><td>yes</td><td>yes</td><td>yes</td><td>Card address line 1 (minimum 3 characters, maximum 30 characters)</td></tr><tr><td>AddressLine2</td><td>string</td><td>no</td><td>no</td><td>no</td><td>Card address line 2 (maximum 30 characters)</td></tr><tr><td>AddressPostalCode</td><td>string</td><td>yes</td><td>yes</td><td>yes</td><td>Card address postal code</td></tr><tr><td>AddressCountry</td><td>string</td><td>yes</td><td>yes</td><td>yes</td><td>Card address country</td></tr><tr><td>AddressCity</td><td>string</td><td>yes</td><td>yes</td><td>yes</td><td>Card address city (maximum 32 characters)</td></tr><tr><td>AddressState</td><td>string</td><td>yes</td><td>yes</td><td>yes</td><td>Card address state</td></tr></tbody></table>

**Response**

<table><thead><tr><th width="295">Parameter</th><th width="197">Type</th><th>Description</th></tr></thead><tbody><tr><td>user_id</td><td>guid</td><td>User id</td></tr><tr><td>payment_instrument_id</td><td>guid</td><td>Payment Instrument id</td></tr></tbody></table>

### Update bank account information

Use this endpoint if you want to edit the bank account information from a user. The user id is informed in the url and the body payload contains the user information.

`Method: PATCH`

`Endpoint: {{env}}/api/user/UpdateBankAccountInformation/{user_id}`

{% tabs %}
{% tab title="Payload" %}

```json
{
  "InstitutionNumber": "111",
  "TransitNumber": "12345",
  "AccountNumber": "1234567"
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
  "statusCode": 200,
  "message": "POST Request successful.",
  "isError": false,
  "result": "0bc9894d-....-f691024aca19"
}
```

{% endtab %}
{% endtabs %}

**Input parameters**

<table><thead><tr><th width="186.79998779296875">Parameter</th><th width="122.4000244140625">Type</th><th width="147.800048828125">EFT (Mandatory)</th><th>Description</th></tr></thead><tbody><tr><td>InstitutionNumber</td><td>string</td><td>yes</td><td>Institution Number, 3 digits</td></tr><tr><td>TransitNumber</td><td>string</td><td>yes</td><td>Transit Number, 5 digits</td></tr><tr><td>AccountNumber</td><td>string</td><td>yes</td><td>Account Number</td></tr></tbody></table>

**Response**

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| id        | guid | User id     |

Use this endpoint if you want to edit the credit card billing address information from a user. The user id is informed in the url and the body payload contains the address information.

`Method: PATCH`

`Endpoint: {{env}}/api/user/UpdateBillingAddressInformation/{user_id}`

{% hint style="warning" %}
Note that this endpoint is restricted to Canadian customers.
{% endhint %}

{% tabs %}
{% tab title="Request " %}

```json
{
  "AddressLine1": "123 street",
  "AddressLine2": "Apartment 123",
  "AddressPostalCode": "A1A 1A1",
  "AddressCountry": "Canada",
  "AddressCity": "Toronto",
  "AddressState": "ON"
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
  "statusCode": 200,
  "message": "POST Request successful.",
  "isError": false,
  "result": "0bc9894d-....-f691024aca19"
}
```

{% endtab %}
{% endtabs %}

**Input parameters**

| Parameter         | Type   | Credit Card (Mandatory) | Visa Direct (Mandatory) | Description                                    |
| ----------------- | ------ | ----------------------- | ----------------------- | ---------------------------------------------- |
| AddressLine1      | string | no                      | yes                     | Billing address line 1 (maximum 60 characters) |
| AddressLine2      | string | no                      | yes                     | Billing address line 2 (maximum 60 characters) |
| AddressPostalCode | string | no                      | yes                     | Billing address postal code                    |
| AddressCountry    | string | no                      | yes                     | Billing address country (Canada)               |
| AddressCity       | string | no                      | yes                     | Billing address city (maximum 32 characters)   |
| AddressState      | string | no                      | yes                     | Billing address state/province                 |

**Response**

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| id        | guid | User id     |

### Credit / debit card details

Use this endpoint if you want to edit the credit card information for a user. The user id is informed in the url and the body payload contains the user information.

`Method: PATCH`

`Endpoint: {{env}}/api/user/UpdateCreditCardInformation/{user_id}`

{% hint style="warning" %}
Note that this endpoint is restricted to Canadian customers.
{% endhint %}

{% tabs %}
{% tab title="Payload" %}

```json
{
  "Number": "4242424242424242",
  "ExpireMonth": "01",
  "ExpireYear": "2025",
  "CVV": "111",
  "AddressLine1": "123 street",
  "AddressLine2": "Apartment 123",
  "AddressPostalCode": "A1A 1A1",
  "AddressCountry": "Canada",
  "AddressCity": "Toronto",
  "AddressState": "ON"
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
  "statusCode": 200,
  "message": "POST Request successful.",
  "isError": false,
  "result": "0bc9894d-....-f691024aca19"
}
```

{% endtab %}
{% endtabs %}

**Input parameters**

| Parameter         | Type   | Credit Card (Mandatory) | Visa Direct (Mandatory) | Description                                    |
| ----------------- | ------ | ----------------------- | ----------------------- | ---------------------------------------------- |
| Number            | string | yes                     | yes                     |                                                |
| ExpireMonth       | number | yes                     | yes                     | Card expiry month, 2 digits                    |
| ExpireYear        | number | yes                     | yes                     | Card expiry year, 4 digits                     |
| CVV               | string | yes                     | yes                     | Security code, 3 or 4 digits                   |
| AddressLine1      | string | no                      | yes                     | Billing address line 1 (maximum 60 characters) |
| AddressLine2      | string | no                      | yes                     | Billing address line 2 (maximum 60 characters) |
| AddressPostalCode | string | no                      | yes                     | Billing address postal code                    |
| AddressCountry    | string | no                      | yes                     | Billing address country (Canada)               |
| AddressCity       | string | no                      | yes                     | Billing address city (maximum 32 characters)   |
| AddressState      | string | no                      | yes                     | Billing address state/province                 |

**Response**

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| id        | guid | User id     |

## Update prepaid card information

Use this endpoint to update the billing address information attached to a user.

`Method: PUT`

`Endpoint: {{env}}/api/User/UpdatePrepaidCardInformation/{{userId}}`

{% tabs %}
{% tab title="Payload" %}

```json
{
  "AddressLine1": "123 Main St",
  "AddressLine2": "Apt 4B",
  "AddressPostalCode": "N1G 5H6",
  "AddressCountry": "CA",
  "AddressCity": "Anytown Hills",
  "AddressState": "ON"
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
    "statusCode": 200,
    "message": "PUT Request successful.",
    "isError": false,
    "result": {
        "Id": "d1751e46-042c-492b-bc2a-cfa0aaea1016",
        "User": {
            "Id": "88a24aaa-214c-40f3-beeb-7666a91f9248",
            "UserId": "a1f26783-8e7b-4aeb-adc4-60f47c5a9f4c",
            "FirstName": "Sebastian",
            "LastName": "Gadzinski",
            "DateOfBirth": "2008-03-05",
            "Occupation": "ZUM_DEV",
            "ShippingAddress": {
                "AddressLine1": "123 Main Street",
                "AddressLine2": "Suite 123",
                "AddressPostalCode": "A1A 1A1",
                "AddressCountry": "CA",
                "AddressCity": "Anytown",
                "AddressState": "ON"
            },
            "BillingAddress": {
                "AddressLine1": "123 Main Stre",
                "AddressLine2": "Suite 123",
                "AddressPostalCode": "A1A 1A1",
                "AddressCountry": "CA",
                "AddressCity": "Anytown",
                "AddressState": "ON"
            }
        },
        "CardBrand": "Unknown",
        "CardApplicationStatus": "Approved",
        "OnboardStatus": "InProgress",
        "CardNumber": "************8704",
        "ExpireMonth": "03",
        "ExpireYear": "29",
        "CardStatus": "IssuedInactive",
        "CardReferenceId": "599000153544",
        "CardRegistrationStatus": "NotRegistered",
        "CardProgramId": "Zumrail_ProdT",
        "CardHolderId": "599000000000001535",
        "AvailableBalance": 10.0,
        "LedgerBalance": 10.0,
        "CustomerId": "04054b0c-a6d4-48e4-9bc8-36ebbacc408f",
        "CreatedAt": "2026-03-17T00:20:15.979253Z",
        "CardActivatedAt": "2026-03-17T00:21:10.897278Z",
        "IsCardActive": true
    }
}
```

{% endtab %}
{% endtabs %}

#### **Input parameters**

<table><thead><tr><th width="201.20001220703125">Parameter</th><th width="135.79998779296875">Type</th><th width="114.20001220703125">Required</th><th>Description</th></tr></thead><tbody><tr><td>UserId</td><td>Guid</td><td>Yes</td><td>User Id</td></tr><tr><td>AddressLine1</td><td>String</td><td>Yes</td><td>Address</td></tr><tr><td>AddressLine2</td><td>String</td><td>No</td><td>Second Address</td></tr><tr><td>AddressPostalCode</td><td>String</td><td>Yes</td><td>Postal code</td></tr><tr><td>AddressCountry</td><td>String</td><td>No</td><td>Country Code (CA is only available for Baas)</td></tr><tr><td>AddressCity</td><td>String</td><td>Yes</td><td>City</td></tr><tr><td>AddressState</td><td>String</td><td>Yes</td><td>Province</td></tr></tbody></table>

#### Response

| Category               | Type        | Description                                      |
| ---------------------- | ----------- | ------------------------------------------------ |
| CardNumber             | String      | Card number                                      |
| ExpireMonth            | String      | Month card expires on                            |
| ExpireYear             | String      | Year card expires on                             |
| CustomerId             | Guid        | Customers Id                                     |
| **PrepaidCardUser**    | <p><br></p> | <p><br></p>                                      |
| Id                     | Guid        | Id of prepaid card                               |
| UserId                 | Guid        | UserId of prepaid card                           |
| FirstName              | String      | First name                                       |
| LastName               | String      | Last name                                        |
| CardApplicationStatus  | String      | Card application status                          |
| OnboardStatus          | String      | Card onboarding status                           |
| CardNumber             | String      | Card number                                      |
| CardStatus             | String      | Card status                                      |
| CardReferenceId        | String      | Card reference id                                |
| CardProgramId          | String      | Card program id                                  |
| AvailableBalance       | Number      | Current balance of the card                      |
| CustomerId             | Guid        | Customer Id                                      |
| OnboardId              | Guid        | Onboarding Id                                    |
| Email                  | String      | Email on card                                    |
| CardApplicationStatus  | String      | Status of card application                       |
| CardStatus             | String      | Card status                                      |
| CardRegistrationStatus | String      | Status of card registration                      |
| AvailableBalance       | Number      | Current balance of the card                      |
| LedgerBalance          | Number      | Ledger balance of the card                       |
| CardHolderId           | String      | Card Holder Id                                   |
| CardReferenceId        | String      | Card Reference Id                                |
| CardRegistered         | Boolean     | Flag for if the card is registered               |
| AddressLine1           | String      | Address                                          |
| AddressLine2           | String      | Second Address                                   |
| AddressPostalCode      | String      | Postal code                                      |
| AddressCountry         | String      | Country Code                                     |
| AddressCity            | String      | City                                             |
| AddressState           | String      | Province                                         |
| IsZumCardActive        | Boolean     | Flag for if the zum card for this user is active |

## Approve card

Use this endpoint to approve a user’s prepaid card and add a new card to the user.

`Method: POST`

`Endpoint: {{env}}/api/user/approveZumCard`

#### **Request Parameters:**

| Parameter     | Type   | Mandatory | Description              |
| ------------- | ------ | --------- | ------------------------ |
| UserId        | Guid   | Yes       | User Id                  |
| CardProgramId | String | Yes       | Customer Card Program Id |

## Update shipping address

Use this endpoint if you want to update the shipping address information from a user. The user id is informed in the url and the body payload contains the address information.

`Method: PATCH`

`Endpoint: {{env}}/api/user/UpdateShippingAddressInformation/{user_id}/{sameAsBilling}`

{% hint style="info" %}
The `sameAsBilling` boolean, when set to true, populates the shipping address with the billing address details
{% endhint %}

{% tabs %}
{% tab title="Payload" %}

```json
{
  "AddressLine1": "123 street",
  "AddressLine2": "Apartment 123",
  "AddressPostalCode": "A1A 1A1",
  "AddressCountry": "Canada",
  "AddressCity": "Toronto",
  "AddressState": "ON"
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
  "statusCode": 200,
  "message": "POST Request successful.",
  "isError": false,
  "result": "0bc9894d-....-f691024aca19"
}
```

{% endtab %}
{% endtabs %}

**Input parameters**

| Parameter         | Type    | Credit Card (Mandatory) | Visa Direct (Mandatory) | Zum Card (Mandatory) | Description                                     |
| ----------------- | ------- | ----------------------- | ----------------------- | -------------------- | ----------------------------------------------- |
| AddressLine1      | string  | no                      | yes                     | yes                  | shipping address line 1 (maximum 60 characters) |
| AddressLine2      | string  | no                      | yes                     | no                   | shipping address line 2 (maximum 60 characters) |
| AddressPostalCode | string  | no                      | yes                     | yes                  | shipping address postal code                    |
| AddressCountry    | string  | no                      | yes                     | no                   | shipping address country (Canada)               |
| AddressCity       | string  | no                      | yes                     | yes                  | shipping address city (maximum 32 characters)   |
| AddressState      | string  | no                      | yes                     | yes                  | shipping address state/province                 |
| sameAsBilling     | boolean | no                      | no                      | no                   | shipping address is as the Billing Address      |

**Response**

| Parameter     | Type    | Description                                         |
| ------------- | ------- | --------------------------------------------------- |
| id            | guid    | User id                                             |
| sameAsBilling | boolean | Use the billing address as shipping address if true |

## Get a specific user

Use this endpoint if you want to get all the information for a specific user. The user id is informed in the url.

`Method: GET`

`Endpoint: {{env}}/api/user/{user_id}`

{% tabs %}
{% tab title="Response (Canada)" %}

```json
{
  "statusCode": 200,
  "message": "GET Request successful.",
  "isError": false,
  "result": {
    "Id": "03dcefc9-4aad-4184-a93f-dd734a1e9ddc",
    "CreatedAt": "2020-05-13T14:23:32.809446",
    "FirstName": "john",
    "LastName": "Doe",
    "CompanyName": null,
    "PhoneNumber": null,
    "Email": "johndoe@gmail.com",
    "Language": "en",
    "ClientUserId": "*",
    "LastRefresh": "0001-01-01T00:00:00",
    "AggregationRequestId": "15bb883e-e0bb-4a58-9a2c-f8ff234033b4",
    "BankAccountInformation": {
      "Institution": "Bank Name",
      "InstitutionNumber": "123",
      "TransitNumber": "12345",
      "AccountNumber": "1234567",
      "FirstName": null,
      "LastName": null,
      "AggregationStatus": "Connected",
      "LastTimeRefreshed": "2020-05-13T14:24:05.82614",
      "AggregationFailedReason": "None",
      "AggregationBalance": 50007.98,
      "NameMatch": {
        "Score": 90,
        "Result": "Matched"
      }      
    },
    "CreditCardInformation": {
      "Number": "************1234",
      "ExpireMonth": "01",
      "ExpireYear": "2020",
      "AddressLine1": "123 street",
      "AddressLine2": "Apartment 123",
      "AddressPostalCode": "A1A 1A1",
      "AddressCountry": "Canada",
      "AddressCity": "Toronto",
      "AddressState": "ON",
      "BrandName": "Visa",
      "Institution": "TD",
      "VerifyCreditCardStatus": "NotVerified",
      "VisaDirectCardType": "Debit",
      "CardMetadata": {
          "CvvResult": "MATCH",
          "AvsResult": "FULL_MATCH",
          "CardType": "Debit",
          "CardBrand": "VISA",
          "DebitCardPull": false,
          "DebitCardPush": false,
          "FinancialInstitution": "TD",
          "Country": "CA",
          "Currency": "CAD",
          "VisaDirectAniResult": "VERIFIED_MATCH"
       },
    },
    "TransactionsMethodsAvailable": {
      "Eft": true,
      "VisaDirectPull": false,
      "VisaDirectPush": false,
      "Interac": true,
      "CreditCard": true
    }
  }
}
```

{% endtab %}

{% tab title="Response (Canada - PrepaidCardUser)" %}

```json
{
    "statusCode": 200,
    "message": "GET Request successful.",
    "isError": false,
    "result": {
        "Id": "1763f576-b6b7-463c-b0b3-d009c0038be8",
        "CreatedAt": "2025-05-25T19:54:29.500759Z",
        "AccountType": "Personal",
        "Name": "New User",
        "FirstName": "New",
        "LastName": "User",
        "PhoneNumber": "2222222222",
        "Currency": "CAD",
        "ShippingSameAsBilling": false,
        "Email": "user@example.com",
        "DateOfBirth": "01-01-1990",
        "Occupation": "Business and Financial Operations (Accounting, Budgeting, Banking, Fundraising, Insurance Claims, etc.)",
        "Language": "en",
        "Customer": {
            "Id": "04054b0c-a6d4-48e4-9bc8-36ebbacc408f",
            "CompanyName": "Zum Card Customer"
        },
        "Addresses": [
            {
                "AddressLine1": "123 Main Street",
                "AddressLine2": "Suite 123",
                "AddressPostalCode": "A1A 1A1",
                "AddressCountry": "CA",
                "AddressCity": "Anytown",
                "AddressState": "ON",
                "AddressType": "Billing"
            }
        ],
        "TransactionMethodsAvailable": {
            "Interac": false,
            "Eft": false,
            "VisaDirectPull": false,
            "VisaDirectPush": false,
            "CreditCard": false,
            "PrepaidCard": true
        },
        "CardUser": {
            "Id": "88a24aaa-214c-40f3-beeb-7666a91f9248",
            "UserId": "a1f26783-8e7b-4aeb-adc4-60f47c5a9f4c",
            "FirstName": "Sebastian",
            "LastName": "Gadzinski",
            "Gender": "Male",
            "Email": "sebastian.gadzinski+hpeofif@zumrails.com",
            "PhoneNumber": "2222222222",
            "Occupation": "Developer",
            "DateOfBirth": "2008-03-05",
            "Language": "En",
            "Comment": "APPROVED.",
            "UserPrepaidCard": {
                "Id": "d1751e46-042c-492b-bc2a-cfa0aaea1016",
                "CardBrand": "Unknown",
                "CardApplicationStatus": "Approved",
                "OnboardStatus": "Approved",
                "CardNumber": "************8704",
                "CardStatus": "IssuedInactive",
                "CardReferenceId": "599000153544",
                "CardRegistrationStatus": "NotRegistered",
                "CardProgramId": "Zumrail_ProdT",
                "CardholderId": "599000000000001535",
                "AvailableBalance": 10.0,
                "LedgerBalance": 10.0,
                "CustomerId": "04054b0c-a6d4-48e4-9bc8-36ebbacc408f",
                "OnboardId": "bd98b10f-bd55-4f03-8f29-e8a42cb5c33d",
                "CreatedAt": "2026-03-17T00:20:15.979253Z",
                "CardActivatedAt": "2026-03-17T00:21:10.897278Z"
            },
            "ShippingAddress": {
                "AddressLine1": "123 Main Street",
                "AddressLine2": "Suite 123",
                "AddressPostalCode": "A1A 1A1",
                "AddressCountry": "CA",
                "AddressCity": "Anytown",
                "AddressState": "ON"
            },
            "BillingAddress": {
                "AddressLine1": "123 Main Stre",
                "AddressLine2": "Suite 123",
                "AddressPostalCode": "A1A 1A1",
                "AddressCountry": "CA",
                "AddressCity": "Anytown",
                "AddressState": "ON"
            },
            "Notifications": {
                "AllowTransactionEmailNotification": true,
                "AllowTransactionSmsNotification": true,
                "AllowProfileUpdateEmailNotification": true,
                "AllowProfileUpdateSmsNotification": true,
                "AllowLoginSessionEmailNotification": true,
                "AllowLoginSessionSmsNotification": true
            }
        },
        "HasPrepaidCardUser": true
    }
}
```

{% endtab %}

{% tab title="Response (US)" %}

```json
  {
      "statusCode": 200,
      "message": "GET Request successful.",
      "isError": false,
      "result": {
        "Id": "0bc9894d-....-f691024aca19",
        "CreatedAt": "2022-01-20T17:16:05.166865Z",
        "AccountType": "Personal",
        "Name": "John Doe",
        "FirstName": "John",
        "LastName": "Doe",
        "PhoneNumber": "",
        "Currency": "USD",
        "AggregationRequestId": "15bb883e-e0bb-4a58-9a2c-f8ff234033b4",
        "Customer":{
          "AchProvider": "Fiserv",
          "CompanyName": "Main Company Inc",
          "Id": "12345678-1234-1234-1234-123456789123"
        },
        "Email": "john.doe@zumrails.com",
        "IdType": "SSN",
        "IdNumber": "*****1234",
        "PaymentInstruments": [
          {
            "Id": "92142401-d17e-4906-91e8-389ba0d87e75",
            "RoutingNumber": "021000021",
            "AccountNumber": "1001001235",
            "AddressLine1": "123 street",
            "AddressLine2": "Apartment 123",
            "AddressCity": "Brooklyn",
            "AddressState": "NY",
            "AddressPostalCode": "11215",
            "AddressCountry": "USA",
            "AggregationBalance": 500000,
            "AggregationRequestId": "011e4acb-0b9b-4d30-9dfc-f6793fa97eaf",
            "AggregationStatus": "Connected",
            "AllowRefreshBalance": false,
            "PaymentMethod": "BankAccount",
            "BankAccountInformation": {
              "Id": "caeb3477-03ba-4874-a22e-a8e3b9ffa472",
              "Institution": "Zūm Rails Testing Bank",
              "AccountNumber": "4921710685",
              "AccountType": "Personal",
              "BankAccountType": "Checking",
              "RoutingNumber": "021000021",
              "Name": "John Doe",
              "FirstName": "John",
              "LastName": "Doe",              
              "CreatedAt": "2024-07-30T22:48:15.211332Z",
              "AggregationStatus": "Connected",
              "LastTimeRefreshed": "2024-07-30T23:11:49.323567Z",
              "AggregationBalance": 500000,
              "Country": "USA",              
              "AggregationRequestId": "011e4acb-0b9b-4d30-9dfc-f6793fa97eaf"
            }
          },
          {
            "Id": "0f429457-fec9-4c33-b945-3dae92bb10d3",
            "Number": "************8889",
            "ExpireYear": "26",
            "ExpireMonth": "08",
            "AddressLine1": "123 street",
            "AddressLine2": "Apartment 123",
            "AddressCity": "Brooklyn",
            "AddressState": "NY",
            "AddressPostalCode": "11215",
            "AddressCountry": "USA",
            "PaymentMethod": "DebitCard"
          },
          {
            "Id": "1a2b3c4d-fec9-4c33-b945-3dae92bb10d3",
            "Number": "************8596",
            "ExpireYear": "2026",
            "ExpireMonth": "08",
            "AddressLine1": "123 street",
            "AddressLine2": "Apartment 123",
            "AddressCity": "Brooklyn",
            "AddressState": "NY",
            "AddressPostalCode": "11215",
            "AddressCountry": "USA",
            "PaymentMethod": "CreditCard"
          }
        ],
        "TransactionMethodsAvailable": {
          "Ach": true,
          "DebitCard": true,
          "CreditCard": true,
          "CreditCard": true,
          "MoneyTransfer": false
        },
        "ClientUserId": ""
      }
  }
```

{% endtab %}
{% endtabs %}

**Response**

{% tabs %}
{% tab title="Canada" %}

| Parameter                        | Type     | Description                                                                                                                                                                       |
| -------------------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Id                               | guid     | User id                                                                                                                                                                           |
| CreatedAt                        | datetime | When the user was created                                                                                                                                                         |
| FirstName                        | string   | First name                                                                                                                                                                        |
| LastName                         | string   | Last name                                                                                                                                                                         |
| CompanyName                      | string   | Company name                                                                                                                                                                      |
| PhoneNumber                      | string   | Phone number                                                                                                                                                                      |
| Email                            | string   | E,mail address                                                                                                                                                                    |
| Language                         | string   | Language preference                                                                                                                                                               |
| ClientUserId                     | string   | External Client User Identifier                                                                                                                                                   |
| LastRefresh                      | datetime | Last name                                                                                                                                                                         |
| AggregationRequestId             | guid     | Unique identifier of the aggregation request                                                                                                                                      |
| **BankAccountInformation**       |          |                                                                                                                                                                                   |
| Institution                      | string   | Institution name                                                                                                                                                                  |
| InstitutionNumber                | string   | Institution Number                                                                                                                                                                |
| TransitNumber                    | string   | Transit Number                                                                                                                                                                    |
| AccountNumber                    | string   | Account Number                                                                                                                                                                    |
| FirstName                        | string   | Last name                                                                                                                                                                         |
| LastName                         | string   | Last name                                                                                                                                                                         |
| AggregationStatus                | string   | Indicate if the account is Connected                                                                                                                                              |
| LastTimeRefreshed                | datetime | When the last refresh happened                                                                                                                                                    |
| AggregationFailedReason          | string   | If failed, informs the failure reason                                                                                                                                             |
| AggregationBalance               | decimal  | EFT account current balance                                                                                                                                                       |
| NameMatch.Score                  | number   | A numerical value between 0 and 100 indicating the similarity between the provided user name and the name on the bank account. Scores exceeding 90 suggest a high degree of match |
| NameMatch.Result                 | string   | A description of the name-match score. It can be “Matched” or “Not Matched”                                                                                                       |
| **CreditCardInformation**        |          |                                                                                                                                                                                   |
| Number                           | string   | Last for digits only                                                                                                                                                              |
| ExpireMonth                      | number   | Card expiry month, 2 digits                                                                                                                                                       |
| ExpireYear                       | number   | Card expiry year, 4 digits                                                                                                                                                        |
| CVV                              | string   | Security code, 3 or 4 digits                                                                                                                                                      |
| AddressLine1                     | string   | Billing address line 1 (maximum 60 characters)                                                                                                                                    |
| AddressLine2                     | string   | Billing address line 2 (maximum 60 characters)                                                                                                                                    |
| AddressPostalCode                | string   | Billing address postal code                                                                                                                                                       |
| AddressCountry                   | string   | Billing address country                                                                                                                                                           |
| AddressCity                      | string   | Billing address city (maximum 32 characters)                                                                                                                                      |
| AddressState                     | string   | Billing address state/province                                                                                                                                                    |
| BrandName                        | string   | The brand, Visa, Master, etc.                                                                                                                                                     |
| Institution                      | string   | The institution of the card, valid for Visa Direct when using aggregation                                                                                                         |
| VerifyCreditCardStatus           | string   | If it is credit card and the card is verified                                                                                                                                     |
| **CardMetadata**                 |          |                                                                                                                                                                                   |
| CvvResult                        | string   | Result of the CVV check                                                                                                                                                           |
| AvsResult                        | string   | Result of the AVS check                                                                                                                                                           |
| VisaDirectAniResult              | string   | Result of the Visa Account Name Inquiry (ANI). Only applicable to Visa Direct.                                                                                                    |
| CardType                         | string   | Card type                                                                                                                                                                         |
| CardBrand                        | string   | Card brand                                                                                                                                                                        |
| DebitCardPull                    | boolean  | Boolean flag if the Visa debit card is eligible for pull. Only applicable to Visa Direct.                                                                                         |
| DebitCardPush                    | boolean  | Boolean flag if the Visa debit card is eligible for push. Only applicable to Visa Direct.                                                                                         |
| FinancialInstitution             | string   | The institution of the card, valid for Visa Direct when not using aggregation                                                                                                     |
| Country                          | string   | ISO 3166-1 alpha-2 country code of the country where the card is issued.                                                                                                          |
| Currency                         | string   | Currency code for the card.                                                                                                                                                       |
| **PrepaidCardUser**              |          |                                                                                                                                                                                   |
| Id                               | Guid     | Id of prepaid card                                                                                                                                                                |
| UserId                           | Guid     | UserId of prepaid card                                                                                                                                                            |
| FirstName                        | String   | First name                                                                                                                                                                        |
| LastName                         | String   | Last name                                                                                                                                                                         |
| CardApplicationStatus            | String   | Card application status                                                                                                                                                           |
| OnboardStatus                    | String   | Card onboarding status                                                                                                                                                            |
| CardNumber                       | String   | Card number                                                                                                                                                                       |
| CardStatus                       | String   | Card status                                                                                                                                                                       |
| CardReferenceId                  | String   | Card reference id                                                                                                                                                                 |
| CardProgramId                    | String   | Card program id                                                                                                                                                                   |
| AvailableBalance                 | String   | Current balance of the card                                                                                                                                                       |
| CustomerId                       | Guid     | Customer Id                                                                                                                                                                       |
| OnboardId                        | Guid     | Onboarding Id                                                                                                                                                                     |
| Email                            | String   | Email on card                                                                                                                                                                     |
| Language                         | String   | Language reference on card                                                                                                                                                        |
| HasPrepaidCardUser               | Boolean  | Flag for if user has prepaid card                                                                                                                                                 |
| **TransactionsMethodsAvailable** |          |                                                                                                                                                                                   |
| Eft                              | Boolean  | Indicate if this user can do EFT transactions                                                                                                                                     |
| VisaDirectPull                   | Boolean  | Indicate if this user can do Visa Direct PULL transactions                                                                                                                        |
| VisaDirectPush                   | Boolean  | Indicate if this user can do Visa Direct PUSH transactions                                                                                                                        |
| Interac                          | Boolean  | Indicate if this user can do Interac transactions                                                                                                                                 |
| CreditCard                       | Boolean  | Indicate if this user can do Credit Card transactions                                                                                                                             |
| ZumCard                          | Boolean  | Indicate if this user can do Zum Card transactions                                                                                                                                |
| {% endtab %}                     |          |                                                                                                                                                                                   |

{% tab title="US" %}

<table><thead><tr><th width="192.60003662109375">Parameter</th><th width="154.4000244140625">Type</th><th>Description</th></tr></thead><tbody><tr><td>Id</td><td>guid</td><td>User id</td></tr><tr><td>CreatedAt</td><td>datetime</td><td>When the user was created</td></tr><tr><td>FirstName</td><td>string</td><td>First name</td></tr><tr><td>LastName</td><td>string</td><td>Last name</td></tr><tr><td>CompanyName</td><td>string</td><td>Company name</td></tr><tr><td>PhoneNumber</td><td>string</td><td>Last name</td></tr><tr><td>Email</td><td>string</td><td>Last name</td></tr><tr><td>ClientUserId</td><td>string</td><td>External Client User Identifier</td></tr><tr><td>BusinessTaxId</td><td>string</td><td>Business tax ID, required in case User is a company</td></tr><tr><td>IdType</td><td>string</td><td>ID type, can be <code>DL</code> or <code>SSN</code></td></tr><tr><td>IdNumber</td><td>string</td><td>Lst 4 digits of the ID number</td></tr><tr><td>IdState</td><td>string</td><td>State where ID was issued</td></tr><tr><td>PaymentInstrumentId</td><td>string</td><td>Payment instrument id</td></tr><tr><td>AggregationRequestId</td><td>guid</td><td>Unique identifier of the aggregation request</td></tr><tr><td><strong>Customer</strong></td><td></td><td></td></tr><tr><td>Id</td><td>string</td><td>Customer id</td></tr><tr><td>CompanyName</td><td>string</td><td>Customer's company name</td></tr><tr><td><strong>PaymentInstruments</strong></td><td></td><td></td></tr><tr><td>id</td><td>string</td><td>Payment instrument id</td></tr><tr><td>RoutingNumber</td><td>string</td><td>Routing Number</td></tr><tr><td>AccountNumber</td><td>string</td><td>Account Number</td></tr><tr><td>PaymentMethod</td><td>string</td><td>Payment Method</td></tr><tr><td>Number</td><td>string</td><td>Masked card number with the last 4 digits</td></tr><tr><td>ExpireMonth</td><td>string</td><td>Card expiry month, 2 digits</td></tr><tr><td>ExpireYear</td><td>string</td><td>Card expiry year, 2 digits for <code>DebitCard</code> and 4 digits for <code>CreditCard</code></td></tr><tr><td>AddressLine1</td><td>string</td><td>Card address line 1 (minimum 3 characters, maximum 30 characters)</td></tr><tr><td>AddressLine2</td><td>string</td><td>Card address line 2 (maximum 30 characters)</td></tr><tr><td>AddressPostalCode</td><td>string</td><td>Card address postal code</td></tr><tr><td>AddressCountry</td><td>string</td><td>Card address country</td></tr><tr><td>AddressCity</td><td>string</td><td>Card address city (maximum 32 characters)</td></tr><tr><td>AddressState</td><td>string</td><td>Card address state</td></tr><tr><td>AggregationBalance</td><td>decimal</td><td>ACH account current balance</td></tr><tr><td>AggregationRequestId</td><td>guid</td><td>Unique identifier of the aggregation request</td></tr><tr><td>AggregationStatus</td><td>string</td><td>Indicate if the account is Connected</td></tr><tr><td>AllowRefreshBalance</td><td>Boolean</td><td>Indicate if the balance can be refreshed via Aggregation</td></tr><tr><td><strong>BankAccountInformation</strong></td><td></td><td></td></tr><tr><td>Id</td><td>guid</td><td>BankAccountInformation id</td></tr><tr><td>AccountNumber</td><td>string</td><td>Account Number</td></tr><tr><td>AccountType</td><td>string</td><td>Indicate the type of the account (Personal/Business)</td></tr><tr><td>AggregationBalance</td><td>decimal</td><td>ACH account current balance</td></tr><tr><td>AggregationRequestId</td><td>guid</td><td>Unique identifier of the aggregation request</td></tr><tr><td>AggregationStatus</td><td>string</td><td>Indicate if the account is Connected</td></tr><tr><td>BankAccountType</td><td>string</td><td>Indicate the type of the bank account</td></tr><tr><td>Country</td><td>string</td><td>Bank account country</td></tr><tr><td>CreatedAt</td><td>datetime</td><td>When the bank account information was created</td></tr><tr><td>Name</td><td>string</td><td>Full name</td></tr><tr><td>FirstName</td><td>string</td><td>First name</td></tr><tr><td>LastName</td><td>string</td><td>Last name</td></tr><tr><td>Institution</td><td>string</td><td>Institution name</td></tr><tr><td>RoutingNumber</td><td>string</td><td>Routing Number</td></tr><tr><td>LastTimeRefreshed</td><td>datetime</td><td>When the last refresh happened</td></tr><tr><td>AggregationFailedReason</td><td>string</td><td>If failed, informs the failure reason</td></tr><tr><td><strong>TransactionsMethodsAvailable</strong></td><td></td><td></td></tr><tr><td>Ach</td><td>Boolean</td><td>Indicate if this user can do ACH transactions</td></tr><tr><td>DebitCard</td><td>Boolean</td><td>Indicate if this user can do Debit card transactions</td></tr><tr><td>CreditCard</td><td>Boolean</td><td>Indicate if this user can do Credit card transactions</td></tr><tr><td>MoneyTransfer</td><td>Boolean</td><td>Indicate if this user can do money transfer transactions</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

**AggregationStatus**

<table><thead><tr><th width="159">Status</th><th>Description</th></tr></thead><tbody><tr><td>NotConnected</td><td>The account is not linked using Zūm Connect</td></tr><tr><td>Connected</td><td>Account is fully connected and ready to be used</td></tr><tr><td>Connecting</td><td>Process underway to link account</td></tr><tr><td>Refreshing</td><td>The account is linked, but the aggregation service is still refreshing/connecting the account.</td></tr><tr><td>RefreshFailed</td><td>The account was linked but the aggregation service could not refresh the most updated information</td></tr></tbody></table>

**CvvResult**

| Result    | Description                                                                |
| --------- | -------------------------------------------------------------------------- |
| MATCH     | Security code was matched.                                                 |
| NO\_MATCH | Security code does not match.                                              |
| UNKNOWN   | Security code verification was not performed. Issuer does not participate. |

**AvsResult**

| Result                    | Description                                                                                |
| ------------------------- | ------------------------------------------------------------------------------------------ |
| FULL\_MATCH               | Address and postal code match.                                                             |
| ADDRESS\_ONLY\_MATCH      | Address matches, but postal code does not or is unknown.                                   |
| POSTAL\_CODE\_ONLY\_MATCH | Postal code matches, but address does not or is unknown.                                   |
| NOT\_VERIFIED             | Address not verified. AVS not supported, or system not available, or incompatible formats. |
| NO\_MATCH                 | No match. Neither postal code nor address match.                                           |

**VisaDirectAniResult**

| Result                   | Description               |
| ------------------------ | ------------------------- |
| VERIFIED\_MATCH          | Name matched.             |
| VERIFIED\_NO\_MATCH      | Name does not match.      |
| VERIFIED\_PARTIAL\_MATCH | Name matched partially.   |
| NOT\_VERIFIED\_NO\_MATCH | Name match not performed. |
| NOT\_SUPPORTED           | Name match not supported. |

{% hint style="info" %}
**INFO**

When a new user is added using Zūm Connect, with financial data aggregation, it might take a few minutes until the account is completely connected. The Field BankAccountInformation. AggregationStatus will indicate when the account is connected. If the response is: Refreshing, call this endpoint again after 30 seconds.
{% endhint %}

{% hint style="info" %}
**TIP**

Some credit cards do not allow Visa Direct, if they have a credit card informed and it allows Visa Direct, the field CreditCardInformation.VisaDirect will be true.
{% endhint %}

## Delete a user

Use this endpoint if you want to delete a user. The user id is informed in the url. When deleting a user, all transactions already created for the respective user will remain active, but the user's data will be completely erased.

`Method: DELETE`

`Endpoint: {{env}}/api/user/{user_id}`

{% hint style="info" %}
**INFO**

When deleting a user, all transactions already created for the respective user will remain active, but the user's data will be completely erased.
{% endhint %}

{% tabs %}
{% tab title="Response" %}

```json
{
  "statusCode": 200,
  "message": "DELETE Request successful.",
  "isError": false,
  "result": ""
}
```

{% endtab %}
{% endtabs %}

## Search for a user

Use this endpoint to search for specific users. Results are returned with pagination, so to retrieve all users, you must make successive calls to this endpoint while incrementing the `PageNumber` parameter.

{% hint style="info" %}
**NOTE**\
This endpoint returns limited user details. To retrieve full information for a specific user, use the [Get a specific user](#get-a-specific-user) endpoint.
{% endhint %}

`Method: POST`

`Endpoint: {{env}}/api/user/filter`

{% tabs %}
{% tab title="Payload" %}

```json
{
  "CreatedAtOperator": "isBetween",
  "CreatedAtFrom": "2020-05-13T04:00:00.000Z",
  "CreatedAtTo": "2020-05-13T04:00:00.000Z",
  "UserName": "John Doe",
  "Email": "johndoe@gmail.com",
  "ClientUserIdOperator": "contains",
  "ClientUserId": "*",
  "Pagination": {
    "PageNumber": 1
  },
    "TransactionMethodAvailable": 9
}
```

{% endtab %}

{% tab title="Payload (Canada - CardUser)" %}

```json
{
    "CardStatus": "Activated",
    "CardOnboardStatus": "Approved",
    "GenericSearch": null,
    "Pagination": {
        "PageNumber": 1,
        "ItemsPerPage": 10
    }
}
```

{% endtab %}

{% tab title="Response (Canada)" %}

```json
{
  "statusCode": 200,
  "message": "POST Request successful.",
  "isError": false,
  "result": {
    "CurrentPage": 1,
    "PageSize": 1,
    "TotalCount": 1,
    "Items": [
      {
        "Id": "4085e4dc-f4f4-41d2-8bf2-20522aab5e1b",
        "CreatedAt": "2020-05-12T15:23:24.531531",
        "FirstName": "John",
        "LastName": "Doe",
        "Email": "johndoe@gmail.com",
        "CompanyName": "",
        "ClientUserId": "*",
        "BankAccountInformation": {
          "LastTimeRefreshed": "2020-05-12T15:23:24.496157",
          "AggregationStatus": "NotConected",
          "AggregationBalance": 123.45,
          "NameMatch": {
            "Score": 90,
            "Result": "Matched"
          }
        }
      }
    ]
  }
}
```

{% endtab %}

{% tab title="Response (Canada - CardUser)" %}

```json
{
    "statusCode": 200,
    "message": "POST Request successful.",
    "isError": false,
    "result": {
        "CurrentPage": 1,
        "PageSize": 10,
        "TotalCount": 3,
        "Items": [
            {
                "Id": "d50b3eae-7712-40a6-b9ed-f9b3b4383f68",
                "CreatedAt": "2026-03-24T18:56:04.240576Z",
                "AccountType": "Personal",
                "Name": "MarTwoFourOne MarTwoFourOne",
                "FirstName": "MarTwoFourOne",
                "LastName": "MarTwoFourOne",
                "PhoneNumber": "1234567890",
                "Currency": "CAD",
                "ShippingSameAsBilling": false,
                "Email": "dickson.li+martwofourone@zumrails.com",
                "DateOfBirth": "01-12-1990",
                "Occupation": "ZUM_DEV",
                "Customer": {
                    "Id": "887ead16-0a27-4f41-8557-da6423a37a6f",
                    "CompanyName": "Aug130947"
                },
                "Addresses": [],
                "TransactionMethodsAvailable": {
                    "Interac": true,
                    "Eft": false,
                    "VisaDirectPull": false,
                    "VisaDirectPush": false,
                    "CreditCard": false,
                    "CreditCardUs": false,
                    "Ach": false,
                    "SameDayAch": false,
                    "RtpFedNow": false,
                    "DebitCard": false,
                    "MoneyTransfer": false,
                    "PrepaidCard": true
                },
                "TransactionMethodsAvailableDescription": "Interac, Prepaid Card",
                "CardUser": {
                    "Id": "a4981e14-4636-4a1b-9c58-e0f117cfd50e",
                    "UserId": "d50b3eae-7712-40a6-b9ed-f9b3b4383f68",
                    "FirstName": "MarTwoFourOne",
                    "LastName": "MarTwoFourOne",
                    "Gender": "Male",
                    "Email": "dickson.li+martwofourone@zumrails.com",
                    "PhoneNumber": "1234567890",
                    "Occupation": "ZUM_DEV",
                    "DateOfBirth": "1990-01-12",
                    "Language": "En",
                    "Comment": "Ai Prise simulation for APPROVED.",
                    "UserPrepaidCard": {
                        "Id": "c7e39f56-8b71-434a-8137-29a6b089de13",
                        "CardBrand": "Unknown",
                        "CardApplicationStatus": "Approved",
                        "OnboardStatus": "Approved",
                        "CardNumber": "************2244",
                        "CardStatus": "Activated",
                        "CardReferenceId": "599000158153",
                        "CardRegistrationStatus": "NotRegistered",
                        "CardProgramId": "Zumrail_ProdT",
                        "CardholderId": "599000000000001569",
                        "AvailableBalance": 0.0,
                        "LedgerBalance": 0.0,
                        "CustomerId": "887ead16-0a27-4f41-8557-da6423a37a6f",
                        "OnboardId": "7a9ed2e1-4b6d-4759-96ed-61229eb237a3",
                        "CreatedAt": "2026-03-24T22:21:32.908101Z",
                        "CardActivatedAt": "2026-03-24T22:37:12.402398Z"
                    },
                    "ShippingAddress": {
                        "AddressLine1": "123 Main Street",
                        "AddressLine2": "Suite 123",
                        "AddressPostalCode": "A1A 1A1",
                        "AddressCountry": "CA",
                        "AddressCity": "Anytown",
                        "AddressState": "ON"
                    },
                    "BillingAddress": {
                        "AddressLine1": "123 Main Street",
                        "AddressLine2": "Suite 123",
                        "AddressPostalCode": "A1A 1A1",
                        "AddressCountry": "CA",
                        "AddressCity": "Anytown",
                        "AddressState": "ON"
                    },
                    "Notifications": {
                        "AllowTransactionEmailNotification": true,
                        "AllowTransactionSmsNotification": true,
                        "AllowProfileUpdateEmailNotification": true,
                        "AllowProfileUpdateSmsNotification": true,
                        "AllowLoginSessionEmailNotification": true,
                        "AllowLoginSessionSmsNotification": true
                    }
                },
                "HasPrepaidCardUser": true,
                "Language": "En"
            },
            {
                "Id": "e2667bc3-933b-441d-9322-cade8b4713c9",
                "CreatedAt": "2026-03-19T19:04:29.054787Z",
                "AccountType": "Personal",
                "Name": "MarNinteenOne MarNinteenOne",
                "FirstName": "MarNinteenOne",
                "LastName": "MarNinteenOne",
                "PhoneNumber": "1234567890",
                "Currency": "CAD",
                "ShippingSameAsBilling": false,
                "Email": "dickson.li+marninteenone@zumrails.com",
                "DateOfBirth": "01-01-1990",
                "Occupation": "ZUM_DEV",
                "Customer": {
                    "Id": "887ead16-0a27-4f41-8557-da6423a37a6f",
                    "CompanyName": "Aug130947"
                },
                "Addresses": [],
                "TransactionMethodsAvailable": {
                    "Interac": true,
                    "Eft": false,
                    "VisaDirectPull": false,
                    "VisaDirectPush": false,
                    "CreditCard": false,
                    "CreditCardUs": false,
                    "Ach": false,
                    "SameDayAch": false,
                    "RtpFedNow": false,
                    "DebitCard": false,
                    "MoneyTransfer": false,
                    "PrepaidCard": true
                },
                "TransactionMethodsAvailableDescription": "Interac, Prepaid Card",
                "CardUser": {
                    "Id": "52272c3b-19bc-4686-a855-87545c493ff4",
                    "UserId": "e2667bc3-933b-441d-9322-cade8b4713c9",
                    "FirstName": "MarNinteenOne",
                    "LastName": "MarNinteenOne",
                    "Gender": "Male",
                    "Email": "dickson.li+marninteenone@zumrails.com",
                    "PhoneNumber": "1234567890",
                    "Occupation": "ZUM_DEV",
                    "DateOfBirth": "1990-01-01",
                    "Language": "En",
                    "Comment": "Ai Prise simulation for APPROVED.",
                    "UserPrepaidCard": {
                        "Id": "ffb06b96-6656-4759-bb50-9989eefd35f3",
                        "CardBrand": "Unknown",
                        "CardApplicationStatus": "Approved",
                        "OnboardStatus": "Approved",
                        "CardNumber": "************8891",
                        "CardStatus": "Activated",
                        "CardReferenceId": "599000154238",
                        "CardRegistrationStatus": "NotRegistered",
                        "CardProgramId": "Zumrail_ProdT",
                        "CardholderId": "599000000000001542",
                        "AvailableBalance": 0.0,
                        "LedgerBalance": 0,
                        "CustomerId": "887ead16-0a27-4f41-8557-da6423a37a6f",
                        "OnboardId": "56ee4d95-723c-47cc-bd0d-464a02483aad",
                        "CreatedAt": "2026-03-19T19:04:23.583527Z",
                        "CardActivatedAt": "2026-03-19T19:13:17.412489Z"
                    },
                    "ShippingAddress": {
                        "AddressLine1": "123 Main Street",
                        "AddressLine2": "Suite 123",
                        "AddressPostalCode": "A1A 1A1",
                        "AddressCountry": "CA",
                        "AddressCity": "Anytown",
                        "AddressState": "ON"
                    },
                    "BillingAddress": {
                        "AddressLine1": "123 Main Street",
                        "AddressLine2": "Suite 123",
                        "AddressPostalCode": "A1A 1A1",
                        "AddressCountry": "CA",
                        "AddressCity": "Anytown",
                        "AddressState": "ON"
                    },
                    "Notifications": {
                        "AllowTransactionEmailNotification": true,
                        "AllowTransactionSmsNotification": true,
                        "AllowProfileUpdateEmailNotification": true,
                        "AllowProfileUpdateSmsNotification": true,
                        "AllowLoginSessionEmailNotification": true,
                        "AllowLoginSessionSmsNotification": true
                    }
                },
                "HasPrepaidCardUser": true,
                "Language": "En"
            }
        ]
    }
}
```

{% endtab %}

{% tab title="Response (US)" %}

```json
{
  "statusCode": 200,
  "message": "POST Request successful.",
  "isError": false,
  "result": {
    "CurrentPage": 1,
    "PageSize": 1,
    "TotalCount": 1,
    "Items": [
      {
        "Id": "4085e4dc-f4f4-41d2-8bf2-20522aab5e1b",
        "CreatedAt": "2020-05-12T15:23:24.531531",
        "AccountType": "Personal",
        "Name": "John Doe",
        "FirstName": "John",
        "LastName": "Doe",
        "PhoneNumber": "8888888888",
        "Currency": "USD",
        "Email": "johndoe@gmail.com",
        "Customer": {
          "Id": "911388da-5095-4cc9-bf51-cf636dd6c46b",
          "CompanyName": "US Company"         
        },
        "TransactionMethodsAvailable": {
          "Ach": true,
          "DebitCard": true,
          "CreditCard": true
        },
        "TransactionMethodsAvailableDescription": "ACH, Debit Card, Credit Card",
        "ClientUserId": "1",
        "IdType": "DL",
        "IdNumber": "*****6789",
        "IdState": "CA",
        "PaymentInstruments": [
          {
            "Id": "9dc4a630-883a-425c-b162-c8c8eb813775",
            "RoutingNumber": "122105155",
            "AccountNumber": "2020202020",
            "AddressLine1": "123 street",
            "AddressLine2": "Apartment 123",
            "AddressCity": "Brooklyn",
            "AddressState": "NY",
            "AddressPostalCode": "11215",
            "AddressCountry": "USA",
            "PaymentMethod": "BankAccount"
          },
          {
            "Id": "0f429457-fec9-4c33-b945-3dae92bb10d3",
            "Number": "************8889",
            "ExpireYear": "26",
            "ExpireMonth": "08",
            "AddressLine1": "123 street",
            "AddressLine2": "Apartment 123",
            "AddressCity": "Brooklyn",
            "AddressState": "NY",
            "AddressPostalCode": "11215",
            "AddressCountry": "USA",
            "PaymentMethod": "DebitCard"
          }
        ]
      }
    ]
  }
}
```

{% endtab %}
{% endtabs %}

**Operators**

Use these operators to filter by UserName, ClientUserId, CustomerName and CustomerId

<table><thead><tr><th width="330.7999267578125">Type</th><th>Description</th></tr></thead><tbody><tr><td>contains</td><td>Filter records that contains the value</td></tr><tr><td>excludes</td><td>Filter records that does not contains the value</td></tr><tr><td>exactly matches</td><td>Filter records that exactly matches the value</td></tr></tbody></table>

**Date operators**

Use these operators to filter by CreatedAt

<table><thead><tr><th width="330.7999267578125">Type</th><th>Description</th></tr></thead><tbody><tr><td>IsInTheLast</td><td>Filter records on or after</td></tr><tr><td>ExactlyMatches</td><td>Filter records with exact date</td></tr><tr><td>IsBetween</td><td>Filters records in range</td></tr><tr><td>IsAfter</td><td>Filter records after date</td></tr><tr><td>IsOnOrAfter</td><td>Filter records on or after</td></tr><tr><td>IsBefore</td><td>Filter records before date</td></tr><tr><td>IsBeforeOrOn</td><td>Filter records before or on date</td></tr></tbody></table>

**Input parameters**

<table><thead><tr><th width="193.79998779296875">Parameter</th><th width="142.4000244140625">Type</th><th width="138.7999267578125">Mandatory</th><th>Description</th></tr></thead><tbody><tr><td>GenericSearch</td><td>string</td><td>no</td><td>Filter users by user name and user email</td></tr><tr><td>UserName</td><td>string</td><td>no</td><td>First and/or Last name</td></tr><tr><td>UserNameOperator</td><td>string</td><td>no</td><td>Operator to filter with UserName property</td></tr><tr><td>CreatedAt</td><td>datetime</td><td>no</td><td>Create date</td></tr><tr><td>CreatedAtFrom</td><td>datetime</td><td>no</td><td>Start date (This field is only used when the operator is <code>IsBetween</code>)</td></tr><tr><td>CreatedAtTo</td><td>datetime</td><td>no</td><td>End date (This field is only used when the operator is <code>IsBetween</code>)</td></tr><tr><td>CreatedAtOperator</td><td>string</td><td>no</td><td>Operator to filter with CreatedAt properties</td></tr><tr><td>Email</td><td>string</td><td>no</td><td>User email</td></tr><tr><td>ClientUserId</td><td>string</td><td>no</td><td>External Client User Identifier</td></tr><tr><td>ClientUserIdOperator</td><td>string</td><td>no</td><td>Operator to filter with ClinetUserId property</td></tr><tr><td>CustomerName</td><td>string</td><td>no</td><td>Customer name (for partners only)</td></tr><tr><td>CustomerNameOperator</td><td>string</td><td>no</td><td>Operator to filter with CustomerName property</td></tr><tr><td>CustomerId</td><td>string</td><td>no</td><td>Customer Id (for partners only)</td></tr><tr><td>CustomerIdOperator</td><td>string</td><td>no</td><td>Operator to filter with CustomerId property</td></tr><tr><td>TransactionMethodAvailable</td><td>Integer</td><td>no</td><td>Transaction method available for the user</td></tr><tr><td>CardStatus</td><td>string</td><td>no</td><td>Operator to filter with the CardStatus property when a card is issued</td></tr><tr><td>CardOnboardStatus</td><td>string</td><td>no</td><td>Operator to filter with the CardOnboardStatus property when a card application is in progress</td></tr><tr><td><strong>Pagination</strong></td><td></td><td>no</td><td></td></tr><tr><td>PageNumber</td><td>number</td><td>no</td><td>The respective page, starting at 1</td></tr><tr><td>ItemsPerPage</td><td>number</td><td>no</td><td>The amount of items per page between 0 and 100</td></tr></tbody></table>

**Response**

{% tabs %}
{% tab title="Canada" %}

<table><thead><tr><th width="211.800048828125">Parameter</th><th width="172">Type</th><th>Description</th></tr></thead><tbody><tr><td>CurrentPage</td><td>number</td><td>The current page</td></tr><tr><td>PageSize</td><td>number</td><td>The amount of rows returned in the current page</td></tr><tr><td>TotalCount</td><td>number</td><td>The total rows the filter returns</td></tr><tr><td><strong>Items</strong></td><td></td><td>List of users</td></tr><tr><td>Id</td><td>guid</td><td>User id</td></tr><tr><td>CreatedAt</td><td>datetime</td><td>When the user was created</td></tr><tr><td>FirstName</td><td>string</td><td>First name</td></tr><tr><td>LastName</td><td>string</td><td>Last name</td></tr><tr><td>CompanyName</td><td>string</td><td>Company name</td></tr><tr><td>Email</td><td>string</td><td>User email</td></tr><tr><td>Language</td><td>string</td><td>Language reference</td></tr><tr><td>ClientUserId</td><td>string</td><td>External Client User Identifier</td></tr><tr><td><strong>BankAccountInformation</strong></td><td></td><td>* if available</td></tr><tr><td>LastTimeRefreshed</td><td>datetime</td><td>Last time the account was refreshed</td></tr><tr><td>AggregationStatus</td><td>string</td><td>Indicates if the account is linked with the aggregation service</td></tr><tr><td>AggregationBalance</td><td>decimal</td><td>Account balance</td></tr><tr><td>NameMatch.Score</td><td>number</td><td>A numerical value between 0 and 100 indicating the similarity between the provided user name and the name on the bank account. Scores exceeding 90 suggest a high degree of match</td></tr><tr><td>NameMatch.Result</td><td>string</td><td>A description of the name-match score. It can be “Matched” or “Not Matched”</td></tr><tr><td><strong>PrepaidCardUser</strong></td><td></td><td></td></tr><tr><td>Id</td><td>Guid</td><td>Id of prepaid card</td></tr><tr><td>UserId</td><td>Guid</td><td>UserId of prepaid card</td></tr><tr><td>FirstName</td><td>String</td><td>First name</td></tr><tr><td>LastName</td><td>String</td><td>Last name</td></tr><tr><td>CardApplicationStatus</td><td>String</td><td>Card application status</td></tr><tr><td>OnboardStatus</td><td>String</td><td>Card onboarding status</td></tr><tr><td>CardNumber</td><td>String</td><td>Card number</td></tr><tr><td>CardStatus</td><td>String</td><td>Card status</td></tr><tr><td>CardReferenceId</td><td>String</td><td>Card reference id</td></tr><tr><td>CardProgramId</td><td>String</td><td>Card program id</td></tr><tr><td>AvailableBalance</td><td>String</td><td>Current balance of the card</td></tr><tr><td>CustomerId</td><td>Guid</td><td>Customer Id</td></tr><tr><td>OnboardId</td><td>Guid</td><td>Onboarding Id</td></tr><tr><td>Email</td><td>String</td><td>Email on card</td></tr><tr><td>Language</td><td>String</td><td>Language preference on card</td></tr><tr><td>HasPrepaidCardUser</td><td>String</td><td>Indicate if this user can do  Prepaid Card transactions</td></tr></tbody></table>
{% endtab %}

{% tab title="US" %}

<table><thead><tr><th width="206.39996337890625">Parameter</th><th width="177.60009765625">Type</th><th>Description</th></tr></thead><tbody><tr><td>CurrentPage</td><td>number</td><td>The current page</td></tr><tr><td>PageSize</td><td>number</td><td>The amount of rows returned in the current page</td></tr><tr><td>TotalCount</td><td>number</td><td>The total rows the filter returns</td></tr><tr><td><strong>Items</strong></td><td></td><td>List of users</td></tr><tr><td>Id</td><td>guid</td><td>User id</td></tr><tr><td>CreatedAt</td><td>datetime</td><td>When the user was created</td></tr><tr><td>AccountType</td><td>datetime</td><td>Type of user account</td></tr><tr><td>FirstName</td><td>string</td><td>First name</td></tr><tr><td>LastName</td><td>string</td><td>Last name</td></tr><tr><td>CompanyName</td><td>string</td><td>Company name</td></tr><tr><td>Email</td><td>string</td><td>Email address</td></tr><tr><td>PhoneNumber</td><td>string</td><td>Phone number</td></tr><tr><td>Currency</td><td>string</td><td>Account currency</td></tr><tr><td>TransactionMethodsAvailableDescription</td><td>string</td><td>Description of available transaction methods</td></tr><tr><td>ClientUserId</td><td>string</td><td>External Client User Identifier</td></tr><tr><td>IdType</td><td>string</td><td>ID type, can be <code>DL</code> or <code>SSN</code></td></tr><tr><td>IdNumber</td><td>string</td><td>ID number</td></tr><tr><td>IdState</td><td>string</td><td>State where ID was issued</td></tr><tr><td><strong>Customer</strong></td><td></td><td>Associated Customer</td></tr><tr><td>Id</td><td>string</td><td>Customer Id</td></tr><tr><td>CompanyName</td><td>string</td><td>Customer's company name</td></tr><tr><td><strong>TransactionMethodsAvailable</strong></td><td>string</td><td>Available transaction methods for user</td></tr><tr><td>Ach</td><td>bool</td><td>Indicate ACH transaction activation state</td></tr><tr><td>DebitCard</td><td>bool</td><td>Indicate Debit card transaction activation state</td></tr><tr><td>CreditCard</td><td>bool</td><td>Indicate Credit card transaction activation state</td></tr><tr><td><strong>PaymentInstruments</strong></td><td></td><td>List of payment instruments</td></tr><tr><td>Id</td><td>string</td><td>Payment instrument id</td></tr><tr><td>RoutingNumber</td><td>string</td><td>Bank account Routing Number</td></tr><tr><td>AccountNumber</td><td>string</td><td>Bank account Account Number</td></tr><tr><td>PaymentMethod</td><td>string</td><td>Payment Method</td></tr><tr><td>Number</td><td>string</td><td>Masked card number with the last 4 digits</td></tr><tr><td>ExpireMonth</td><td>string</td><td>Card expiry month, 2 digits</td></tr><tr><td>ExpireYear</td><td>string</td><td>Card expiry year, 2 digits</td></tr><tr><td>AddressLine1</td><td>string</td><td>Card address line 1 (minimum 3 characters, maximum 30 characters)</td></tr><tr><td>AddressLine2</td><td>string</td><td>Card address line 2 (maximum 30 characters)</td></tr><tr><td>AddressPostalCode</td><td>string</td><td>Card address postal code</td></tr><tr><td>AddressCountry</td><td>string</td><td>Card address country</td></tr><tr><td>AddressCity</td><td>string</td><td>Card address city (maximum 32 characters)</td></tr><tr><td>AddressState</td><td>string</td><td>Card address state</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

TransactionMethod

<table data-header-hidden><thead><tr><th width="226">Number</th><th>Name</th><th>Currnecy</th></tr></thead><tbody><tr><td>#</td><td>Name</td><td>Currency</td></tr><tr><td>0</td><td>Eft</td><td>CAD</td></tr><tr><td>1</td><td>Interac</td><td>CAD</td></tr><tr><td>2</td><td>VisaDirect</td><td>CAD</td></tr><tr><td>3</td><td>CreditCard</td><td>CAD</td></tr><tr><td>4</td><td>Ach</td><td>USD</td></tr><tr><td>5</td><td>DebitCard</td><td>USD</td></tr><tr><td>6</td><td>CreditCardUs</td><td>USD</td></tr><tr><td>7</td><td>MoneyTransfer</td><td>USD</td></tr><tr><td>8</td><td>ZumTransfer</td><td>USD</td></tr><tr><td>9</td><td>ZumCard</td><td>CAD</td></tr><tr><td>10</td><td>SameDayAch</td><td>USD</td></tr><tr><td>11</td><td>RtpFedNow</td><td>USD</td></tr></tbody></table>

{% hint style="warning" %}
**INFO**

We recommend you search by a respective user, retrieve the user id and then use the GET specific user endpoint to retrieve the detailed information about the user.
{% endhint %}

## Check RTP or FedNow eligibility

You can use this endpoint to check if a US bank account is eligible for payments using RTP or FedNow rails.

`Method: POST`

`Endpoint: {{env}}/api/user/checkuseligibility`

{% tabs %}
{% tab title="Payload (US)" %}

```json
{
    "RoutingNumbers": [
        "011000138"
    ]
}
```

{% endtab %}

{% tab title="Response (US)" %}

```json
{
    "statusCode": 200,
    "message": "POST Request successful.",
    "isError": false,
    "result": {
        "Routing_numbers": [
            {
                "Eligible": true,
                "Fednow": false,
                "Routing_number": "011000138",
                "Rtp": true
            }
        ]
    }
}
```

{% endtab %}
{% endtabs %}

## Interac - Send Funds options

{% hint style="warning" %}
**INFO**

This endpoint is not available for all Zūm Rails customers, if you need to use it, make sure to talk with our team.
{% endhint %}

Use this endpoint if you want to know if the user is registered for automatic deposits, or if it's account router number eligible. The user id and channel are informed in the URL. The default channel is email\_address when channel parameter is not informed in the URL.

`Method: GET`

`Endpoint: {{env}}/api/user/GetInteracSendFundsOptions/{user_id}?channel={channel}`

Define the channel parameter to verify if the user's e-mail\_address or mobile\_number is registered for autodeposit. Channel options are: (`channel=email_address` or `channel=mobile_number`)

{% tabs %}
{% tab title="Response" %}

```json
{
  "statusCode": 200,
  "message": "GET Request successful.",
  "isError": false,
  "result": {
    "RequireSecurityQuestionAndAnswer": true,
    "AutomaticDepositAvailable": false,
    "AccountNumberRoutingAvailable": false
  }
}
```

{% endtab %}
{% endtabs %}

**Response**

<table><thead><tr><th width="294">Parameter</th><th width="92">Type</th><th>Description</th></tr></thead><tbody><tr><td>RequireSecurityQuestionAndAnswer</td><td>boolean</td><td>Indicate if security questions are required for the informed user in order to create an Interac Send Funds</td></tr><tr><td>AutomaticDepositAvailable</td><td>boolean</td><td>If true, means this user email or mobile number  is registered for Interac automatic deposit</td></tr><tr><td>AccountNumberRoutingAvailable</td><td>boolean</td><td>If true, means this user can accept Interac Account Routing ANR. The user needs to have the bank account information on file.</td></tr></tbody></table>

[^1]: To create a new user with card information via API, please contact support.

[^2]: When `IDType` is `SSN`, then `IDNumber` should be 9 digits long.
