# DATA_PAYINFO

*LSL constant*

```lsl
integer DATA_PAYINFO = 8;
```

Constant groups: [AgentData](/constants/groups/AgentData/)

Used with [llRequestAgentData](/functions/llRequestAgentData/) to return a string that contains the integer mask that can contain either of these two constants: [PAYMENT_INFO_ON_FILE](/constants/PAYMENT_INFO_ON_FILE/), [PAYMENT_INFO_USED](/constants/PAYMENT_INFO_USED/)

It is important to know that it is possible to have [PAYMENT_INFO_USED](/constants/PAYMENT_INFO_USED/) but currently not have [PAYMENT_INFO_ON_FILE](/constants/PAYMENT_INFO_ON_FILE/) (payment info can be removed after being used).

## See also

### Constants

|

<table>
	<tr>
		<td>[DATA_ONLINE](/constants/DATA_ONLINE/)</td>
		<td>1</td>
		<td>([integer](https://wiki.secondlife.com/wiki/integer)) boolean</td>
		<td colspan="4">If the requested agent is online</td>
	</tr>
	<tr>
		<td>[DATA_NAME](/constants/DATA_NAME/)</td>
		<td>2</td>
		<td>[string](https://wiki.secondlife.com/wiki/string)</td>
		<td colspan="4">The requested agent's [legacy name](https://wiki.secondlife.com/wiki/Category:LSL_Avatar/Name)</td>
	</tr>
	<tr>
		<td>[DATA_BORN](/constants/DATA_BORN/)</td>
		<td>3</td>
		<td>[string](https://wiki.secondlife.com/wiki/string)</td>
		<td colspan="4">The account creation/"born on" date as a string in an ISO 8601 format of YYYY-MM-DD.</td>
	</tr>
	<tr>
		<td>[DATA_RATING](/constants/DATA_RATING/)</td>
		<td>4</td>
		<td>[llCSV2List](/functions/llCSV2List/)()</td>
		<td colspan="4">**Deprecated**: Returns \[0, 0, 0, 0, 0, 0\]<br />Used to return: \[pos_behavior, neg_behavior, pos_appearance, neg_appearance, pos_building, neg_building\]</td>
	</tr>
	<tr>
		<td rowspan="3">[DATA_PAYINFO](/constants/DATA_PAYINFO/)</td>
		<td rowspan="3">8</td>
		<td rowspan="3">([integer](https://wiki.secondlife.com/wiki/integer)) mask</td>
		<th colspan="3">Flag</th>
		<th>Description</th>
	</tr>
	<tr>
		<td colspan="2">[PAYMENT_INFO_ON_FILE](/constants/PAYMENT_INFO_ON_FILE/)</td>
		<td>0x1</td>
		<td>If payment info is on file.</td>
	</tr>
	<tr>
		<td colspan="2">[PAYMENT_INFO_USED](/constants/PAYMENT_INFO_USED/)</td>
		<td>0x2</td>
		<td>If payment info has been used.</td>
	</tr>
</table>

### Functions

- [llRequestAgentData](/functions/llRequestAgentData/)

### Events

- [dataserver](/events/dataserver/)

---

*Source: [DATA PAYINFO](https://wiki.secondlife.com/wiki/DATA_PAYINFO) on the Second Life Wiki. Content from the Second Life Wiki articles DATA PAYINFO (revision 325082, 2009-04-19) and Template:LSL Constants/llRequestAgentData (revision 1167410, 2012-05-17), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/DATA_PAYINFO/
