Octane REST API
  1. Transaction
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
      • Add Payment Method
      • Update Payment Method
      • Delete Payment Method
    • Transaction
      • List Transactions
        GET
      • Make Payment
        POST
      • Add Misc Adjustment
        POST
      • List Bounced Transactions
        GET
    • 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. Transaction

Make Payment

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}/transaction/payment/
payment
This API will be used to make payment by supplying a single-use token, paymentId, or customer’s default payment method.

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
transactionType
enum<string> 
required
The type of transaction
Allowed value:
P
paymentTokenId
string 
required
External payment gateway issued token. Either a singleUseToken or paymentId must be provided to take payment.
If payment is being made using a new card, a single use token must first be generated via the Trusted Frame implementation and passed here.
If payment is being made using a saved card, the Payment ID retrieved via [List Payment Methods]{api-5032549} must be passed in.
amount
number <double>
required
Payment Amount as whole number or decimal.
comment
string 
required
Comments about the transaction being made
receiptEmail
string 
required
Email to send the payment receipt to
allowDuplicates
boolean 
required
Flag to allow payments that appear to be identical to other payments for the same date.
Example
{
    "transactionType": "P",
    "paymentTokenId": "string",
    "amount": 0,
    "comment": "string",
    "receiptEmail": "string",
    "allowDuplicates": true
}

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/transaction/payment/' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
    "transactionType": "P",
    "paymentTokenId": "string",
    "amount": 0,
    "comment": "string",
    "receiptEmail": "string",
    "allowDuplicates": true
}'

Responses

🟢200OK
application/json
Body
custNo
integer 
required
paymentProvider
enum<string> 
required
Allowed value:
QS
transactionType
enum<string> 
required
Allowed value:
PAYMENT
id
string 
optional
Unique identifier of the Payment Record.
receiptNumber
string 
optional
Payment receipt number
status
enum<string> 
optional
Use Table Reference. Payment status
Allowed values:
ApprovedApproved*PendingDeclinedVoidedSuspended
transactionDate
string <date-time>
optional
Date and time (if known) when transaction processing was initiated
settlementDate
string <date-time>
optional
The day on which this transaction was considered to have been processed
responseCode
enum<string> 
optional
Use Table Reference. Reason code for the status
Allowed values:
0001020304050607080910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747579828390919293949596979899EAEGEMQ1Q2Q3Q4Q8Q9QAQBQCQDQEQFQGQHQIQJQKQLQMQNQOQPQQQRQSQTQUQVQWQXQYQZRARGRMNoNew
responseDescription
string 
optional
Reason description for the status
summaryCode
enum<string> 
read-onlyoptional
Use Table Reference. Success indicator for the responseCode
Allowed values:
0123
totalAmount
number <double>
optional
Total amount of transaction. Principal amount plus surcharge. Must be in AUD (not cents) and rounded down to 2 decimal places
Example
{
    "custNo": 0,
    "paymentProvider": "QS",
    "transactionType": "PAYMENT",
    "id": "string",
    "receiptNumber": "string",
    "status": "Approved",
    "transactionDate": "2019-08-24T14:15:22Z",
    "settlementDate": "2019-08-24T14:15:22Z",
    "responseCode": "00",
    "responseDescription": "string",
    "summaryCode": "0",
    "totalAmount": 0
}
🟠403Invalid access
Modified at 2024-04-16 05:46:56
Previous
List Transactions
Next
Add Misc Adjustment
Built with