PayTo is a modern digital payment solution enabling real-time, account-to-account payments from a customer’s bank account. Developed under the New Payments Platform Australia initiative, PayTo replaces traditional direct debit with a faster, more secure option
PayTo (1.0.0)
This API follows RESTful principles and provides a simple way to integrate PayTo functionality into your systems. It uses semantic versioning to ensure backward compatibility and includes idempotency support through the x-idempotency-id header to prevent duplicate transactions. The API is designed to be developer-friendly while maintaining the security and reliability required for financial transactions.
Download OpenAPI description
Languages
Servers
https://developer.api.commbank.com.au/
Headers
Bodyapplication/jsonrequiredThe amount in AUD dollars
The party initiating the agreement
https://developer.api.commbank.com.au/agreements/{id}/payments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.api.commbank.com.au/agreements/{id}/payments' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'x-idempotency-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
-H 'x-request-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
-d '{
"amount": 9999999.99,
"reference": "string",
"description": "string",
"lastPayment": true,
"initiatingParty": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"destination": {
"account": {
"accountName": "string",
"type": "bankAccount",
"bsb": "string",
"accountNumber": "string",
"alternateIdentification": {
"type": "EMAIL",
"value": "string"
}
},
"party": {
"ultimatePartyName": "string"
}
}
}'Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "received" }
https://developer.api.commbank.com.au/payments/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.api.commbank.com.au/payments/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'x-request-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08'Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "agreementId": "79458f91-82b5-4c38-a886-56df6a6b7980", "status": "payment_accepted", "statusReason": { "code": "string", "description": "string" }, "completedDate": "2025-02-25T00:33:38.806Z", "amount": 9999999.99, "reference": "string", "source": { "account": { … }, "party": { … } }, "destination": { "account": { … }, "party": { … } }, "description": "string", "initiatingParty": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }