# Call Back API

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v0/pine-labs/callback:
    post:
      summary: Call Back API
      deprecated: false
      description: ''
      tags:
        - Expense  ERP Integration/Partner Integration
      parameters:
        - name: Authorization
          in: header
          description: ''
          required: true
          example: Bearer B6u8D4fc7mZx7GMfX0mJndCdbH4
          schema:
            type: string
        - name: Cookie
          in: header
          description: ''
          required: true
          example: >-
            _cfuvid=gCfKDlnSvo2Y0CoANvUoYtuXXMxZSwJOVAL6_WLVFoM-1758969688941-0.0.1.1-604800000;
            _cfuvid=gVc.tyejRs1fxacdvwEx1hC8eS_eCweYIqPdNq_mCiA-1758972777669-0.0.1.1-604800000;
            JSESSIONID=23FB052BD0A0911F7DC69D2565A398F3
          schema:
            type: string
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
      requestBody:
        content:
          text/plain:
            schema:
              type: string
            example: |-
              {
                "transactionId": 31356,
                "transactionTypeId": 2,
                "transactionType": "GIFT CARD REDEEM",
                "transactionModeId": 0,
                "preAuthTypeId": null,
                "cards": [
                  {
                    "cardNumber": "7676863616068676",
                    "cardType": "IPPS Reloadable SVA",
                    "balance": 7000.0,
                    "currencyCode": "INR",
                    "cardStatus": "Activated",
                    "expiryDate": "2026-05-15T16:42:02.89+05:30",
                    "corporateName": null,
                    "approvalCode": "402380406072",
                    "responseCode": 0,
                    "responseMessage": "Transaction successful.",
                    "cardStatusId": 140,
                    "cardCurrencySymbol": "₹",
                    "activationDate": "2025-05-15T16:42:02.767+05:30",
                    "cardProgramGroupType": "PPI Program",
                    "issuerName": "IPPS",
                    "transactionDateTime": "2025-05-15T16:42:06.8118654+05:30",
                    "invoiceNumber": "07605",
                    "transactionAmount": 3000.0,
                    "reusable": true,
                    "reason": null,
                    "redeemStartDate": "0001-01-01T05:30:00+05:30",
                    "notes": "",
                    "beneficiaryOrSenderAccount": "s*o*Z*j*E*-*p*p*n*l*b*",
                    "bankTransferStatus": " SUCCESSFUL ",
                    "bankTransferStatusCode": 120,
                    "bankUTR": “BankUtr11113”,
                    "beneficiaryOrSenderName": " D*O*I",
                    "beneficiaryRefId": "89452b7b-b94a-4dd2-b6ca-d56a5b359bf8",
                    "mode": "NEFT",
                    "pgReferenceNumber": " pout_QMTO1raIdE7LVw ",
                    "transactionDateAtClient": "2025-05-15T22:09:56+05:30",
                    "extendedParameters": {},
                    "currencyConversionRate": null,
                    "nativeBalance": null,
                    "nativeCurrencyCode": null,
                    "pocketType": null,
                    "fromPocket": null,
                    "toPocket": null,
                    "pockets": [
                      {
                        "pocketType": "PPI",
                        "balance": 7000.0,
                        "ApplicableCount": 0
                      }
                    ],
                    "accountSettings": null,
                    "transferredAmount": 3000.0,
                    "adjustedAmount": 0.0,
                    "taxDeducted": 0.0,
                    "finalLoadValue": 3000.0,
                    "virtualAccountNumber": "CorpClt7878893210058373"
                  }
                ],
                "notes": "notes sent as part of transaction",
                "currentBatchNumber": 4367825,
                "approvalCode": "402080406083",
                "responseCode": 0,
                "responseMessage": "Transaction successful.",
                "idempotencyKey": null,
                "businessReferenceNumber": "",
                "networkTransactionInfo": {
                  "merchant": "Test@Merchant$",
                  "outlet": "19,Outlet-2",
                  "city": "Bangalore",
                  "pinCode": "556655",
                  "cardReferenceNumber": "ABC732939359XYZ",
                  "cardNumber": "A*C*3*9*9*5*X*Z",
                  "externalCardIdentifier": "Test!ExtId",
                  "rRN": "R12",
                  "mCC": "MC@#",
                  "mID": "MID$1",
                  "tID": "TID!@",
                  "transactionMode": 2,
                  "serviceId": null,
                  "serviceName": null
                },
                "merchantName": "IPPS ",
                "merchantOutletName": "Outlet1"
              }
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
          headers: {}
          x-apidog-name: Success
      security:
        - bearer: []
      x-apidog-folder: Expense  ERP Integration/Partner Integration
      x-apidog-status: developing
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-21988940-run
components:
  schemas: {}
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
