API Reference Overview
CommBank Connected Payments provides a comprehensive suite of REST APIs for payment processing, merchant management, tokenisation, reporting, and more. This page provides an overview of all available APIs and their use cases.
Available APIs
Transaction APIs
Process payments, refunds, captures, and voids through our core transaction endpoints.
Use cases:
- Process credit/debit card purchases
- Pre-authorise and capture payments
- Issue refunds (matched and open)
- Void transactions before settlement
Key endpoints:
POST /pfr/v1/gateway/purchase— Process an immediate paymentPOST /pfr/v1/gateway/capture— Complete a pre-authorisationPOST /pfr/v1/gateway/refund— Issue a matched refundPOST /pfr/v1/gateway/refund/open— Issue an open refund to any cardPOST /pfr/v1/gateway/void— Cancel a transaction before settlement
Tokenisation APIs
Create, manage, and use secure card tokens for recurring payments and card-on-file scenarios.
Use cases:
- Store customer payment methods securely
- Process recurring billing without storing card data
- Enable one-click checkout experiences
- Manage token aliases for easier reference
Key endpoints:
POST /tokenmanager/api/v1/tokens/create— Create a new card tokenPOST /tokenmanager/api/v1/tokens/update— Update token informationPOST /tokenmanager/api/v1/tokens/delete— Delete a tokenPOST /tokenmanager/api/v1/tokens/aliases/create— Create a token alias
Notification APIs
Configure and manage webhook notifications for real-time payment event delivery.
Use cases:
- Receive real-time transaction updates
- Configure custom notification rules
- Set up conditional notifications based on transaction outcomes
- Manage notification retry behavior
Key endpoints:
POST /pfr-notification/v1/management/create— Create a notification rulePOST /pfr-notification/v1/management/list— List all notification rulesPOST /pfr-notification/v1/management/update— Update a notification rulePOST /pfr-notification/v1/management/delete— Delete a notification rulePOST /sample-notification— Get sample notification payload
Reporting APIs
Generate and download transaction reports, reconciliation files, and analytics.
Use cases:
- Generate custom transaction reports
- Download settlement reconciliation files
- Schedule automated report generation
- Export transaction data for accounting systems
Key endpoints:
POST /merchanthub/api/v1/reportconfigurations/create— Create a new report configurationPOST /merchanthub/api/v1/reports/list— List available reportsPOST /merchanthub/api/v1/reports/retrieve— Retrieve report detailsPOST /merchanthub/api/v1/reports/download/url— Download report fileDELETE /merchanthub/api/v1/reports/delete— Delete a report
Surcharge APIs
Calculate and manage payment surcharges dynamically based on card type and transaction details.
Use cases:
- Calculate surcharges before payment processing
- Configure card-specific surcharge rates
- Comply with surcharging regulations
- Display accurate surcharge amounts to customers
Key endpoints:
POST /merchanthub/api/v1/surcharges/calculate— Calculate surcharge for a transactionPOST /merchanthub/api/v1/surcharges/create— Create surcharge configurationPOST /merchanthub/api/v1/surcharges/list— List surcharge configurationsPOST /merchanthub/api/v1/surcharges/update— Update surcharge configurationDELETE /merchanthub/api/v1/surcharges/delete— Delete surcharge configuration
Pay By Link API
Create and manage payment links for invoicing, bill payments, and remote checkout.
Use cases:
- Send payment links via email or SMS
- Create shareable payment URLs
- Process payments without a website
- Track payment link usage and conversion
Key endpoints:
POST /merchanthub/api/v1/paymentlink/create— Create a payment linkPOST /merchanthub/api/v1/paymentlink/retrieve— Retrieve payment link details
Retry Rules APIs
Configure automatic retry logic for failed transactions and recurring billing.
Use cases:
- Set up smart retry schedules for failed subscriptions
- Configure retry intervals based on decline codes
- Manage retry attempts for recurring billing
- Optimize authorization success rates
Key endpoints:
POST /merchanthub/api/v1/retryrules/create— Create retry rulePOST /merchanthub/api/v1/retryrules/list— List retry rulesPOST /merchanthub/api/v1/retryrules/retrieve— Retrieve retry rulePOST /merchanthub/api/v1/retryrules/update— Update retry rulePOST /merchanthub/api/v1/retryrules/delete— Delete retry rule
Dynamic Query APIs
Query transaction data and merchant information using flexible search criteria.
Use cases:
- Search transactions by date range, status, or amount
- Query merchant hierarchy information
- Build custom reporting dashboards
- Integrate transaction data into external systems
Key endpoints:
POST /merchanthub/api/v1/dynamicquery/transaction/list— Execute a dynamic query
User Management APIs
Create and manage user accounts, permissions, and access control.
Use cases:
- Programmatically create user accounts
- Manage user permissions and groups
- Enable/disable user access
- Reset user passwords
Key endpoints:
POST /merchanthub/api/v1/usermanagement/users/signup— Create a new userPOST /merchanthub/api/v1/usermanagement/users/list— List usersPOST /merchanthub/api/v1/usermanagement/users/enable— Enable a user accountPOST /merchanthub/api/v1/usermanagement/users/disable— Disable a user accountDELETE /merchanthub/api/v1/usermanagement/users/delete— Delete a user
Authentication
All API requests require authentication using one of the following methods:
Basic Authentication (Username/Password)
Include credentials in the request body for standard authentication.
{
"userName": "your-username",
"password": "your-password"
}
JWT Bearer Token
Use a signed JWT token in the Authorization header to authenticate without sending credentials with every request. Tokens inherit the full permissions of the creating user and include an expiry date.
Authorization: Bearer <token>
X-Auth Token
Create a scoped authentication token with pre-defined mandatory key-value pairs. Primarily used in frontend technologies to enforce specific field values and prevent tampering.
x-authentication-token: <token>
X-Signature
Password-free authentication using JWS ECDSA ES512, resulting in a signed JWT placed in the x-signature request header. Requires an elliptic P521 certificate and approval from your Connected Payments Account Manager.
x-signature: <signed-jwt>
For detailed implementation guides and code samples, see Authentication Methods.