LogoLogo
  • Transaction API
    • Overview
    • Authentication
    • Payment Methods
    • Integrations
      • POS (In-Store)
      • E-commerce
    • Payment Flows
      • Create a transaction
        • Examples for POS (In-Store)
          • Basic Payment Request
          • Payment request with products
          • Payment request with callback
          • Payment request with POS Data
          • SMS Payment Request
          • Email Payment Request
          • Payment request with invoice
          • Payment request with receipt generated by SensePass
          • Payment request with receipt generated by the POS
        • Examples for e-commerce
          • Basic Payment Request
          • iFrame Example
          • Payment request with products
          • Payment request with callback
          • Payment request with website custom data
          • SMS Payment Request
          • Email Payment Request
          • Payment request with invoice
          • Payment request with receipt generated by SensePass
          • Payment request with receipt generated by the e-commerce platform
      • Transaction status
      • Authorization
      • Tokenization
      • Subscription
        • Fetch a subscription
        • Update a subscription
        • Subscription callbacks
      • Cancel a pending transaction
      • Refund a transaction
      • Pay by Credit Card
      • Credit by Credit Card
      • Payment Commit
      • Update a Transaction
    • Other Flows
      • Tags Pairing
      • Receipts
      • Customer Input
      • Token Migration
      • Create Dynamic QR
    • Terminal Agent
      • Installation
      • Pairing
      • Usage
        • Synchronous Payment
        • Real-time product information update
        • Get Last Transaction Status
        • Get Device ID
    • Settlement
    • API Notifications
      • Socket.IO Websockets
      • Callback/Webhook
      • Post Message
    • Flow Charts
      • Payment Flow
      • Transaction Status Flow
    • SDK & iFrames
      • JavaScript UI SDK
        • API
        • Commit Transaction
        • Custom SDK Style
        • Simulator
        • Manual Capture (deprecated)
      • E-commerce iFrame
      • POS iFrame
      • Credit Card iFrame
    • Models
      • Receipts Model
      • Metadata Model
      • SDK Theme Config Model
      • SDK Credit Card Field Model
      • Invoice Model
      • Product Model
      • Payment Details Model
      • Receipt Notifications Model
      • Payment Commit Model
      • Confirmation Model
      • Settlement Model
      • Subscription Model
      • Transaction Page Model
      • Transaction Model
      • Customer Input Model
      • Settlement Report Model
      • Customer Shipping/Billing Details Model
      • Additional Data Model
    • SOAP and XML
      • SOAP
      • XML
    • Testing
    • Postman
  • Partner API
    • Models
      • Onboarding Model
      • Onboarding Configuration Pages
      • Onboarding Status Model
    • SDK & iFrames
      • Onboarding iFrame
    • Flows
      • Create onboarding
      • Get Onboarding Configuration Page
      • Onboarding status
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Transaction API
  2. Models

Transaction Model

Last updated 3 months ago

Was this helpful?

Transaction Model

This model is referenced in the response of

field
type
description

TransactionNumber

string

example: 14a4334a32c852aeb0cfae52cbff1314649da7f175a8e140b35c147c

The transaction number of the new transaction created

date

date

example: 2019-12-19T09:47:59.105Z

Creation date of this transaction entity

amount

string

example: "1234.56"

Amount of this this transaction entity

currency

string

[ USD, CAD, ILS, EUR, RUB ]

status

number

Current transaction Status of this transaction: * Initialize (0) - New Transaction * TapDetected (1) - At least one user tapped his mobile device * UserApproved (2) - A user approved the payment details for this transaction, the transaction not approved yet * UserDeclined (3) - A user declined the payment details for this transaction, it's not a final status, waiting for other users to approve * ProccessingPayment (4) - SensePass GW proccessing the payment using the providers and waiting for approval * TransactionApproved (5) - SensePass GW approved this transaction, confirmation Data will be sent using Web Socket messaging service * TransactionDeclined (6) - SensePass GW decline this transaction according to provider decision * TransactionFailed (7) - Transaction Failed * TransactionTimeout (8) - Transaction Timeout * TransactionCancel (9) - Transaction Cancel * WaitingForTap (10) - Waiting For Tap * TransactionRefund (11) - Transaction Refund * TransactionProcessingRefund (12) - Transaction Processing Refund * TransactionPartiallyRefunded (13) - Transaction Partially Refunded

* Transaction Setup (14) - Transaction not ready for Payment (before update)

statusName

string

example: Transaction Approved

Friendly Status Description

pos

string

example: POS 3, Branch Tel Aviv

The terminal name associated for this transaction

posReceiptsEndpoint

string

example: http://pay.sensepass-api.com/api/invoicesReceipts/receipt/save/hofai3478o8o78o4s849j3920ckj

The endpoint for the pos's receipts to be handled by the selected mode in the transaction's creation

posData

objects

businessName

string

example: Coffee Bar

The business name associated for this terminal

businessId

number

example: 144

The business ID associated to this terminal

timeoutDate

date

example: 2019-12-19T09:47:59.105Z Timeout date for this transaction

SMS

string

paymentCommit

object

products

object

productSumMismatch

boolean

Informs if the sum of all products are not equal to the transaction's amount

confirmations

object

transactionPage

object

confirmation

Deprecated

Deprecated field

paymentMethodData

Deprecated

Deprecated field

subscription

object

parentTransaction

object

additionalData

object

Any data (object/array/string/number etc...) received in "posData" field in

SMS delivery status, see "clientPhoneNumber" field in

See payment commit object entity:

See product object entity:

See confirmation object entity:

See transaction page entity:

see subscription object entity:

parent transaction with method type: Subscription/Authorization/Tokenization.

Any additional data that may be sent to the processor

Subscription Model
Additional Data Model
Transaction Model
#payment-commit-entity
#creating-new-transaction
#creating-new-transaction
#creating-new-transaction
Transaction Page Model
#product-entity
Confirmation Model