---
page_title: Transaction Created
product: UPI TPAP SDK
platform: Cordova
page_source: https://juspay.io/in/docs/upi-tpap-sdk/cordova/callbacks/transaction-created
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/upi-tpap-sdk/llms.txt
---


## Transaction Created




### Step 1.1a TXN_CREATED



### Payload
- **Id**:
  - Description: Event ID
  - Value: evt_V2_03c6ec0681124450b55cf92fa35df241
- **Event_name**:
  - Value: TXN_CREATED
- **Date_created**:
  - Description: timestamp when webhook was created
  - Value: 2021-12-07T13:46:40Z
- **Content**:
  - Description: Details of the event
  - Value:
    - **Order**:
      - Value:
        - **Upi**:
          - Value:
            - **Txn_type**:
              - Value: UPI_INAPP
            - **Payer_vpa**:
              - Value: 8088219177@stockaxis
            - **Payer_app**:
              - Value: AXIS_BIZ
            - **Bank_name**:
              - Value: MYPSP
            - **Bank_code**:
              - Value: 500001
        - **Txn_uuid**:
          - Value: eulwh64Rw6dQSNBUZUE
        - **Txn_id**:
          - Value: stock-R7648276171-1
        - **Txn_detail**:
          - Value:
            - **Recurrence_value/txn_uuid**:
              - Value: eulwh64Rw6dQSNBUZUE
            - **Txn_id**:
              - Value: stock-R7648276171-1
            - **Txn_amount**:
              - Value: 10000
            - **Tax_amount**:
              - Value: 0
            - **Surcharge_amount**:
              - Value: 0
            - **Status**:
              - Value: PENDING_VBV
            - **Redirect**:
              - Value: true
            - **Order_id**:
              - Value: R7648276171
            - **Net_amount**:
              - Value: 1000
            - **Gateway_id**:
              - Value: 511
            - **Gateway**:
              - Value: AXIS_BIZ
            - **Express_checkout**:
              - Value: false
            - **Error_message**:
            - **Error_code**:
              - Value: null
            - **Currency**:
              - Value: INR
            - **Created**:
              - Value: 2022-01-28T09:14:52Z
        - **Status_id**:
          - Value: PENDING_VBV
        - **Rewards_breakup**:
          - Value: null
        - **Status**:
          - Value: PENDING_VBV
        - **Payment_method**:
          - Value: UPI
        - **Return_url**:
          - Value: https://links.stockpay.in/repayments
        - **Refunded**:
          - Value: false
        - **Product_id**:
        - **Payment_method_type**:
          - Value: UPI
        - **Payment_links**:
          - Value:
            - **Web**:
              - Value: https://sandbox.juspay.in/merchant/pay/ordeu_f07e1293e5684eb5ae815dbf6c998644
            - **Mobile**:
              - Value: https://sandbox.juspay.in/merchant/pay/ordeu_f07e1293e5684eb5ae815dbf6c998644?mobile=true
            - **Iframe**:
              - Value: https://sandbox.juspay.in/merchant/ipay/ordeu_f07e1293e5684eb5ae815dbf6c998644
        - **Amount**:
          - Value: 100.00
    - **Payer_vpa**:
      - Value: 8088219177@stockaxis
    - **Order_id**:
      - Value: R7648276171
    - **Offers**:
      - Value: [ ]
    - **Metadata**:
      - Value: null
    - **Merchant_id**:
      - Value: stock
    - **Id**:
      - Value: ordeu_f07e1293e5684eb5ae815dbf6c998644
    - **Gateway_reference_id**:
      - Value: null
    - **Gateway_id**:
      - Value: 511
    - **Effective_amount**:
      - Value: 1000
    - **Date_created**:
      - Value: 2022-01-28T09:14:51Z
    - **Customer_phone**:
      - Value: 8088219177
    - **Customer_id**:
    - **Customer_email**:
      - Value: null
    - **Currency**:
      - Value: INR
    - **Bank_pg**:
      - Value: null
    - **Bank_error_message**:
      - Value: null
    - **Bank_error_code**:
      - Value: null
    - **Auth_type**:
      - Value: null
    - **Amount_refunded**:
      - Value: 0
    - **Amount**:
      - Value: 1000




#### Code Snippets: -

#### Flutter Code Snippet:

```flutter
{
  "id": "evt_V2_5c08a08095ea4279ad28347241678c0b",
  "event_name": "TXN_CREATED",
  "date_created": "2022-01-28T09:14:52Z",
  "content": {
    "order": {
      "upi": {
        "txn_type": "UPI_INAPP",
        "payer_vpa": "8088219177@sliceaxis",
        "payer_app": "AXIS_BIZ",
        "bank_name": "MYPSP",
        "bank_code": "500001"
      },
      "txn_uuid": "eulwh64Rw6dQSNBUZUE",
      "txn_id": "slice-R7648276171-1",
      "txn_detail": {
        "txn_uuid": "eulwh64Rw6dQSNBUZUE",
        "txn_id": "slice-R7648276171-1",
        "txn_amount": 10000,
        "tax_amount": 0,
        "surcharge_amount": 0,
        "status": "PENDING_VBV",
        "redirect": true,
        "order_id": "R7648276171",
        "net_amount": 10000,
        "gateway_id": 514,
        "gateway": "YES_BIZ",
        "express_checkout": false,
        "error_message": "",
        "error_code": null,
        "currency": "INR",
        "created": "2022-01-28T09:14:52Z"
      },
      "status_id": 23,
      "status": "PENDING_VBV",
      "rewards_breakup": null,
      "return_url": "https://links.slicepay.in/repayments",
      "refunded": false,
      "product_id": "",
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "payment_links": {
        "web": "https://sandbox.juspay.in/merchant/pay/ordeu_f07e1293e5684eb5ae815dbf6c998644",
        "mobile": "https://sandbox.juspay.in/merchant/pay/ordeu_f07e1293e5684eb5ae815dbf6c998644?mobile=true",
        "iframe": "https://sandbox.juspay.in/merchant/ipay/ordeu_f07e1293e5684eb5ae815dbf6c998644"
      },
      "payer_vpa": "8088219177@sliceaxis",
      "order_id": "R7648276171",
      "offers": [

      ],
      "metadata": null,
      "merchant_id": "slice",
      "id": "ordeu_f07e1293e5684eb5ae815dbf6c998644",
      "gateway_reference_id": null,
      "gateway_id": 514,
      "effective_amount": 10000,
      "date_created": "2022-01-28T09:14:51Z",
      "customer_phone": "",
      "customer_id": "8088219177",
      "customer_email": null,
      "currency": "INR",
      "bank_pg": null,
      "bank_error_message": "",
      "bank_error_code": "",
      "auth_type": "",
      "amount_refunded": 0,
      "amount": 10000
    }
  }
}
```


## Sample Code Snippets:
### Callback:

#### TXN_CREATED Code Snippet:

```txn_created
{"success":false,"message":"Failed to fetch snippet"}
```



---

## Complete Code Reference

The following code files are referenced in the steps above:

### P2MCallbacks.txt

```
{"success":false,"message":"Failed to fetch snippet"}
```


---

## See Also

- [Introduction](https://juspay.io/in/docs/upi-tpap-sdk/cordova/callbacks/Introduction)
- [Transaction Charged](https://juspay.io/in/docs/upi-tpap-sdk/cordova/callbacks/transaction-charged)
