Skip to main content

Bambora

Quick Start
  1. Sign up at bambora.com and obtain API credentials
  2. Create a terminal in the Admin Console with the parameters below
  3. Start processing — the adapter is pre-built and ready to use

Go to Bambora →

Overview

Bambora (Worldline) — Payments (payment processor)

Provider IDbambora
CategoryCard Processors
Websitebambora.com

Supported operations: Sale (payments_authorize - one_phase) Pre-Auth (payments_authorize - two_phase verify) Completion (payments_capture - two_phase commit) Status (payments_status) Refund (payments_refund)


Authentication

Method: Passcode (Base64 encoded)
Header format:

Authorization: Passcode {base64(merchant_id:api_key)}

Example:

import base64

merchant_id = "123456789"
api_key = "passcode_abc"
credentials = f"{merchant_id}:{api_key}"
encoded = base64.b64encode(credentials.encode()).decode()

# Authorization: Passcode {encoded}

⚠️ Important: Used keyword Passcode, not Basic!


Configuration

Required Parameters

ParameterDescription
base_urlBase API URL
merchant_idMerchant ID
api_keyAPI Key (Passcode)

Status Mapping

Provider Status4pay StatusDescription
"1"ChargedSale successful
"1"PendingPre-auth successful
not "1"FailureTransaction declined
"1"Success
not "1"Failure

API Reference

MethodEndpointDescription
POST/v1/payments
POST/v1/payments/{payment_id}/completions
GET/v1/payments/{payment_id}
POST/v1/payments/{payment_id}/returns

Resources