Skip to main content

Add new payment transaction

Add new payment transaction

Authorizations:Token
Request Body Schema:
Transaction object that needs to be added
transaction_idintegerPrimary key
dateintegerTransaction creation timestamp
publicTxnIdstringPublic transaction id
method_namestringPayment method name
method_local_namestringPayment method localized name
statusstringStatus
valuestringTransaction value
notestringCustomer message
typestringTransaction type
public_idstringPublic transaction ID
order
payment_methodobject
method_idintegerPayment method unique id
service_namestringMethod service name (gateway or API name)
classstringProcess class name
moduleNamestringSpecific module family name
orderbyintegerPosition
adminOrderbyintegerPosition in popup
enabledbooleanEnabled status
moduleEnabledbooleanModule enabled status
addedbooleanAdded status
typestringType
settingsArraySettings
fromMarketplacebooleanFlag: 1 - method has been got from marketplace, 0 - method has been added after distr or module installation
iconURLstringPayment method icon URL (used for methods from marketplace)
countriesArrayCountries of merchant (merchants from these countries can sign up and use this method)
exCountriesArrayExcluded countries (merchants from these countries cannot sign up for payment account)
dataArrayTransaction data
backend_transactionsArrayRelated backend transactions
currency

Responses

200Success
Response schema:
Success
transaction_idintegerPrimary key
dateintegerTransaction creation timestamp
publicTxnIdstringPublic transaction id
method_namestringPayment method name
method_local_namestringPayment method localized name
statusstringStatus
valuestringTransaction value
notestringCustomer message
typestringTransaction type
public_idstringPublic transaction ID
order
payment_methodobject
method_idintegerPayment method unique id
service_namestringMethod service name (gateway or API name)
classstringProcess class name
moduleNamestringSpecific module family name
orderbyintegerPosition
adminOrderbyintegerPosition in popup
enabledbooleanEnabled status
moduleEnabledbooleanModule enabled status
addedbooleanAdded status
typestringType
settingsArraySettings
fromMarketplacebooleanFlag: 1 - method has been got from marketplace, 0 - method has been added after distr or module installation
iconURLstringPayment method icon URL (used for methods from marketplace)
countriesArrayCountries of merchant (merchants from these countries can sign up and use this method)
exCountriesArrayExcluded countries (merchants from these countries cannot sign up for payment account)
dataArrayTransaction data
backend_transactionsArrayRelated backend transactions
currency