Input | Type | Values | Description | Mandatory |
Integer | 7 digits | Your unique merchant number. The number is located on your agreement with the acquirer (for instance Nets) or in your Bambora administration. | Yes | |
Long | The unique number to identify the payment returned during the | Yes | ||
amount | Integer | Minor units | The amount | Yes |
group | String | Max 100 characters. | The group to which the payment is associated. | No |
invoice | String | Max 100 characters. | Send invoice data to Storebox/ | No |
Output | Type | Values | Description |
captureResult | Boolean | See description of output values. | |
Integer | If the capture is declined by Nets, the error code is defined in | ||
Integer | If the payment is declined by Bambora, the error code is defined in | ||
Output values | If the capture is approved, captureResult will return true. |
Input | Type | Values | Description | Mandatory |
Integer | 7 digits | Your unique merchant number. The number is located | Yes | |
Long | The unique number to identify the payment returned during the | Yes | ||
amount | Integer | Minor units | The amount | Yes |
group | String | Max. 100 characters. | The group to which the payment is associated. | No |
invoice | String | Max 100 characters. | Send invoice data to Storebox/ | No |
Output | Type | Values | Description |
creditResult | Boolean | See description of output values. | |
Integer | If the credit call is declined by Nets, the error code is defined in | ||
Integer | If the credit call is declined by Bambora, the error code is defined in | ||
Output values | If the credit is approved, |
Input | Type | Values | Description | Mandatory |
Integer | 7 digits | Your unique merchant number. The number is located | Yes | |
Long | The unique number to identify the payment returned during the | Yes | ||
group | String | Max. 100 characters. | The group to which the payment is associated. | No |
Output | Type | Values | Description |
deleteResult | Boolean | See description of output values. | |
epayresponse | Integer | If the delete call is declined by Bambora, the error code is defined in epayresponse. | |
Output values | If the delete is approved, |
Input | Type | Values | Description | Mandatory |
Integer | 7 digits | Your unique merchant number. The number is located | Yes | |
language | Integer | 1 | The language in which the result is returned (1) for Danish (2) for English (3) for Swedish | Yes |
String | Error code received from Bambora in | No |
Output | Type | Values | Description |
getEpayErrorResult | Boolean | See description of output values. | |
epayResponseString | String | The error returned as a string from Bambora. | |
epayresponse | Integer | If the payment is declined by Bambora, the error code is defined in epayresponse. | |
Output values | If it is possible to retrieve information about the error code, getEpayErrorResult will return true. |
Input | Type | Values | Description | Mandatory |
Integer | 7 digits | Your unique merchant number. The number is located | Yes | |
language | Integer | 1 | The language in which the result is returned (1) for Danish (2) for English (3) for Swedish | Yes |
Integer | Error code received from Nets in pbsresponse. | No |
Output | Type | Values | Description |
getPbsErrorResult | Boolean | See description of output values. | |
pbsResponseString | String | The error returned as | |
Integer | If the payment is declined by Bambora, the error code is defined in | ||
Output values | If it is possible to retrieve information about the error code, getPbsErrorResult will return true. |
Input | Type | Values | Description | Mandatory |
Integer | 7 digits | Your unique merchant number. The number is located | Yes | |
String | Max 20 characters | The unique number to identify the payment returned during the | Yes |
Output | Type | Values | Description |
getcardtypeResult | Boolean | See description of output values. | |
cardtypeid | Integer | The card type as an Integer. | |
cardname | String | The name of the card type (e.g. DANKORT). | |
epayresponse | Integer | If the payment is declined by Bambora, the error code is defined in epayresponse. | |
Output values | If it is possible to return information about the card, getcardtypeResult is true. |
Input | Type | Values | Description | Mandatory |
Integer | 7 digits | Your unique merchant number. The number is located | Yes | |
Long | Max 50 characters | The unique number to identify the payment returned during the | Yes |
Output | Type | Values | Description |
group | String | Group (if defined). | |
authamount | Integer | The amount authorised on the card holder's payment card. | |
currency | Integer | Currency of the authorisation. | |
cardtypeid | Integer | Cardtype of the payment card used. | |
capturedamount | Integer | Amount captured. | |
creditedamount | Integer | Amount credited. | |
orderid | String | Order number | |
description | String | Description (If defined) | |
authdate | Datetime | Date of the authorisation. | |
captureddate | Datetime | Date of the capture. | |
deleteddate | Datetime | Date of the deletion. | |
crediteddate | Datetime | Date of the credit. | |
status | Enum | 0 = PAYMENT_UNDEFINED | Status of the payment. Per default, the status is PAYMENT_NEW. PAYMENT_EUROLINE_WAIT_CAPTURE status: The transaction is captured at Bambora and being processed by the acquirer; this is done overnight by batch processing. PAYMENT_EUROLINE_WAIT_CREDIT status: The transaction is credited at Bambora and being processed by the acquirer; this is done overnight by batch processing. When the payment is captured, the status is PAYMENT_CAPTURED. |
[history] list start | |||
transactionHistoryID | Long | Unique ID for the history. | |
logonID | Integer | Unique ID for the user who performed the operation. | |
eventMsg | String | Description of the operation. | |
created | Datetime | Timestamp of the operation. | |
[history] list end | |||
Long | The payment is identified by this number which is returned during | ||
cardholder | String | Name of the | |
mode | Enum | Payment type: test or production. | |
Integer | If the payment is declined by Bambora, the error code is defined in | ||
Output values | If it is possible to retrieve information about the payment, the function will return true. As the returning value is false, |
Input | Type | Values | Description | Manda- tory |
merchantnumber | Integer | 7 digits | Your unique merchant number. The number is located on your agreement with the acquirer or in your Bambora administration. | Yes |
status | Enum | 0 = PAYMENT_UNDEFINED 1 = PAYMENT_NEW 2 = PAYMENT_CAPTURED 3 = PAYMENT_DELETED 4 = PAYMENT_INSTANT_CAPTURE_FAILED 5 = PAYMENT_SUBSCRIPTION_INI 6 = PAYMENT_RENEW 7 = PAYMENT_EUROLINE_WAIT_CAPTURE 8 = PAYMENT_EUROLINE_WAIT_CREDIT | Status of the payment. Per default, the status is PAYMENT_NEW. PAYMENT_EUROLINE_WAIT_CAPTURE status: The transaction is captured at Bambora and being processed by the acquirer; this is done overnight by batch processing. PAYMENT_EUROLINE_WAIT_CREDIT status: The transaction is credited at Bambora and being processed by the acquirer; this is done overnight by batch processing. When the payment is captured, the status is PAYMENT_CAPTURED. | No |
searchdatestart | Datetime | Null (nothing) - and it is ignored. | Start date (defined as: "yyyy-MM-dd TT:mm:ss"). | No |
searchdateend | Datetime | Null (nothing) - and it is ignored. | End date (defined as: "yyyy-MM-dd TT:mm:ss"). | No |
searchgroup | String | Max 100 characters. | Search for payments in a defined group (allowed empty). | No |
String | Max 20 characters. | Search for payments by order number (allowed empty). | No |
Output | Type | Values | Description |
Output values | See the result in See specifications here: |
Input | Type | Values | Description | Mandatory |
Integer | 7 digits | Your unique merchant number. The number is located | Yes | |
cardno_prefix | Integer | 6 digits | Prefix on the payment card from which the fee is calculated. It is important that only the first six digits are defined - Note that Danske Bank, Nordea must use the prefixes below: 000022 000021 = Nordea e-betaling | Yes |
amount | Integer | Minor units | The amount in minor units. For instance, DKK 125.75 must be specified as 12575 in the amount field. | Yes |
currency | Integer | 208 = DKK 978 = EUR 840 = USD 578 = NOK 752 = SEK 826 = GBP | The currency of the payment. If the customer must be settled in Danish kroner, then put the value at 208. For a complete list of currency codes, please click here. | Yes |
acquirer | Integer | Nets/Teller = 1 Euroline = 2 BABS Swedbank = 8 Nordea SE = 21 Handelsbanken SE = 23 Elavon = 24 EVRY Swedbank = 25 EVRY Bambora = 26 EVRY Teller = 27 Nordea DK = 29 Nordea NO = 30 Nordea FI = 31 Handelsbanken DK = 32 Handelsbanken NO = 33 Handelsbanken FI = 34 Clearhaus = 37 | The acquirer which handles the transaction. | No |
Output | Type | Values | Description |
fee | Integer | Minor units | The transaction fee is calculated based on the value of the input fields amount, currency, and acquirer. |
cardtype | Integer | 1 = Dankort 2 = Visa/Dankort 3 = Visa/Electron (foreign) 4 = Mastercard 5 = Mastercard (foreign) 6 = Visa Electron 7 = JCB 8 = Diners Club 9 = Maestro 10 = America Express 11 = Ukendt 13 = Diners Club (foreign) 14 = American Expres (foreign) 15 = Maestro (foreign) 16 = Forbrugsforeningen 17 = ewire 18 = Visa 19 = IKANO 20 = Andre 21 = Nordea e-betaling 22 = Danske Netbetaling 23 = BG Netbetalinger 24 = MasterCard 25 = MasterCard (foreign) 26 = PayPal 27 = Mobilpenge 28 = Klarna 29 = Svea 30 = SEB Direktbetalning 31 = Nordea SE e-payment 32 = Handelsbanken SE e-payment 33 = Swedbank Direktbetalning 34 = ViaBill 35 = Beeptify 36 = iDeal 37 = Oberthur 38 = Paii 39 = Brandts 40 = MobilePay 41 = Resurs 42 = Ekspres Bank | Type of credit card used for the payment. |
cardtypetext | String | Type of card in a reader-friendly format. | |
epayresponse | Integer | If Bambora declines the call to the API (the value returned is false), you can find the source of error in this parameter. For a full list of error codes, go to your Bambora administration in the menu Support -> System error codes. |