> ## Documentation Index
> Fetch the complete documentation index at: https://docs.m3ter.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Stripe Test Functions

## Create Stripe Object

**Function name:** `CreateStripeObjectFunction`
**Category:** Write
**Destination:** Stripe Test

Creates an object in Stripe

### Parameters

| Name                       | Label       | Required | Description                                                              |
| -------------------------- | ----------- | :------: | ------------------------------------------------------------------------ |
| `integrationCredentialsId` | Credentials |    Yes   | Stripe credentials to use.                                               |
| `objectType`               | Object type |    Yes   | The type of Stripe object to create                                      |
| `inputData`                | Input data  |    Yes   | The name of the variable containing the object data to be sent to Stripe |
| `stateVariable`            | Output data |    No    | The name of the variable to store the response from Stripe               |

### Exits

| Exit    | Description |
| ------- | ----------- |
| `NEXT`  | -           |
| `ERROR` | -           |

## Delete Stripe Object

**Function name:** `DeleteStripeObjectFunction`
**Category:** Write
**Destination:** Stripe Test

Deletes an object in Stripe

### Parameters

| Name                       | Label       | Required | Description                                                        |
| -------------------------- | ----------- | :------: | ------------------------------------------------------------------ |
| `integrationCredentialsId` | Credentials |    Yes   | Stripe credentials to use.                                         |
| `objectType`               | Object type |    Yes   | The type of Stripe object to delete                                |
| `objectId`                 | Object id   |    Yes   | The name of the variable containing the ID of the object to delete |

### Exits

| Exit    | Description |
| ------- | ----------- |
| `NEXT`  | -           |
| `ERROR` | -           |

## List Stripe Objects

**Function name:** `ListStripeObjectsFunction`
**Category:** Read
**Destination:** Stripe Test

List objects in Stripe

### Parameters

| Name                       | Label               | Required | Description                                                                |
| -------------------------- | ------------------- | :------: | -------------------------------------------------------------------------- |
| `integrationCredentialsId` | Credentials         |    Yes   | Stripe credentials to use.                                                 |
| `objectType`               | Object type         |    Yes   | The type of Stripe object to read                                          |
| `stateVariable`            | Output results name |    Yes   | Name of the variable by which the objects iterator will be stored in state |

### Exits

| Exit    | Description |
| ------- | ----------- |
| `NEXT`  | -           |
| `ERROR` | -           |

## Read Stripe Object

**Function name:** `ReadStripeObjectFunction`
**Category:** Read
**Destination:** Stripe Test

Reads an from Stripe and stores it in the state

### Parameters

| Name                       | Label       | Required | Description                                                      |
| -------------------------- | ----------- | :------: | ---------------------------------------------------------------- |
| `integrationCredentialsId` | Credentials |    Yes   | Stripe credentials to use.                                       |
| `objectType`               | Object type |    Yes   | The type of Stripe object to read                                |
| `objectId`                 | Object id   |    Yes   | The name of the variable containing the ID of the record to read |
| `stateVariable`            | Output data |    No    | The name of the variable to store the response from Stripe       |

### Exits

| Exit    | Description |
| ------- | ----------- |
| `NEXT`  | -           |
| `ERROR` | -           |

## Update Stripe Object

**Function name:** `UpdateStripeObjectFunction`
**Category:** Write
**Destination:** Stripe Test

Updates an object in Stripe

### Parameters

| Name                       | Label                | Required | Description                                                                                        |
| -------------------------- | -------------------- | :------: | -------------------------------------------------------------------------------------------------- |
| `integrationCredentialsId` | Credentials          |    Yes   | Stripe credentials to use.                                                                         |
| `objectType`               | Object type          |    Yes   | The type of Stripe object to create                                                                |
| `objectId`                 | Object id variable   |    Yes   | The name of the variable containing the ID of the existing object in Stripe that should be updated |
| `inputData`                | Input data variable  |    Yes   | The name of the variable containing the record data to be sent to Stripe                           |
| `stateVariable`            | Output data variable |    No    | The name of the variable to store the response from Stripe                                         |

### Exits

| Exit    | Description |
| ------- | ----------- |
| `NEXT`  | -           |
| `ERROR` | -           |
