Octane REST API
  1. Payment Method
Octane REST API
  • Getting Started
    • API Access & Authentication
    • API Rate Limiting
  • Integration Guides
    • Payment Integration
    • CDR Integration
    • Test Environment Data Sets
    • Mobile Flows
      • Activate Postpaid Mobile (New MSN - Physical SIM)
      • Activate Postpaid (Port MSN - Physical SIM)
      • Activate Postpaid Mobile (New MSN - eSIM)
      • Activate Postpaid (Port MSN - eSIM)
      • Reset eSIM Profile
      • Mobile Data Pool Flow
    • ConnectYou Flows
      • ConnectYou Business SIP Trunk Activate Flow
      • ConnectYou Business SIP Trunk Reactivate Direct Indials Flow
      • ConnectYou Unite Calling Activate Flow
    • NBN Flows
      • NBN Activate Flow
      • NBN Plan Change Flow
      • NBN Termination Flow
      • NBN Reschedule Appointment Flow
      • NBN Withdraw Order Flow
      • Run NBN Diagnostic Test Flow
      • Run NBN Service Health Check Flow
  • API Documentation
    • Customer
      • Add Customer
      • Get Customer Detail
      • List Customers
      • Update Customer
      • Set Customer Direct Debit
      • Send Welcome Email
    • Payment Method
      • List Payment Methods
        GET
      • Add Payment Method
        POST
      • Update Payment Method
        PATCH
      • Delete Payment Method
        DELETE
    • Transaction
      • List Transactions
      • Make Payment
      • Add Misc Adjustment
      • List Bounced Transactions
    • Plan
    • Service
      • List Services for a Customer
      • Get Service Detail by LineSeqNo
    • Mobile
      • Notification
        • Get Notification Settings
        • Update Notification Settings
      • Get Data Pool
      • Update Data Limit
      • Transfer Services to Another Pool
      • Disconnect a Data Pool
      • Get eSIM Details
      • Manage eSIM
    • Address
      • Search for an Address
      • Search for an Address V2
    • Service Qualification
      • Perform Service Qualification Check
    • Order
      • v1
        • Create Order (NBN Activation)
        • Create Order (NBN Modification)
        • Create Order (NBN Disconnection)
        • Cancel (NBN Activation) Order
        • Get Order Detail (NBN)
        • List Orders (NBN)
    • Enquiry
      • Create Enquiry (NBN Diagnostic Test / Service Health Check)
      • Get Enquiry Detail
      • List Enquiries
    • Appointment
      • Query Appointment Timeslots
      • Book Appointment
    • NBN
      • Get Available Diagnostic Tests
    • Attachment
  • API Documentation (Legacy APIs)
    • WSDL Summary
    • API Guide
      • Account Charges
        • Add a Recurring Charge
        • Get Recurring Charge Details
        • Add a Manual Charge
      • ConnectYou
        • Create a Number Reservation
        • Get Available Numbers
        • queryResiEndPointService
        • Query a Business SIP Trunk Service
        • Get Zone Detail
        • Get Number Detail
      • Contact Log
        • Get Contact Log Types
        • Add a Contact Log
        • Update a Contact Log
        • Query Contact Logs
      • Device
        • getSupplierStockDetail
        • getSupplierProduct
        • getSupplierFreightOption
        • orderDevice
      • Mobile
        • Get Mobile Provisioning Product Catalogue
        • Query a Mobile Service
        • Query Mobile Add Ons
        • Query Mobile Feature Settings
        • Query Mobile Balance
      • Notifications
        • createNotification
        • notificationManageTemplate
      • Pooled Resource
        • Reserve a Resource
        • Unreserve a Resource
        • Select a Resource
        • Query Resource
      • Order
        • Mobile Order
          • Create a Mobile Service (New Number)
          • Create a Mobile Service (Port In Number)
          • Create a Pre-Activation Mobile Order (New Number)
          • Bar/Unbar/Disconnect a Mobile Service
          • Change Mobile Rate Plan
          • Change a Mobile Number
          • Replace a SIM Card
          • Modify Mobile Feature(s)
          • Modify Mobile Feature Setting(s)
          • Change Excess Spend Limit
          • Add a Once-off Bolt On
          • Add a Recurring Bolt On Pack
          • Remove a Recurring Bolt On Pack
        • Mobile (Data Pool) Order
          • Create a Data Pool
          • Add Consumers to Data Pool
          • Remove Consumers from Data Pool
        • ConnectYou (SIP Trunk) Order
          • Create a New Business SIP Trunk
          • Bar/Unbar International Calls on a Business SIP Trunk
          • Suspend Business SIP Trunk
          • Unsuspend Business SIP Trunk
          • Deactivate Business SIP Trunk
          • Port Numbers to a Business SIP Trunk
          • Configure Business SIP Trunk
        • Other Rated Order
          • Create an Other Rated Service
          • Change Access of an Other Rated Service
        • Create an Order
        • Cancel an Order
        • Query an Order
        • Reset an Order
      • Statements & Billing
        • Get a List of Customer Bills
        • Get Charge Item Detail for a Bill
        • Get a Single Bill PDF for a Customer
        • Get a Summary of a Bill
      • Unbilled Calls
        • Query Summary of Unbilled Calls & Charges
        • Query Detail of Unbilled Calls & Charges
      • OTP
        • Manage OTP (Get & Verify OTP)
    • Reference Data
  1. Payment Method

Add Payment Method

Testing Env
https://benzine.telcoinabox.com/tiab/api
Testing Env
https://benzine.telcoinabox.com/tiab/api
POST
https://benzine.telcoinabox.com/tiab/api
/v1/group/{groupNo}/customer/{custNo}/payment-method
payment
This API will be used to add a new payment method to a Customer account by supplying a single-use token.

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Path Params
groupNo
string 
required
Group Number. Users will have access only to specific Groups and must pass this ID when accessing any Resources via API.
Example:
123
custNo
string 
required
Octane Customer Number.
Example:
554433
Body Params application/json
paymentProvider
enum<string> 
required
Specify the payment provider to use for for the Payment Method being added. Currently only QS (QuickStream) is available.
Allowed value:
QS
paymentTokenId
string 
required
Specify the Token ID representing the Payment Method to add. Token must be retrieved from the Single-Use Token API.
Example
{
    "paymentProvider": "QS",
    "paymentTokenId": "string"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://benzine.telcoinabox.com/tiab/api/v1/group/123/customer/554433/payment-method' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
    "paymentProvider": "QS",
    "paymentTokenId": "string"
}'

Responses

🟢200OK
application/json
Body
customerId
string 
required
Unique customer token issued by the Payment Provider that this Payment Method is associated with
paymentId
string 
required
Unique payment method ID issued by payment provider
paymentType
enum<string> 
required
Type of Payment Method. Either Credit Card Details or Bank Account Details will be returned depending on this value.
Allowed values:
CREDIT_CARDDIRECT_DEBIT
isDefault
boolean 
optional
Default payment method. Last payment method added is always the default
currency
enum<string> 
optional
Currency that payments will be taken in for this method. Currently only AUD is applicable.
Allowed value:
AUD
cardNumber
string 
optional
Masked credit card number displaying the first 6 and last 3 digits
cardHolderName
string 
optional
The name printed on the card
cardExpiryDateMonth
string 
optional
Two digit expiry month
cardExpiryDateYear
string 
optional
Four-digit expiry year
cardScheme
enum<string> 
optional
Card type
Allowed values:
MASTERCARDVISAAMEXDINERS
maskedCardNumber4Digits
string 
optional
Masked credit card number displaying the first 6 and last 4 digits
panType
enum<string> 
optional
FPAN (default) - the card number from a physical card. Also known as "Funding PAN".
Allowed value:
FPAN
bsb
string 
optional
The bank-state-branch holding their account
bankDisplayName
string 
optional
The bank account display name
bankAccountName
string 
optional
Name of bank account holder.
bankAccountNumber
string 
optional
The account number at that branch
Example
[
    {
        "customerId": "124454554",
        "paymentId": "C42432432442",
        "paymentType": "DIRECT_DEBIT",
        "currency": "AUD",
        "bsb": "012-345",
        "bankAccountName": "Tim Wilkinson",
        "bankAccountNumber": "5243243242",
        "bankDisplayName": "NAB",
        "isDefault": false
    },
    {
        "customerId": "82432424",
        "paymentId": "C3323243242",
        "paymentType": "CREDIT_CARD",
        "currency": "AUD",
        "cardNumber": "589360...668",
        "cardHolderName": "Alton Von",
        "cardExpiryDateMonth": "02",
        "cardExpiryDateYear": "28",
        "cardScheme": "MASTERCARD",
        "maskedCreditCardNumber4Digits": "589360...4668",
        "panType": "FPAN",
        "isDefault": true
    }
]
🟠403Invalid access
Modified at 2024-04-16 05:31:49
Previous
List Payment Methods
Next
Update Payment Method
Built with