# Financing Response Webhook

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v0/finance/resp-financing:
    post:
      summary: Financing Response Webhook
      deprecated: false
      description: ''
      tags:
        - Bharat Connect (BBPS)/APIs - BBPS/Vendor Payment/Webhook/Financing
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FinancingResponse'
            examples: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  payload:
                    type: string
                  response_code:
                    type: integer
                  response_message:
                    type: string
                required:
                  - payload
                  - response_code
                  - response_message
                x-apidog-orders:
                  - payload
                  - response_code
                  - response_message
                x-apidog-ignore-properties: []
              example:
                payload: SUCCESS
                response_code: 0
                response_message: SUCCESS
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: Bharat Connect (BBPS)/APIs - BBPS/Vendor Payment/Webhook/Financing
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-18788133-run
components:
  schemas:
    FinancingResponse:
      type: object
      properties:
        b2bIds:
          type: object
          properties:
            buyerB2BId:
              type: string
            supplierB2BId:
              type: string
          required:
            - buyerB2BId
            - supplierB2BId
          x-apidog-orders:
            - buyerB2BId
            - supplierB2BId
          x-apidog-ignore-properties: []
        resp:
          type: object
          properties:
            reqMsgId:
              type: string
            result:
              type: string
            errorCd:
              type: string
            errorDtl:
              type: string
            errorField:
              type: string
          required:
            - reqMsgId
            - result
            - errorCd
            - errorDtl
            - errorField
          x-apidog-orders:
            - reqMsgId
            - result
            - errorCd
            - errorDtl
            - errorField
          x-apidog-ignore-properties: []
        financingRequest:
          type: object
          properties:
            initiatorB2BId:
              type: string
            financingRequestId:
              type: string
            financeId:
              type: array
              items:
                type: object
                properties:
                  faId:
                    type: string
                  financierId:
                    type: array
                    items:
                      type: string
                x-apidog-orders:
                  - faId
                  - financierId
                x-apidog-ignore-properties: []
            b2bPAN:
              type: object
              properties:
                buyerPAN:
                  type: string
                supplierPAN:
                  type: string
              required:
                - buyerPAN
                - supplierPAN
              x-apidog-orders:
                - buyerPAN
                - supplierPAN
              x-apidog-ignore-properties: []
            costOfFundBearer:
              type: string
            financingRequestAmount:
              type: integer
            financingType:
              type: string
            invoices:
              type: array
              items:
                type: object
                properties:
                  objectId:
                    type: string
                  supplierInvoiceNumber:
                    type: string
                  objectVersion:
                    type: object
                    properties:
                      currentVersion:
                        type: integer
                      newVersion:
                        type: integer
                    required:
                      - currentVersion
                      - newVersion
                    x-apidog-orders:
                      - currentVersion
                      - newVersion
                    x-apidog-ignore-properties: []
                  ts:
                    type: string
                  statusTransition:
                    type: object
                    properties:
                      currentStatus:
                        type: string
                      newStatus:
                        type: string
                    required:
                      - currentStatus
                      - newStatus
                    x-apidog-orders:
                      - currentStatus
                      - newStatus
                    x-apidog-ignore-properties: []
                  transactionDetails:
                    type: object
                    properties:
                      taxScheme:
                        type: string
                      supplyType:
                        type: string
                      reverseChargeTax:
                        type: string
                      igstChargable:
                        type: string
                      ecommerceGstin:
                        type: string
                    required:
                      - taxScheme
                      - supplyType
                      - reverseChargeTax
                      - igstChargable
                      - ecommerceGstin
                    x-apidog-orders:
                      - taxScheme
                      - supplyType
                      - reverseChargeTax
                      - igstChargable
                      - ecommerceGstin
                    x-apidog-ignore-properties: []
                  supplierDetails:
                    type: object
                    properties:
                      b2bId:
                        type: string
                      gstin:
                        type: string
                      legalName:
                        type: string
                      tradeName:
                        type: string
                      stateCode:
                        type: string
                      address:
                        type: object
                        properties:
                          type:
                            type: string
                          addressLine1:
                            type: string
                          addressLine2:
                            type: string
                          city:
                            type: string
                          state:
                            type: string
                          country:
                            type: string
                          pincode:
                            type: string
                        required:
                          - type
                          - addressLine1
                          - addressLine2
                          - city
                          - state
                          - country
                          - pincode
                        x-apidog-orders:
                          - type
                          - addressLine1
                          - addressLine2
                          - city
                          - state
                          - country
                          - pincode
                        x-apidog-ignore-properties: []
                      contactNumber:
                        type: object
                        properties:
                          type:
                            type: string
                          countryCode:
                            type: string
                          phoneNumber:
                            type: string
                        required:
                          - type
                          - countryCode
                          - phoneNumber
                        x-apidog-orders:
                          - type
                          - countryCode
                          - phoneNumber
                        x-apidog-ignore-properties: []
                      email:
                        type: string
                    required:
                      - b2bId
                      - gstin
                      - legalName
                      - tradeName
                      - stateCode
                      - address
                      - contactNumber
                      - email
                    x-apidog-orders:
                      - b2bId
                      - gstin
                      - legalName
                      - tradeName
                      - stateCode
                      - address
                      - contactNumber
                      - email
                    x-apidog-ignore-properties: []
                  buyerDetails:
                    type: object
                    properties:
                      b2bId:
                        type: string
                      gstin:
                        type: string
                      legalName:
                        type: string
                      tradeName:
                        type: string
                      stateCode:
                        type: string
                      placeOfSupply:
                        type: string
                      address:
                        type: object
                        properties:
                          type:
                            type: string
                          addressLine1:
                            type: string
                          addressLine2:
                            type: string
                          city:
                            type: string
                          state:
                            type: string
                          country:
                            type: string
                          pincode:
                            type: string
                        required:
                          - type
                          - addressLine1
                          - addressLine2
                          - city
                          - state
                          - country
                          - pincode
                        x-apidog-orders:
                          - type
                          - addressLine1
                          - addressLine2
                          - city
                          - state
                          - country
                          - pincode
                        x-apidog-ignore-properties: []
                      contactNumber:
                        type: object
                        properties:
                          type:
                            type: string
                          countryCode:
                            type: string
                          phoneNumber:
                            type: string
                        required:
                          - type
                          - countryCode
                          - phoneNumber
                        x-apidog-orders:
                          - type
                          - countryCode
                          - phoneNumber
                        x-apidog-ignore-properties: []
                      email:
                        type: string
                    required:
                      - b2bId
                      - gstin
                      - legalName
                      - tradeName
                      - stateCode
                      - placeOfSupply
                      - address
                      - contactNumber
                      - email
                    x-apidog-orders:
                      - b2bId
                      - gstin
                      - legalName
                      - tradeName
                      - stateCode
                      - placeOfSupply
                      - address
                      - contactNumber
                      - email
                    x-apidog-ignore-properties: []
                  dispatchDetails:
                    type: object
                    properties:
                      gstin:
                        type: string
                      legalName:
                        type: string
                      tradeName:
                        type: string
                      stateCode:
                        type: string
                      address:
                        type: object
                        properties:
                          type:
                            type: string
                          addressLine1:
                            type: string
                          addressLine2:
                            type: string
                          city:
                            type: string
                          state:
                            type: string
                          country:
                            type: string
                          pincode:
                            type: string
                        required:
                          - type
                          - addressLine1
                          - addressLine2
                          - city
                          - state
                          - country
                          - pincode
                        x-apidog-orders:
                          - type
                          - addressLine1
                          - addressLine2
                          - city
                          - state
                          - country
                          - pincode
                        x-apidog-ignore-properties: []
                      contactNumber:
                        type: object
                        properties:
                          type:
                            type: string
                          countryCode:
                            type: string
                          phoneNumber:
                            type: string
                        required:
                          - type
                          - countryCode
                          - phoneNumber
                        x-apidog-orders:
                          - type
                          - countryCode
                          - phoneNumber
                        x-apidog-ignore-properties: []
                      email:
                        type: string
                    required:
                      - gstin
                      - legalName
                      - tradeName
                      - stateCode
                      - address
                      - contactNumber
                      - email
                    x-apidog-orders:
                      - gstin
                      - legalName
                      - tradeName
                      - stateCode
                      - address
                      - contactNumber
                      - email
                    x-apidog-ignore-properties: []
                  shippingDetails:
                    type: object
                    properties:
                      gstin:
                        type: string
                      lglNm:
                        type: string
                      trdNm:
                        type: string
                      stateCode:
                        type: string
                      address:
                        type: object
                        properties:
                          type:
                            type: string
                          addressLine1:
                            type: string
                          addressLine2:
                            type: string
                          city:
                            type: string
                          state:
                            type: string
                          country:
                            type: string
                          pincode:
                            type: string
                        required:
                          - type
                          - addressLine1
                          - addressLine2
                          - city
                          - state
                          - country
                          - pincode
                        x-apidog-orders:
                          - type
                          - addressLine1
                          - addressLine2
                          - city
                          - state
                          - country
                          - pincode
                        x-apidog-ignore-properties: []
                      contactNumber:
                        type: object
                        properties:
                          type:
                            type: string
                          countryCode:
                            type: string
                          phoneNumber:
                            type: string
                        required:
                          - type
                          - countryCode
                          - phoneNumber
                        x-apidog-orders:
                          - type
                          - countryCode
                          - phoneNumber
                        x-apidog-ignore-properties: []
                      email:
                        type: string
                    required:
                      - gstin
                      - lglNm
                      - trdNm
                      - stateCode
                      - address
                      - contactNumber
                      - email
                    x-apidog-orders:
                      - gstin
                      - lglNm
                      - trdNm
                      - stateCode
                      - address
                      - contactNumber
                      - email
                    x-apidog-ignore-properties: []
                  itemLists:
                    type: array
                    items:
                      type: object
                      properties:
                        serialno:
                          type: string
                        productDescription:
                          type: string
                        isService:
                          type: string
                        hsnCode:
                          type: string
                        barCode:
                          type: string
                        quantity:
                          type: integer
                        freeQuantity:
                          type: integer
                        unit:
                          type: string
                        unitPrice:
                          type: integer
                        totalAmt:
                          type: integer
                        assessmentAmount:
                          type: integer
                        gstRate:
                          type: integer
                        totalItemValue:
                          type: integer
                        orderLineReference:
                          type: string
                        originCountry:
                          type: string
                        productSerialNumber:
                          type: string
                        itemValueDetails:
                          type: array
                          items:
                            type: object
                            properties:
                              type:
                                type: string
                              value:
                                type: integer
                            x-apidog-orders:
                              - type
                              - value
                            x-apidog-ignore-properties: []
                        rates:
                          type: array
                          items:
                            type: object
                            properties:
                              type:
                                type: string
                              value:
                                type: integer
                            x-apidog-orders:
                              - type
                              - value
                            x-apidog-ignore-properties: []
                        batchDetails:
                          type: object
                          properties:
                            batchNumber:
                              type: string
                            expiryDate:
                              type: string
                            batchWarrantyDate:
                              type: string
                          required:
                            - batchNumber
                            - expiryDate
                            - batchWarrantyDate
                          x-apidog-orders:
                            - batchNumber
                            - expiryDate
                            - batchWarrantyDate
                          x-apidog-ignore-properties: []
                        attributeDetails:
                          type: array
                          items:
                            type: object
                            properties:
                              name:
                                type: string
                              value:
                                type: string
                            x-apidog-orders:
                              - name
                              - value
                            x-apidog-ignore-properties: []
                        otherTaxes:
                          type: array
                          items:
                            type: object
                            properties:
                              name:
                                type: string
                              rate:
                                type: integer
                              amount:
                                type: integer
                            x-apidog-orders:
                              - name
                              - rate
                              - amount
                            x-apidog-ignore-properties: []
                      x-apidog-orders:
                        - serialno
                        - productDescription
                        - isService
                        - hsnCode
                        - barCode
                        - quantity
                        - freeQuantity
                        - unit
                        - unitPrice
                        - totalAmt
                        - assessmentAmount
                        - gstRate
                        - totalItemValue
                        - orderLineReference
                        - originCountry
                        - productSerialNumber
                        - itemValueDetails
                        - rates
                        - batchDetails
                        - attributeDetails
                        - otherTaxes
                      x-apidog-ignore-properties: []
                  valueDetails:
                    type: object
                    properties:
                      assessmentValue:
                        type: integer
                      totalInvoiceValue:
                        type: integer
                      otherValues:
                        type: array
                        items:
                          type: object
                          properties:
                            type:
                              type: string
                            value:
                              type: integer
                          x-apidog-orders:
                            - type
                            - value
                          x-apidog-ignore-properties: []
                    required:
                      - assessmentValue
                      - totalInvoiceValue
                      - otherValues
                    x-apidog-orders:
                      - assessmentValue
                      - totalInvoiceValue
                      - otherValues
                    x-apidog-ignore-properties: []
                  supplierBankAccountDetails:
                    type: object
                    properties:
                      maskedAccountNumber:
                        type: string
                      ifsc:
                        type: string
                      beneficiaryName:
                        type: string
                      businessVPA:
                        type: string
                    required:
                      - maskedAccountNumber
                      - ifsc
                      - beneficiaryName
                      - businessVPA
                    x-apidog-orders:
                      - maskedAccountNumber
                      - ifsc
                      - beneficiaryName
                      - businessVPA
                    x-apidog-ignore-properties: []
                  advancePaymentDetails:
                    type: object
                    properties:
                      payeeName:
                        type: string
                      mode:
                        type: string
                      paymentTerms:
                        type: string
                      paymentInstruction:
                        type: string
                      creditTransfer:
                        type: string
                      directDebit:
                        type: string
                      creditDays:
                        type: integer
                      paidAmount:
                        type: integer
                      pendingDueAmount:
                        type: integer
                    required:
                      - payeeName
                      - mode
                      - paymentTerms
                      - paymentInstruction
                      - creditTransfer
                      - directDebit
                      - creditDays
                      - paidAmount
                      - pendingDueAmount
                    x-apidog-orders:
                      - payeeName
                      - mode
                      - paymentTerms
                      - paymentInstruction
                      - creditTransfer
                      - directDebit
                      - creditDays
                      - paidAmount
                      - pendingDueAmount
                    x-apidog-ignore-properties: []
                  invoiceReferenceDetails:
                    type: object
                    properties:
                      invoiceRemarks:
                        type: string
                      invoiceStartDate:
                        type: string
                      invoiceEndDate:
                        type: string
                    required:
                      - invoiceRemarks
                      - invoiceStartDate
                      - invoiceEndDate
                    x-apidog-orders:
                      - invoiceRemarks
                      - invoiceStartDate
                      - invoiceEndDate
                    x-apidog-ignore-properties: []
                  precedingInvoiceDetails:
                    type: array
                    items:
                      type: object
                      properties:
                        invoiceNumber:
                          type: string
                        date:
                          type: string
                        otherReferenceNo:
                          type: string
                      x-apidog-orders:
                        - invoiceNumber
                        - date
                        - otherReferenceNo
                      x-apidog-ignore-properties: []
                  poDetails:
                    type: array
                    items:
                      type: object
                      properties:
                        poObjId:
                          type: string
                        buyerPoId:
                          type: string
                        poDate:
                          type: string
                      x-apidog-orders:
                        - poObjId
                        - buyerPoId
                        - poDate
                      x-apidog-ignore-properties: []
                  contractReferenceDetails:
                    type: array
                    items:
                      type: object
                      properties:
                        receiptAdviceNo:
                          type: string
                        receiptAdviceDate:
                          type: string
                        batchReferenceNo:
                          type: string
                        contractReferenceNo:
                          type: string
                        extraReferenceNo:
                          type: string
                        projectReferenceNo:
                          type: string
                      x-apidog-orders:
                        - receiptAdviceNo
                        - receiptAdviceDate
                        - batchReferenceNo
                        - contractReferenceNo
                        - extraReferenceNo
                        - projectReferenceNo
                      x-apidog-ignore-properties: []
                  additionalDocumentDetails:
                    type: array
                    items:
                      type: object
                      properties:
                        url:
                          type: string
                        document:
                          type: string
                        info:
                          type: string
                      x-apidog-orders:
                        - url
                        - document
                        - info
                      x-apidog-ignore-properties: []
                  exportDetails:
                    type: object
                    properties:
                      shipBillNo:
                        type: string
                      shipBillDate:
                        type: string
                      port:
                        type: string
                      refundClaim:
                        type: string
                      foreignCurrency:
                        type: string
                      countryCode:
                        type: string
                      exportDuty:
                        type: integer
                    required:
                      - shipBillNo
                      - shipBillDate
                      - port
                      - refundClaim
                      - foreignCurrency
                      - countryCode
                      - exportDuty
                    x-apidog-orders:
                      - shipBillNo
                      - shipBillDate
                      - port
                      - refundClaim
                      - foreignCurrency
                      - countryCode
                      - exportDuty
                    x-apidog-ignore-properties: []
                  ewayBillDetail:
                    type: object
                    properties:
                      transporterId:
                        type: string
                      transporterName:
                        type: string
                      transportMode:
                        type: string
                      distance:
                        type: integer
                      transportDocumentNo:
                        type: string
                      transportDocumentDate:
                        type: string
                      vehicleNo:
                        type: string
                      vehicleType:
                        type: string
                    required:
                      - transporterId
                      - transporterName
                      - transportMode
                      - distance
                      - transportDocumentNo
                      - transportDocumentDate
                      - vehicleNo
                      - vehicleType
                    x-apidog-orders:
                      - transporterId
                      - transporterName
                      - transportMode
                      - distance
                      - transportDocumentNo
                      - transportDocumentDate
                      - vehicleNo
                      - vehicleType
                    x-apidog-ignore-properties: []
                  recurringPayments:
                    type: object
                    properties:
                      originalInvoiceId:
                        type: string
                      frequency:
                        type: string
                      startDate:
                        type: string
                      endDate:
                        type: string
                      mandateDetails:
                        type: string
                      mandateExecutionDate:
                        type: string
                      mandateAmount:
                        type: integer
                    required:
                      - originalInvoiceId
                      - frequency
                      - startDate
                      - endDate
                      - mandateDetails
                      - mandateExecutionDate
                      - mandateAmount
                    x-apidog-orders:
                      - originalInvoiceId
                      - frequency
                      - startDate
                      - endDate
                      - mandateDetails
                      - mandateExecutionDate
                      - mandateAmount
                    x-apidog-ignore-properties: []
                  paymentMilestones:
                    type: array
                    items:
                      type: object
                      properties:
                        milestoneDate:
                          type: string
                        dueAmount:
                          type: integer
                      x-apidog-orders:
                        - milestoneDate
                        - dueAmount
                      x-apidog-ignore-properties: []
                  shippingTermsDetails:
                    type: object
                    properties:
                      terms:
                        type: string
                      bearingParty:
                        type: string
                      charges:
                        type: integer
                    required:
                      - terms
                      - bearingParty
                      - charges
                    x-apidog-orders:
                      - terms
                      - bearingParty
                      - charges
                    x-apidog-ignore-properties: []
                  invoiceFinancingDetails:
                    type: object
                    properties:
                      dueAmount:
                        type: integer
                      financingRequestAmount:
                        type: integer
                    required:
                      - dueAmount
                      - financingRequestAmount
                    x-apidog-orders:
                      - dueAmount
                      - financingRequestAmount
                    x-apidog-ignore-properties: []
                  einvoiceResponse:
                    type: string
                  eInvoiceInfo:
                    type: object
                    properties:
                      schemaVersion:
                        type: string
                      irnNumber:
                        type: string
                      irnTs:
                        type: string
                    required:
                      - schemaVersion
                      - irnNumber
                      - irnTs
                    x-apidog-orders:
                      - schemaVersion
                      - irnNumber
                      - irnTs
                    x-apidog-ignore-properties: []
                x-apidog-orders:
                  - objectId
                  - supplierInvoiceNumber
                  - objectVersion
                  - ts
                  - statusTransition
                  - transactionDetails
                  - supplierDetails
                  - buyerDetails
                  - dispatchDetails
                  - shippingDetails
                  - itemLists
                  - valueDetails
                  - supplierBankAccountDetails
                  - advancePaymentDetails
                  - invoiceReferenceDetails
                  - precedingInvoiceDetails
                  - poDetails
                  - contractReferenceDetails
                  - additionalDocumentDetails
                  - exportDetails
                  - ewayBillDetail
                  - recurringPayments
                  - paymentMilestones
                  - shippingTermsDetails
                  - invoiceFinancingDetails
                  - einvoiceResponse
                  - eInvoiceInfo
                x-apidog-ignore-properties: []
          required:
            - initiatorB2BId
            - financingRequestId
            - financeId
            - b2bPAN
            - costOfFundBearer
            - financingRequestAmount
            - financingType
            - invoices
          x-apidog-orders:
            - initiatorB2BId
            - financingRequestId
            - financeId
            - b2bPAN
            - costOfFundBearer
            - financingRequestAmount
            - financingType
            - invoices
          x-apidog-ignore-properties: []
      required:
        - b2bIds
        - resp
        - financingRequest
      x-apidog-orders:
        - b2bIds
        - resp
        - financingRequest
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
