Models & Types
Every request and response model, enumeration and error type used by the myPOS POS API V2. Any property whose type is itself a model links to that model’s section on this page, and the endpoint pages link back here.
| Name | Kind |
|---|---|
| Paginated List Of Terminal V2 | Model |
| Get Receipt Response | Model |
| Get Terminal Details V2 Response | Model |
| Outlet Response | Model |
| Receipt Data | Model |
| Terminal Model V2 Response | Model |
| Terminal Outlet Response | Model |
| Terminal Permissions Response | Model |
| Terminal Receipt Settings Response | Model |
| Terminal V2 | Model |
| Mpos Terminal Status | Enum |
| Logo Type | Enum |
| Problem Details | Error |
| Validation Problem Details | Error |
Models
Paginated List Of Terminal V2
| Attribute | Type | Description |
|---|---|---|
items | array of Terminal V2 | — |
page | integer (int32) | — |
page_size | integer (int32) | — |
total_pages | integer (int32) | — |
total_count | integer (int32) | — |
has_previous_page | boolean | — |
has_next_page | boolean | — |
Get Receipt Response
| Attribute | Type | Description |
|---|---|---|
tpl_data | Receipt Data | — |
tpl_name | string | — |
Get Terminal Details V2 Response
| Attribute | Type | Description |
|---|---|---|
terminal_id | string | — Example: 123456 |
custom_name | string | — Example: Main Terminal |
model | string | — Example: A920Pro |
serial_number | string | — Example: A920P123456 |
tid | string | — Example: 30000001 |
status | Mpos Terminal Status | — |
currency | string | — Example: EUR |
billing_descriptor | string | — Example: MY STORE |
settlement_account_id | string | — Example: 123456 |
outlet | Terminal Outlet Response | — |
is_fiscal | boolean | — Example: false |
is_rented | boolean | — Example: false |
is_unattended | boolean | — Example: false |
permissions | Terminal Permissions Response | — |
receipt | Terminal Receipt Settings Response | — |
Outlet Response
| Attribute | Type | Description |
|---|---|---|
outlet_id | integer (int64) | — |
name | string | — |
Receipt Data
| Attribute | Type | Description |
|---|---|---|
tran_uuid | string | — |
is_approved | boolean | — |
is_pending | boolean | — |
is_declined | boolean | — |
merch_name | string | — |
address_line1 | string | — |
address_line2 | string | — |
term_id | string | — |
merch_id | string | — |
date | string | — |
time | string | — |
card_scheme | string | — |
pan | string | — |
emboss_name | string | — |
operation_type | string | — |
amount | number (double) | — |
currency | string | — |
sign_row1 | string | — |
sign_row2 | string | — |
sign_row3 | string | — |
tx_status | string | — |
stan | string | — |
auth_code | string | — |
rrn | string | — |
aid | string | — |
lang | string | — |
logo_type | Logo Type | — |
logo_guid | string | — |
default_logo_version | string | — |
default_logo_guid | string | — |
preauth_code | string | — |
card_type | string | — |
receipt_footer_type | string | — |
receipt_footer_row1 | string | — |
receipt_footer_row2 | string | — |
dcc_available | boolean | — |
amount_dcc | number (double) | — |
currency_dcc | string | — |
pl_card_balance | number (double) | — |
pl_card_balance_currency | string | — |
is_private_label | boolean | — |
hide_extra_tran_data | boolean | — |
show_balance | boolean | — |
operator_code | string | — |
amount_tip | number (double) | — |
amount_total | number (double) | — |
proc_code | string | — |
tran_type_sms | string | — |
declined_message | string | — |
resp_code | string | — |
is_void | boolean | — |
is_giftcard_sale | boolean | — |
reference_number | string | — |
reference_number_type | string | — |
receipt_layout_version | string | — |
application_preferred_name | string | — |
exchange_rate_translation | string | — |
exchange_rate | number (double) | — |
show_exchange_rate | boolean | — |
show_footer | boolean | — |
installment_type | string | — |
installment_number | integer (int32) | — |
installment_int_rate | number (double) | — |
installment_first_amount | number (double) | — |
installment_subseq_amount | number (double) | — |
installment_annual_perc_rate | number (double) | — |
installment_fee_rate | number (double) | — |
installment_total_amount | number (double) | — |
is_moto | boolean | — |
is_contactless | boolean | — |
transaction_data_source | string | — |
receipt_v1 | boolean | — |
receipt_address_preference | string | — |
trn | string | — |
transaction_reference | string | — |
acq_scheme | string | — |
is_qr_payment | boolean | — |
Terminal Model V2 Response
| Attribute | Type | Description |
|---|---|---|
model | string | — Example: A920Pro |
description | string | — Example: PAX A920Pro |
order_position | integer (int32) | — Example: 1 |
Terminal Outlet Response
| Attribute | Type | Description |
|---|---|---|
outlet_id | string | — Example: 1001 |
name | string | — Example: Main Store |
Terminal Permissions Response
| Attribute | Type | Description |
|---|---|---|
moto | boolean | — Example: true |
refund | boolean | — Example: true |
reversal | boolean | — Example: true |
settings_menu | boolean | — Example: false |
transactions_menu | boolean | — Example: true |
Terminal Receipt Settings Response
| Attribute | Type | Description |
|---|---|---|
footer_type | string | — Example: default |
footer_lines | array of string | — Example: ["Thank you for your purchase","www.mypos.com"] |
Terminal V2
| Attribute | Type | Description |
|---|---|---|
terminal_id | integer (int64) | — Example: 123456 |
tid | string | — Example: 30000001 |
custom_name | string | — Example: Front desk terminal |
model | string | — Example: A920Pro |
serial_number | string | — Example: A920P123456 |
status | Mpos Terminal Status | — |
currency | string | — Example: EUR |
outlet | Outlet Response | — |
is_fiscal | boolean | — Example: false |
is_rented | boolean | — Example: false |
is_unattended | boolean | — Example: false |
Enumerations
Mpos Terminal Status
| Value | Description |
|---|---|
Active | — |
Deactivated | — |
Reset | — |
ToBeConfigured | — |
Initial | — |
DoNotActivate | — |
Logo Type
| Value | Description |
|---|---|
NoLogo | — |
DefaultLogo | — |
CustomLogo | — |
Error responses
Failed requests return a Problem Details object (RFC 7807). Validation failures (400 Bad Request) return Validation Problem Details, which adds a per-field errors map.
Problem Details
| Attribute | Type | Description |
|---|---|---|
type | string | — |
title | string | — |
status | integer (int32) | — |
detail | string | — |
instance | string | — |
Validation Problem Details
| Attribute | Type | Description |
|---|---|---|
type | string | — |
title | string | — |
status | integer (int32) | — |
detail | string | — |
instance | string | — |
errors | object | — |