EFTPOS attributes
Partners can submit Tyro EFTPOS card requests via the Transaction SDK and obtain transaction status changes via both callbacks and webhooks.
Creating a transaction
Use function:
To process a Tyro EFTPOS purchase request the following fields apply. Any required field not passed to the SDK will be prompted within the Tyro Health submission page.
EFTPOS submission attributes
Field | Type/Format | Condition | Description | Example |
---|---|---|---|---|
platform |
String Valid values only |
M | The SDK supports two modes - one for payment transactions and another for claims. Set to: - virtual-terminal for card payments |
|
paymentMethod |
String Valid values only |
O | Valid values only. For EFTPOS payments only, specify a method: - Set to terminal for Tyro EFTPOS - Set to new-payment-card for provider entry - Set to mobile for SMS payment requests |
|
chargeAmount |
String Currency notation Up to 6 numeric and 2 decimal digits |
M | For EFTPOS payments only, specify a total tender amount. Gross (including GST) amount in $XX.XX format. | |
providerNumber |
String Up to 16 alphanumeric characters |
O | Servicing provider number or other registration identifier which must be valid and active in Tyro Health Online and HealthPoint for a given funder. For PHI quotes and claims, a Medicare issued provider number should be used where available. Where a Medicare provider number is not applicable, use the appropriate identifier - a Medibank, Fund specific or HealthPoint issued provider number. The provider number can also be used to set the default terminal identifier (TID) and merchant identifier (MID) if multiple TIDs and MIDs exist for a business.Optional for EFTPOS payments.Up to 16 alphanumeric characters |
|
invoiceReference |
String | O | Provider nominated unique transaction reference number, such as an invoice number from the practice management or accounting system. Used for reconciliation purposes. | |
Patient |
object |
|||
patient.firstName |
String Up to 40 characters |
O | Patient first name as on their health fund card | |
patient.lastName |
String Up to 40 characters |
O | Patient last name as on their health fund card | |
patient.dob |
String YYYY-MM-DD |
O | Patient Date of Birth in 'YYYY-MM-DD' format. | |
patient.mobile |
String |
O | Optional mobile phone number of the member. This can be used for patient searches in the Tyro Health Online | |
portal International or national notation supported. | ||||
patient.refId |
String Up to 128 alphanumeric characters |
O | An optional but recommended patient unique reference as set by you, such as a UUID. This value is used to uniquely identify a patient in Tyro Health Online . Omitting refId will cause duplicate patient records to be created and could make patient searches more difficult for providers who also use the Tyro Health Online portal to check on status of a claim and remittance.If supplied and valid, this value will pre-populate patient details from the patient record in the business as set in any prior claim. Any patient details sent for an existing patient record will update those values. |
EFTPOS response attributes
When a transaction is processed, the SDK will pass through the transaction details to the first parameter of the onSuccess callback.
The response payload contains a number of attributes with a complete description of the transaction model in our online API documentation.
Key response attributes include:
Field | Type / Format | Description | Example |
---|---|---|---|
id |
String 64-128 bit ID |
a unique transaction level identifier | |
status |
String | Overall transaction status | |
payments[].status |
String | Status of the payment (if run in conjunction with a claim) | |
payments[].amount |
String Currency notation |
Amount paid | |
payments[].gatewayDescription |
String | For declined transaction, additional descriptions from the payment network |