This API exposes
16 operations
across 11 paths,
organized into 3 resource areas,
and defines 71 schemas.
It is described by OpenAPI 3.0.1, at version 1.9.11.
Requests are made against 2 base URLs: http://localhost:8080/pi-api/v1, https://localhost:8080/pi-api/v1.
The identity and technical contract details declared by the specification.
Error
object
The error property is optional. It is set only if an error has been detected.
4 properties
DetailedResponseCode
string
PKIPublicKey
object
A public (RSA) key.
2 properties
2 required
KeyValuePair
object
A key value pair to store/retrieve a key and a value as strings in a generic way. Used in some API calls/objects.
2 properties
2 required
Date
string
The date pattern is defined "YYYY-MM-DD", with YYYY as 4-digit year, MM as 2-digit month and DD as 2-digit day of month. Date string as defined by date-time -…
MsisdnString
string
The numbers must start with a plus sign, followed by the country code and national number regarding ITU-T E.123 and ITU-T E.164 Phone numbers cannot contain mo…
MSISDN
object
1 property
1 required
CountryCode
string
Refer to ISO Codes https://en.wikipedia.org/wiki/ISO3166-1numeric https://en.wikipedia.org/wiki/ISO3166-1alpha-3
BIN
string
The Bank Identification Number (BIN) under which, e.g. the Visa Direct solution is registered.
BusinessApplicationId
string
This description refers to VISA Direct, but can be used also for other purposes. As used if the payment provider is VISA Direct: - Identifies the programs' bus…
MerchantCategoryCode
string
Conditional. If provided, then the value overrides the one present in onboarding data. If the merchantCategoryCode value is not populated in onboarding data th…
PanEntryMode
string
An identifier that identifies the method used to enter the cardholder account number and card expiration date. This code specifies e.g. whether the entire magn…
PinEntryMode
string
An identifier that identifies the method used to enter the cardholders PIN. Please take a look into the TM programmer manual to discover: com.dieboldnixdorf.tx…
SourceOfFundsCode
string
Depends on the payment provider! For example, if VISA Direct is used as the payment provider, the following explanation is valid: minLength: 2 maxLength: 2 Con…
Amount
object
The basic type of an amount.
2 properties
2 required
OrderItemData
object
Details of an order item. The refered amounts are: total: Line total unitPrice: Unit price discount: Discount amount
8 properties
4 required
PaymentAuthorizationData
object
The basic type of an amount.
2 properties
2 required
TransactionData
object
9 properties
2 required
CardData
object
Contains all card or account related data, which are used and specific for a card based payment. Attention! If parameter 'sessionKey' is set in the request hea…
8 properties
1 required
PointOfServiceData
object
Contains a code identifying transaction conditions at the point-of-sale or point of service. For messages that follow an original request, this code identifies…
6 properties
3 required
CardbasedTransactionTypes
string
The type of a card based transaction, which can be one of the following: moneyTransferCredit moneyTransferDebit purchase
PaymentProvider
string
The identifier of the payment provider. The payment provider 'TM' indicates, that the transaction middleware server - aka. the TM server - should decide which…
TransactionStatus
string
The last known state of a transaction. Name Description NEW The transaction is initiated/in progress but the backend has not yet been called or the backend has…
TransactionIdentifier
string
A unique identifier of a transaction in the PI-API backend domain. This transaction number must not be confused with the merchantTransactionId. This PI-API tra…
PaymentProviderTransactionIdentifier
string
The transactionId in the payment providers domain/eco-system.
UserAuthorizationData
object
These data are used to identify and authorize the cardless payment request.
4 properties
2 required
AccountNumber
string
The account number. The length varies greatly. In Europe defined by ISO 13616/2007 See also: https://en.wikipedia.org/wiki/InternationalBankAccountNumber In ca…
SwiftCode
string
Contains the BIC (aka. bank identifier code) The BIC - also known as SWIFT-code - as defined by ISO 9362 is required in/for cross border transfers/transactions…
AccountType
string
The default account type is 820000 (NOTSPECIFIED).
AcquirerInformation
object
2 properties
2 required
ParticipantInformation
object
5 properties
BaseAddress
object
5 properties
PaymentFacilitator
object
4 properties
3 required
CardAcceptor
object
These data describes the card acceptor of this transaction.
5 properties
3 required
CardlessPaymentTransactionData
object
2 properties
2 required
CardbasedPaymentTransactionData
object
11 properties
1 required
ExtendedTransactionData
object
12 properties
6 required
DeviceData
object
This data contains all information about an external devices such as an POS or mobile device
4 properties
2 required
InitiateMerchantSessionRequest
object
The InitiateMerchantSessionRequest is used to initiate a merchant session in front of a payment request for token based payment like Apple Pay or Google Pay.
1 property
1 required
CreditBalanceRequest
object
The CreditBalanceRequest is used to return the available credit balance
1 property
1 required
CreditBalanceResponse
object
The CreditBalanceResponse contains the available (credit) amount.
2 properties
1 required
AuthorizePaymentRequest
object
The AuthorizePaymentRequest is used to initiate a authorization of a payment request from the cashiers desk.
1 property
1 required
InitiateCardlessPaymentRequest
object
The initiatePaymentRequest is used to initiate a payment request from the cashiers desk to the payment provider. The transactionId return in the initiatePaymen…
1 property
1 required
InitiateCardBasedPaymentRequest
object
The initiatePaymentRequest is used to initiate a payment request from the cashiers desk to the payment provider. The transactionId return in the initiatePaymen…
1 property
1 required
CardbasedPaymentBaseResponse
object
The InitiateCardBasedPaymentResponse contains some information's from the payment provider.
4 properties
3 required
InitiateCardBasedPaymentResponse
InitiatePaymentResponse
object
The InitiatePaymentResponse contains more or less only the PI-API transaction number.
2 properties
CancelResponse
object
The CancelPaymentResponse contains more or less only the retryFlag
2 properties
RefundRequest
object
The refundPaymentRequest is used to refund an already processed payment.
4 properties
2 required
RefundResponse
object
The Refund Response contains more or less only the link to the transaction
1 property
ConfirmResponse
object
The Confirm Response contains more or less only the link to the transaction
1 property
TransactionDetailsResponse
object
The GetTransactionsResponse contains a set of already processed payment transactions in the given timeframe.
1 property
1 required
PKIKeyResponse
object
The GetTransactionsResponse contains a set of already processed payment transactions in the given timeframe.
1 property
1 required
InitiateMerchantSessionResponse
object
The GetTransactionsResponse contains a set of already processed payment transactions in the given timeframe.
1 property
1 required
CreateDeviceRequest
object
This request creates and initializes an external device such as a mobile device or a POS terminal.
1 property
1 required
UpdateDeviceRequest
object
This request creates and initializes an external device such as a mobile device or a POS terminal.
1 property
1 required
DevicesResponse
object
The Transaction Response contains an array with links to the transactions
1 property
1 required
DeviceInfoResponse
object
The Returns the device info.
1 property
1 required
ParticipantName
object
3 properties
ParticipantIdentification
object
4 properties
2 required
ParticipantAncillaryDetails
OwnerType
string
This field identifies if an entity is for a business or an individual.
CurrencyExchangeRate
object
2 properties
2 required
SettlementInfo
object
2 properties
1 required
ProcessingType
object
2 properties
1 required
The full machine-readable OpenAPI contract behind this narrative.