-
Notifications
You must be signed in to change notification settings - Fork 4
API Reference
- defaults
-
Default values to call the Barion API with.
Initializes a Barion object, that represents a merchant with a given POSKey.
Default values to call the Barion API with.
Kind: global variable
Initializes a Barion object, that represents a merchant with a given POSKey.
Kind: global function
Author: Kiss, Aron <[email protected]>
Params
- options
Object
- Default values for Barion API requests.- .Environment
String
- The Barion environment to use ('test' or 'prod'). (default: 'test') - .FundingSources
Array.<String>
- The default funding sources. (default: [ 'All' ]) - .GuestCheckOut
Boolean
- Indicates if guest checkout is enabled. (default: true) - .Locale
String
- Localization of Barion GUI. (default: 'hu-HU') - .Currency
String
- Currency to use. (default: 'HUF')
- .Environment
Starts a new payment in Barion, with the given options.
Kind: instance method of Barion
See: Barion API Documentation
Params
- options
Object
- Options that are required to start new payment. - [callback]
function
- Callback that handles the response.
Gets the state of a payment from Barion.
Kind: instance method of Barion
See: Barion API Documentation
Params
- options
Object
- Options that are required to get payment state. - [callback]
function
- Callback that handles the response.
Finalizes a pending reservation in the Barion system.
Kind: instance method of Barion
See: Barion API Documentation
Params
- options
Object
- Options that are required to finish the reservation. - [callback]
function
- Callback that handles the response.
Refunds a payment in Barion.
Kind: instance method of Barion
See: Barion API Documentation
Params
- options
Object
- Options that are required to refund payment. - [callback]
function
- Callback that handles the response.
Sends money out of the Barion system via bank transfer.
Kind: instance method of Barion
See: Barion API Documentation
Params
- options
Object
- Options that are required to send money to bank account. - [callback]
function
- Callback that handles the response.
Sends money between accounts in Barion.
Kind: instance method of Barion
See: Barion API Documentation
Params
- options
Object
- Options that are required to send money to Barion user. - [callback]
function
- Callback that handles the response.