# New-Card

## NewCard

The New Card API creates a new card for the given cardholder. The card will be sent through fullfilemnt (probably post mail) and its number and account are created in realtime. Card physical creation is done once, daily, by a batch file sent to the fulfillment house. The API contains all data relevant to cardholder (as address, city, etc).

## Input Parameters:

| Name                   | Required              | Definition                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | Comments                                                                                                                           |
| ---------------------- | --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| AddressLine1           | Y                     | <p>Format: Alphanumeric, 1-30<br>Can contains as well all special characters beside: <, ></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |                                                                                                                                    |
| AddressLine2           | N                     | <p>Format: Alphanumeric, 1-30<br>Can contains as well all special characters beside: <, ></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |                                                                                                                                    |
| CampaignCode           | N                     | Format: Alphanumeric, 1-120                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |                                                                                                                                    |
| City                   | Y                     | <p>Format: Alpha, 1-20<br>Can contains as well these special characters: /, -, space, comma, period, &</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                    |
| DateOfBirth            | Y                     | <p>Format: yyyy-mm-dd<br>Description: Cardholder must be above 17 years old</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                                                                    |
| DocExpirationDate      | C                     | <p>Format: YYYY-MM-DD<br>Description: must be after DocIssueDate.<br>Conditional value required only when DocType is 'PASS' 'IDL' 'UDL'or 'MCN'</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | Conditional value required only when DocType is 'PASS' 'IDL' 'UDL'or 'MCN' AND SecondaryCard param exist and is different than “Y” |
| DocId                  | Y                     | <p>Format: Alphanumeric, 3-16<br>Description: ID number of the government identification document used (defined in DocType)</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                                                                    |
| DocIssueDate           | C                     | <p>Format: YYYY-MM-DD<br>Description: must be before DocExpirationDate<br>Conditional value required only when DocType is 'PASS' or 'MCN'</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | Conditional value required only when DocType is 'PASS' or 'MCN' AND SecondaryCard param exist and is different than “Y”            |
| DocIssuer              | C                     | <p>Format: Alphanumeric, 2<br>Description: Country/State code.<br>Conditional value required only when DocType is 'PASS' 'IDL' 'UDL'or 'MCN'</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | Conditional value required only when DocType is 'PASS' 'IDL' 'UDL'or 'MCN' AND SecondaryCard param exist and is different than “Y” |
| DocType                | Y                     | <p>Format options:<br>SSN<br>PASS<br>UDL<br>MCN<br>INMATE<br>Description: Closed list of values.Type of government identification document used: SSN- Social Security Number, PASS - Passport number, 'UDL' – US Drivers license number,'MCN' - Matricula consular ,INMATE.</p>                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                                                                    |
| Email                  | N                     | <p>Format<br>General<br>o An email address is made up of a local part, an @ symbol, then a domain part (XXXXX\@XXXXX)<br>o Full Email Address Maximum Size: 254 chars<br>o Local part & domain consist of labels separated by dots<br>— Each label max size is 64<br>— Two successive dots are forbidden<br>— mail cannot start or end with a dot<br>— Labels cannot not start with a hyphen, end with a hyphen, or contain two successive hyphens.<br><br>Local part<br>o Size: 1-64 chars<br>o Allowed Chars: a-z, A-Z, 0-9, and special characters: - \_ . \~ ! ' \*<br><br>Domain part<br>o Size: 1-251 chars<br>o Allowed Chars: a-z, A-Z, 0-9, and special characters: - \_ .</p> |                                                                                                                                    |
| EnrollCashback         | N                     | <p>Format:Y/N<br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                    |
| EnrollMailNotification | N                     | Format:Y/N                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                    |
| Fax                    | N                     | <p>Format: Numeric, 6-10<br>Description: the fax number.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                                                                                                                                    |
| FirstName              | Y                     | <p>Format: Alpha, 2-50<br>Can contains as well these special characters: /, -, space, comma, period, &</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                    |
| IsReceiveSms           | N                     | <p>Format options:<br>Enabled (the cardholder has requested to receive an SMS for transactions and therefore he get SMS's)<br>Disabled (the cardholder has requested to not receive an SMS for transactions and therefore he does not get SMS's)<br>Blank (the cardholder has not requested to receive an SMS for transactions and therefore he does not get SMS's)<br>Mail (the cardholder has requested to receive an mail for transactions and therefore he get mails)<br><br>Description:Defines if the cardholder gets an SMS/Mail.</p>                                                                                                                                            |                                                                                                                                    |
| LastName               | Y                     | <p>Format: Alpha, 2-50<br>Can contains as well these special characters: /, -, space, comma, period, &</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                    |
| Latitude               | N                     | <p>Format: Alphanumeric, Comma, Dot, "-", 1-8 (can be 40.71435)<br>Description: Latitude can range between 0 and 90 degrees, and can be north or south. (Zero degrees latitude is neither north nor south.) The North Pole is at 90° north latitude; the South Pole is at 90° south latitude. The Equator is at zero degrees latitude.</p>                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                    |
| Longitude              | N                     | <p>Format: Alphanumeric, Comma, Dot, "-", 1-9 (can be -74.00597)<br>Description: Longitude can range between 0 and 180 degrees, and can be east or west. (Zero and 180 degrees longitude are neither east nor west.) The Greenwich Meridian, which passes through the United Kingdom, is at zero degrees longitude (unlike zero degrees latitude, the zero point for longitude is just an arbitrary choice, made for historical reasons).</p>                                                                                                                                                                                                                                           |                                                                                                                                    |
| MiddleInitial          | N                     | <p>Format: Alpha,1<br>Description: Middle name char of the cardholder.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                    |
| MobilePhone            | C                     | <p>Format: Numeric, 6-10<br>Description: Mobile Phone number</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | MobilePhone is required only if IsReceiveSms=Enabled                                                                               |
| Phone                  | Y                     | <p>Format: Numeric, 6-10<br>Description: Phone number</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                                                                                                                    |
| ProductTypeName        | C                     | <p>Format: Alphanumeric, 1-120<br>Description: Each sub program in Praxell consists of one or more product types. A product type is a set of attributes that are applied to the cards that belong to this product type. The ProductTypeName field is the name of the product used when creating and issuing cards.</p>                                                                                                                                                                                                                                                                                                                                                                  | It is not required and not relevant if Secondary Card param is Y. Otherwise, it is required                                        |
| ReferralCode           | N                     | Format: Alphanumeric, 1-120                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |                                                                                                                                    |
| SecondaryCard          | N                     | Format: Y/N (default)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                    |
| ShippingAddressLine1   | C                     | <p>Format: Alphanumeric, 30<br>Can contains as well all special characters beside: <, ></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | relevant if UseShippingDetails=Y                                                                                                   |
| ShippingAddressLine2   | C                     | <p>Format: Alphanumeric, 30<br>Can contains as well all special characters beside: <, ></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | relevant if UseShippingDetails=Y                                                                                                   |
| ShippingCity           | C                     | <p>Format: Alpha, 1-20<br>Can contains as well these special characters: /, -, space, comma, period,</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | relevant if UseShippingDetails=Y                                                                                                   |
| ShippingState          | C                     | Format: Alphanumeric, 2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | relevant if UseShippingDetails=Y                                                                                                   |
| ShippingZIP            | C                     | Format: Numeric, 5                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | relevant if UseShippingDetails=Y                                                                                                   |
| SkipVerification       | N                     | <p>Format Options: Y/N (default: N)<br>Description: Allow to skip verification attempt done by API. in such cases, the cardholder will be created in RNV (Registered Not Verified) mode</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |                                                                                                                                    |
| State                  | Y                     | Format: Alphanumeric, 2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                    |
| Title                  | Y                     | Format: List “Ms.”, “Mr.”                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                                                                                                                    |
| Token                  | N                     | <p>Format: Number, 6<br>Description:<br>Six digits value (should be unique for a period of N minutes (where N is a system parameter)</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                    |
| UserDefined1           | N                     | <p>Format:<br>Chars: a-zA-Z0-9 .,#$()/:?-%+\*&;@!\~=\_'<br>Size: 255</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                    |
| UserDefined2           | N                     | <p>Format:<br>Chars: a-zA-Z0-9 .,#$()/:?-%+\*&;@!\~=\_'<br>Size: 255</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                    |
| UserDefined3           | N                     | <p>Format:<br>Chars: a-zA-Z0-9 .,#$()/:?-%+\*&;@!\~=\_'<br>Size: 255</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                    |
| UserDefined4           | N                     | <p>Format:<br>Chars: a-zA-Z0-9 .,#$()/:?-%+\*&;@!\~=\_'<br>Size: 255</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                    |
| UserDefined5           | N                     | <p>Format:<br>Chars: a-zA-Z0-9 .,#$()/:?-%+\*&;@!\~=\_'<br>Size: 255</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                    |
| UserDefined6           | N                     | <p>Format:<br>Chars: a-zA-Z0-9 .,#$()/:?-%+\*&;@!\~=\_'<br>Size: 255</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                    |
| UserDefined7           | N                     | <p>Format:<br>Chars: a-zA-Z0-9 .,#$()/:?-%+\*&;@!\~=\_'<br>Size: 255</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                    |
| UserDefined8           | N                     | <p>Format:<br>Chars: a-zA-Z0-9 .,#$()/:?-%+\*&;@!\~=\_'<br>Size: 255</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                    |
| UserDefined9           | N                     | <p>Format:<br>Chars: a-zA-Z0-9 .,#$()/:?-%+\*&;@!\~=\_'<br>Size: 255</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                    |
| UserDefined10          | N                     | <p>Format:<br>Chars: a-zA-Z0-9 .,#$()/:?-%+\*&;@!\~=\_'<br>Size: 255</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                    |
| UserDefined11          | N                     | <p>Format:<br>Chars: a-zA-Z0-9 .,#$()/:?-%+\*&;@!\~=\_'<br>Size: 255</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                    |
| UserDefined12          | N                     | <p>Format:<br>Chars: a-zA-Z0-9 .,#$()/:?-%+\*&;@!\~=\_'<br>Size: 255</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                    |
| UserDefined13          | N                     | <p>Format:<br>Chars: a-zA-Z0-9 .,#$()/:?-%+\*&;@!\~=\_'<br>Size: 255</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                    |
| UserDefined14          | N                     | <p>Format:<br>Chars: a-zA-Z0-9 .,#$()/:?-%+\*&;@!\~=\_'<br>Size: 255</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                    |
| UserDefined15          | N                     | <p>Format:<br>Chars: a-zA-Z0-9 .,#$()/:?-%+\*&;@!\~=\_'<br>Size: 255</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                    |
| UseShippingDetails     | N                     | Format: Y/N (default)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                    |
| Zip                    | Y                     | Format: Numeric, 5                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                                                                    |
| CardDDA                | Format: Numeric, 3-16 |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                                                                    |
| RoutingNumber          | Format: Numeric,16    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                                                                    |

## Output Parameters:

| Name                       | Definition                                                                                                                                                                                                                                                                                                                                                 | Failure Case | Success Case | Comments                                                      |
| -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | ------------ | ------------------------------------------------------------- |
| CardDDA                    | Format: Numeric, 3-16                                                                                                                                                                                                                                                                                                                                      | Not returned | Returned     |                                                               |
| CardHolderState (New Card) | <p>Format options:<br>V<br>V-PNS<br>RNV</p>                                                                                                                                                                                                                                                                                                                | Not returned | Returned     |                                                               |
| CardNumber                 | Format: Numeric, 16                                                                                                                                                                                                                                                                                                                                        | Not returned | Returned     |                                                               |
| RPID                       | Format: Numeric, 1-19                                                                                                                                                                                                                                                                                                                                      | Not returned | Returned     |                                                               |
| VerificationID             | Format: Alphanumeric, 50                                                                                                                                                                                                                                                                                                                                   | Not returned | Returned     |                                                               |
| VerificationStatus         | <p>Format options:<br>If CH is verified, the options are:<br>VerifiedSSN<br>VerifiedByIssuer<br><br>If CH is not verified, the options are:<br>SSNVerificationRequired (if DocType is SSN & SkipVerification=Y)<br>DocumentaryVerificationRequired (if DocType is SSN & SkipVerification=N)<br>DocumentaryVerificationRequired (if DocType is not SSN)</p> | Not returned | Returned     | in current New Card version, only SSN is supported as DocType |

## XML Samples

```json
<?xml version="1.0" ?>
<PraxellXMLRequest>
    <AuthenticationDetails>
        <UserName>Keren_Full_QA</UserName>
        <UserPassword></UserPassword>
      <ClientSourceIP></ClientSourceIP> 
 </AuthenticationDetails>
    <ServiceDetails>
        <UniqueRequestId></UniqueRequestId>
        <ServiceName>NewCard</ServiceName>
    </ServiceDetails>
    <Origin>
        <OriginType>ExtAPI</OriginType>
    </Origin>
    <ServiceParams>
        <FirstName>Keren</FirstName>
        <MiddleInitial>M</MiddleInitial>
        <LastName>Aharon</LastName>
        <AddressLine1>33 Hayetzira st.</AddressLine1>
        <AddressLine2>PO Box 1234</AddressLine2>
        <City>Tel Aviv</City>
        <State>OH</State>
        <Zip>45251</Zip>
        <Fax>036126066</Fax>
        <Phone>1114257999</Phone>
        <MobilePhone>9876543219</MobilePhone>
        <DateOfBirth>1978-04-08</DateOfBirth>
        <Email>qa@praxell.com</Email>
        <DocExpirationDate></DocExpirationDate>
        <DocId>231231231</DocId>
        <DocIssueDate></DocIssueDate>
        <DocIssuer></DocIssuer>
        <DocType>SSN</DocType>
        <ProductTypeName>Keren NFF Cards</ProductTypeName>
        <IsReceiveSms>Enabled</IsReceiveSms>
        <ShippingAddressLine1></ShippingAddressLine1>
        <ShippingAddressLine2></ShippingAddressLine2>
        <ShippingCity></ShippingCity>
        <ShippingState></ShippingState>
        <ShippingZIP></ShippingZIP>
        <SkipVerification>N</SkipVerification>
        <UserDefined1></UserDefined1>
        <UserDefined2></UserDefined2>
        <UserDefined3></UserDefined3>
        <UserDefined4></UserDefined4>
        <UserDefined5></UserDefined5>
        <UserDefined6></UserDefined6>
        <UserDefined7></UserDefined7>
        <UserDefined8></UserDefined8>
        <UserDefined9></UserDefined9>
        <UserDefined10></UserDefined10>
        <UserDefined11></UserDefined11>
        <UserDefined12></UserDefined12>
        <UserDefined13></UserDefined13>
        <UserDefined14></UserDefined14>
        <UserDefined15></UserDefined15>
        <UseShippingDetails></UseShippingDetails>
        <CampaignCode></CampaignCode>
        <EnrollCashback></EnrollCashback>
        <EnrollMailNotification></EnrollMailNotification>
        <Latitude></Latitude>
        <Longitude></Longitude>
        <ReferralCode></ReferralCode>
        <Title></Title>
        <Token></Token>
    </ServiceParams>
</PraxellXMLRequest>
```

```json
<?xml version="1.0" ?> 
 <PraxellXMLResponse>
  <ResponseDetails>
   <ServiceName>NewCard</ServiceName> 
   <SessionId>46144416201108060</SessionId> 
   <StatusCode>0</StatusCode> 
   <StatusName>StatusOK</StatusName> 
   <StatusDescription>NA</StatusDescription> 
   <ServiceDate>2021-06-30 16:08:05</ServiceDate> 
   <ServiceId>46144416201108060</ServiceId> 
  </ResponseDetails>
  <ResponseParams>
   <CardNumber></CardNumber> 
   <CardDDA>0</CardDDA> 
   <CardHolderState>V-PNS</CardHolderState> 
   <VerificationID>9772761</VerificationID> 
   <VerificationStatus>VerifiedSSN</VerificationStatus> 
   <RPID>9800000051</RPID> 
   </ResponseParams>
  </PraxellXMLResponse>
```

```json
<?xml version="1.0"?>
<PraxellXMLResponse>
     <ResponseDetails>
        <ServiceName>NewCard</ServiceName>
        <SessionId>38553811201107063</SessionId>
        <StatusCode>70064</StatusCode>
        <StatusName>Invalid Product Type</StatusName>
        <StatusDescription>NA</StatusDescription>
        <ServiceDate>2021-02-23 11:07:39</ServiceDate>
        <ServiceId>38553811201107063</ServiceId>
    </ResponseDetails>
</PraxellXMLResponse>
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://apidocs.juicefin.com/apis/card-issuance/new-card.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
