---
page_source: https://juspay.io/in/docs/hyper-checkout/android/resources/clickstream-event--transaction
page_title: Clickstream Event - Transaction
---


# Clickstream Event - Transaction



**Event type:** payment_instrument_group

**When:** This is emitted whenever a user clicks Pay button and initiates the transaction   

![Image](https://dth95m2xtyv8v.cloudfront.net/tesseract/assets/hyper-checkout/clickstream_event_transaction-1nZvh.gif)




## pig_name Payload
- **Pig_name**:
  - Description: * "nb"
      * "wallets"
      * "rewards"
      * "cash_on_delivery"
      * "card"
      * "stored_card"
      * "upi"
  - Value: The above list covers the possible values for the key pig_name, Payment Instrument Group for which transaction has been initiated
  - Tags: String


## screen Payload
- **Screen**:
  - Description: * “paymentpagescreen”
      * “vpascreen”
      * “upiscreen”
      * “walletlistscreen”
      * “addcardscreen”
      * “netbankingscreen”
      * "emiaddcardcheckoutscreen"
      * “inappsscreen”
      * “rewardsscreen”
      * “foodcardscreen”
      * “quickpayscreen”
  - Value: The above list covers the possible values for the key screen,  from where user initiated the transaction
  - Tags: String


## section Payload
- **Section**:
  - Description: * “offers_group”
      * “autopay_group”
      * “default_options”
      * “saved_options”
      * “recent_options
  - Value: The above list covers the possible values for the key section,  within the screen from where transaction was initiated
  - Tags: String


## po_selected Payload
- **Po_selected**:
  - Description: po_selected differs based on the payment option selected and it gives more details on the payments instrument for which transaction was initiated. Please refer to snippet on the right
  - Value: value
  - Tags: JSON



## Sample Code Snippets:
### payment_instrument_group:

#### Txn - Saved Card Code Snippet:

```txn - saved card
{
    "label": "payment_instrument_group",
    "value": {
        "pig_name": "stored_card",
        "po_selected": {
            "card_details": {
                "bank_name": "Union Bank of India",
                "card_brand": "RUPAY",
                "card_type": "CREDIT"
            }
        },
        "screen": "paymentpagescreen",
        "section": "recent_options"
    }
}
```

#### Txn - New Card Code Snippet:

```txn - new card
{
    "label": "payment_instrument_group",
    "value": {
        "pig_name": "card",
        "po_selected": {
            "card_details": {
                "bank_name": "AMEX",
                "card_brand": "AMEX",
                "card_type": "CREDIT"
            }
        },
        "screen": "EMIAddCardCheckoutScreen",
        "section": ""
    }
}
```

#### Txn - UPI Collect Code Snippet:

```txn - upi collect
{
  "label": "payment_instrument_group",
  "value": {
    "pig_name": "upi",
    "po_selected": {
      "vpa_selected": "@axl"
    },
    "screen": "VpaScreen",
    "section": ""
  }
}
```

#### Txn - Cash Code Snippet:

```txn - cash
{
    "label": "payment_instrument_group",
    "value": {
        "pig_name": "cash_on_delivery",
        "po_selected": {
            "method_name": "cod"
        },
        "screen": "codscreen",
        "section": ""
    }
}
```

#### Txn - Food Card Code Snippet:

```txn - food card
{
    "label": "payment_instrument_group",
    "value": {
        "pig_name": "card",
        "po_selected": {
            "card_details": {
                "bank_name": "SODEXO",
                "card_brand": "SODEXO"
            }
        },
        "screen": "foodcardscreen",
        "section": ""
    }
}
```

#### Txn - Unlinked Wallet Code Snippet:

```txn - unlinked wallet
{
  "label": "payment_instrument_group",
  "value": {
    "pig_name": "wallet",
    "po_selected": {
      "unlinked_wallet": "PAYZAPP"
    },
    "screen": "walletlistscreen",
    "section": ""
  }
}

```

#### Txn - Linked Wallet Code Snippet:

```txn - linked wallet
{
  "label": "payment_instrument_group",
  "value": {
    "pig_name": "wallet",
    "po_selected": {
      "linked_wallet": "LAZYPAY"
    },
    "screen": "paymentpagescreen",
    "section": "saved_options"
  }
}

```

#### Txn - NB Code Snippet:

```txn - nb
{
    "label": "payment_instrument_group",
    "value": {
        "pig_name": "nb",
        "po_selected": {
            "bank_code": "NB_SBI",
            "bank_name": "NB_SBI"
        },
        "screen": "netbankingscreen",
        "section": ""
    }
}
```

#### Txn - UPI intent Code Snippet:

```txn - upi intent
{
    "label": "payment_instrument_group",
    "value": {
        "pig_name": "upi",
        "po_selected": {
            "upi_app_selected": {
                "appName": "PhonePe",
                "packageName": "phonepe://pay"
            }
        },
        "screen": "paymentpagescreen",
        "section": "other_options"
    }
}
```

#### Txn - Rewards Code Snippet:

```txn - rewards
{
    "label": "payment_instrument_group",
    "value": {
        "pig_name": "rewards",
        "po_selected": {
            "walletName": "TWID",
            "walletType": "rewards"
        },
        "screen": "rewardsscreen",
        "section": "null"
    }
}
```

