# Get Card Text Info

## Get Card Text Info

The Get Card Text Info API provides all required information which is for the two-way SMS messaging in the Praxell product.

## Input Parameters:

| Name          | Required | Definition                                                                                                                                                                          | Comments |
| ------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| MobilePhone   | Y        | <p>Format: Numeric, 6-15<br>Description: Mobile phone for getting SMS (see IsReceiveSms).</p>                                                                                       |          |
| RequestedInfo | Y        | <p>Format: String, 50<br>Description: List of actions available for two way SMS.<br>List of options: "BAL", "LAST", "" \[Numeric 6 digits], "PEND", "ENR", "RMV", "STA", "HELP"</p> |          |

## Output Parameters:

## XML Samples

### Input XML

```json
<?xml version="1.0" ?>
<PraxellXMLRequest>
  <AuthenticationDetails>
       <UserName>test_pm</UserName>
       <UserPassword>test_pm</UserPassword>
    <ClientSourceIP></ClientSourceIP> 
 </AuthenticationDetails>;
  <ServiceDetails>
    <ServiceName>GetCardTextInfo</ServiceName>
    <UniqueRequestId>1212121212121213</UniqueRequestId>
  </ServiceDetails>
  <Origin>
     <OriginType>ExtAPI</OriginType>
  </Origin>
 <ServiceParams>
    <MobilePhone>1234567890</MobilePhone>        
    <RequestedInfo>BAL</RequestedInfo>
 </ServiceParams>
</PraxellXMLRequest>
```

```json
<PraxellXMLResponse>
     <ResponseDetails>
        <ServiceName>GetCardTextInfo</ServiceName>
        <SessionId>37996606200818094</SessionId>
        <StatusCode>0</StatusCode>
        <StatusName>StatusOK</StatusName>
        <StatusDescription>NA</StatusDescription>
        <ServiceDate>2008-09-21 06:18:47</ServiceDate>
        <ServiceId>37996606200818094</ServiceId>
    </ResponseDetails>
    <ResponseParams>
    </ResponseParams>
</PraxellXMLResponse>
```

```json
<?xml version="1.0"?>
<PraxellXMLResponse>
  <ResponseDetails>
    <ServiceName>GetCardTextInfo</ServiceName>
    <SessionId>07071612200737105</SessionId>
    <StatusCode>70029</StatusCode>
    <StatusName>Data not found (cardholder not found)</StatusName>
    <StatusDescription>Data not found (cardholder not found)</StatusDescription>
    <ServiceDate>2021-10-01 12:37:50</ServiceDate>
    <ServiceId>07071612200737105</ServiceId>
  </ResponseDetails>
  <ResponseParams>
  </ResponseParams>
</PraxellXMLResponse>
```
