Skip to main content

Pay Type

GET /pay-type/current

GET /pay-type/document/<_id>

GET /pay-type/list

GET /pay-type/mapping/entity/<entity_id>

GET /pay-type/master

POST

POST /pay-type

POST /pay-type/documents/dependencies

POST /pay-type/entity/<entity_id>

POST /pay-type/mapping

POST /pay-type/updateEntitiesWithDependencies

PATCH

DELETE (entity_id)

DELETE (_id)

Data Models

Endpoints

GET /pay-type/current

Summary

Get a list of currently effective active pay type entities for the specified sites as of the given effective_date: effective_date=2016-11-18T19:04:58.124Z.

To narrow the list to specific entity_ids, use: ?effective_date=2016-11-18T19:04:58.124Z&entity_ids=['578e98111fa261f4867bdf12','231e98111fa261f4867bdf08'].

To include the audit fields, use: ?include_audit=true.

To include the inactive documents, use: ?include_inactive=true.

To populate nested entities, use: ?include_nested=true.

To populate specified nested entities only, use: ?include_entities=&quot;menu-category&quot;, &quot;menu-item-group&quot; .

Other filters can be applied against the entity documents by using the $filter parameter.

Request Parameters

In

Field Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company to manage data for

header

X-SITE-IDs

[ csv of string ]

No

The unique identifiers (UIDs) of the site to manage data for

query

$filter

string

No

A filter expression in OData v4 format

query

$top

int32

No

The maximum documents to return

query

$skip

int32

No

The documents to skip before returning

query

$orderby

string

No

An order by expression in OData v4 format

query

effective_date

string

Yes

The date and time to query against

query

entity_ids

[ string ]

No

An array of entity identifiers

query

include_nested

boolean

No

Hydrates related nested objects when returning a result, such as populate a Menu with Menu Categories and Menu Groups

query

Include_mappings

boolean

No

Include mappings for document in the response

query

include_mappings_for_entities

[ string ]

No

Specifies entity types for which mappings are presented as a part of the response. For example, include_mappings_for_entities_param=&#39;product&#39;,&#39;product-price&#39;, etc.

query

include_entities

[ csv of string ]

No

Specifies entity_types to be populated by nesting mechanism (For example, include_entities=['menu-category'] for menu call - populate a menu with menu categories)

query

include_audit

boolean

No

Adds audit fields to each document when returning a result (is_active, is_master, created_at, created_by, updated_at, updated_by)

query

include_inactive

boolean

No

Includes the documents that are inactive for the current sites

Response Codes

Response

Description

Schema

200 OK

Success

pay_type_list

400 Bad Request

Bad request, for more information look at body error

403 Forbidden

Invalid token

404 Not Found

Not found

422 Unprocessable Entity

Unprocessable error

Default

Unexpected error

GET /pay-type/document/<_id>

Summary

Get one pay type by specific document identifier.

Request Parameters

In

Field Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company to manage data for

path

_id

string

Yes

The document ID

query

include_nested

boolean

No

Hydrates related nested objects when returning a result, such as populate a Menu with Menu Categories and Menu Groups

query

include_mappings_for_entities

[ string ]

No

Specifies entity types for which mappings are presented as a part of the response. For example, include_mappings_for_entities_param=&#39;product&#39;,&#39;product-price&#39;, etc.

query

include_entities

[ string ]

No

Specifies entity_types to be populated by nesting mechanism (For example, include_entities=['menu-category'] for menu call - populate a menu with menu categories)

Response Codes

Response

Description

Schema

200 OK

Success

pay_type

400 Bad Request

Bad request, for more information look at body error

403 Forbidden

Invalid token

404 Not Found

Not found

422 Unprocessable Entity

Unprocessable error

Default

Unexpected error

GET /pay-type/list

Summary

Get a list of active pay type entities for the specified sites as of the given effective_date: effective_date=2016-11-18T19:04:58.124Z.

To narrow the list to specific entity_ids, use: ?effective_date=2016-11-18T19:04:58.124Z&entity_ids=['578e98111fa261f4867bdf12','231e98111fa261f4867bdf08'].

To include the audit fields, use: ?include_audit=true.

To include the inactive documents, use: ?include_inactive=true.

To populate nested entities, use: ?include_nested=true.

To populate specified nested entities only, use: ?include_entities=&quot;menu-category&quot;, &quot;menu-item-group&quot; .

Other filters can be applied against the entity documents by using the $filter parameter.

In

Field Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company to manage data for

header

X-SITE-IDs

[ csv of string ]

No

The unique identifiers (UIDs) of the site to manage data for

query

$filter

string

No

A filter expression in OData v4 format

query

$top

int32

No

The maximum documents to return

query

$skip

int32

No

The documents to skip before returning

query

$orderby

string

No

An order by expression in OData v4 format

query

effective_date

string

Yes

The date and time to query against

query

entity_ids

[ string ]

No

An array of entity identifiers

query

include_nested

boolean

No

Hydrates related nested objects when returning a result, such as populate a Menu with Menu Categories and Menu Groups

query

include_mappings_for_entities

[ string ]

No

Specifies entity types for which mappings are presented as a part of the response. For example, include_mappings_for_entities_param=&#39;product&#39;,&#39;product-price&#39;, etc.

query

include_entities

[ string ]

No

Specifies entity_types to be populated by nesting mechanism (For example, include_entities=['menu-category'] for menu call - populate a menu with menu categories)

query

include_audit

boolean

No

Adds audit fields to each document when returning a result (is_active, is_master, created_at, created_by, updated_at, updated_by)

query

include_inactive

boolean

No

Includes the documents that are inactive for the current sites

Response Codes

Response

Description

Schema

200 OK

Success

pay_type_list

400 Bad Request

Bad request, for more information look at body error

403 Forbidden

Invalid token

404 Not Found

Not found

422 Unprocessable Entity

Unprocessable error

Default

Unexpected error

GET /pay-type/mapping/entity/<entity_id>

Summary

Get a list of pay type mappings for specified sites.

Request Parameters

In

Field Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company to manage data for

header

X-SITE-IDs

[ csv of string ]

No

The unique identifiers (UIDs) of the site to manage data for

path

entity_id

string

Yes

The entity ID

query

$filter

string

No

A filter expression in OData v4 format

query

$top

int32

No

The maximum documents to return

query

$skip

int32

No

The documents to skip before returning

query

$orderby

string

No

An order by expression in OData v4 format

query

include_inactive

boolean

No

Includes the documents that are inactive for the current sites

Response Codes

Response

Description

Schema

200 OK

Success

mapping_list_response

400 Bad Request

Bad request, for more information look at body error

403 Forbidden

Invalid token

404 Not Found

Not found

422 Unprocessable Entity

Unprocessable error

Default

Unexpected error

GET /pay-type/master

Summary

Get a master list of pay type entities, regardless of site.

Request Parameters

In

Field Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company to manage data for

query

$top

int32

No

The maximum documents to return

query

$skip

int32

No

The documents to skip before returning

query

$filter

string

No

A filter expression in OData v4 format

query

$orderby

string

No

An order by expression in OData v4 format

query

include_nested

boolean

No

Hydrates related nested objects when returning a result, such as populate a Menu with Menu Categories and Menu Groups

query

Include_mappings

boolean

No

Include mappings for document in the response

query

include_entities

[ string ]

No

Specifies entity_types to be populated by nesting mechanism (For example, include_entities=['menu-category'] for menu call - populate a menu with menu categories)

query

include_inactive

boolean

No

Includes the documents that are inactive for the current sites

Response Codes

Response

Description

Schema

200 OK

Success

pay_type_list

400 Bad Request

Bad request, for more information look at body error

403 Forbidden

Invalid token

404 Not Found

Not found

422 Unprocessable Entity

Unprocessable error

Default

Unexpected error

POST

Summary

Create the list of pay type mappings for the entity and sites.

Request Parameters

In

Field Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company to manage data for

header

X-SITE-IDs

[ csv of string ]

No

The unique identifiers (UIDs) of the site to manage data for

path

entity_id

string

Yes

The entity ID

body

body

mappings_update_request

Yes

The array of the pay type mappings being added

Response Codes

Response

Description

Schema

200 OK

Success

mapping_list_response

400 Bad Request

Bad request, for more information look at body error

403 Forbidden

Invalid token

404 Not Found

Not found

422 Unprocessable Entity

Unprocessable error

Default

Unexpected error

POST /pay-type

Summary

Add a new pay type.

Request Parameters

In

Field Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company to manage data for

query

include_nested

boolean

No

Hydrates related nested objects when returning a result, such as populate a Menu with Menu Categories and Menu Groups

query

include_entities

[ string ]

No

Specifies entity_types to be populated by nesting mechanism (For example, include_entities=['menu-category'] for menu call - populate a menu with menu categories)

body

body

pay_type_create

Yes

The JSON formatted request

Response Codes

Response

Description

Schema

200 OK

Success

pay_type

400 Bad Request

Bad request, for more information look at body error

403 Forbidden

Invalid token

404 Not Found

Not found

422 Unprocessable Entity

Unprocessable error

Default

Unexpected error

POST /pay-type/documents/dependencies

Summary

Check for documents' dependencies.

Request Parameters

In

Field Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company to manage data for

body

body

pay_type

Yes

The JSON formatted request

Response Codes

Response

Description

Schema

200 OK

Success

pay_type_list

400 Bad Request

Bad request, for more information look at body error

403 Forbidden

Invalid token

404 Not Found

Not found

422 Unprocessable Entity

Unprocessable error

Default

Unexpected error

POST /pay-type/entity/<entity_id>

Summary

Create or update pay types.

Request Parameters

In

Field Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company to manage data for

path

entity_id

string

Yes

The entity ID

body

body

pay_type_create

Yes

The JSON formatted request

Response Codes

Response

Description

Schema

200 OK

Success

pay_type

400 Bad Request

Bad request, for more information look at body error

403 Forbidden

Invalid token

404 Not Found

Not found

422 Unprocessable Entity

Unprocessable error

Default

Unexpected error

POST /pay-type/mapping

Summary

Add a new pay type mapping.

Request Parameters

In

Field Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company to manage data for

body

body

mapping_create_request

Yes

The JSON of the pay type mapping being added

Response Codes

Response

Description

Schema

200 OK

Success

mapping_list_response

400 Bad Request

Bad request, for more information look at body error

403 Forbidden

Invalid token

404 Not Found

Not found

422 Unprocessable Entity

Unprocessable error

Default

Unexpected error

POST /pay-type/updateEntitiesWithDependencies

Summary

Create or update pay types with the mappings.

Request Parameters

In

Field Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company to manage data for

header

X-SITE-IDs

[ csv of string ]

No

The unique identifiers (UIDs) of the site to manage data for

body

body

pay_type_create

Yes

Supports mappings field (array/boolean) for each document. With mappings, true mappings are created for the current date and sites from X-SITE-IDs header.

Response Codes

Response

Description

Schema

200 OK

Success

pay_type_list

400 Bad Request

Bad request, for more information look at body error

403 Forbidden

Invalid token

404 Not Found

Not found

422 Unprocessable Entity

Unprocessable error

Default

Unexpected error

PATCH

Summary

Partially update a pay type.

Request Parameters

In

Field Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company to manage data for

path

_id

string

Yes

The document ID

query

include_nested

boolean

No

Hydrates related nested objects when returning a result, such as populate a Menu with Menu Categories and Menu Groups

query

include_entities

[ string ]

No

Specifies entity_types to be populated by nesting mechanism (For example, include_entities=['menu-category'] for menu call - populate a menu with menu categories)

body

body

pay_type_edit

Yes

The JSON of the category being patched

Response Codes

Response

Description

Schema

200 OK

Success

pay_type_edit

400 Bad Request

Bad request, for more information look at body error

403 Forbidden

Invalid token

404 Not Found

Not found

422 Unprocessable Entity

Unprocessable error

Default

Unexpected error

DELETE (entity_id)

Summary

Delete an entity and all versions of it.

Request Parameters

In

Field Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company to manage data for

path

entity_id

string

Yes

The entity ID

Response Codes

Response

Description

200 OK

Success

400 Bad Request

Bad request, for more information look at body error

403 Forbidden

Invalid token

404 Not Found

Not found

422 Unprocessable Entity

Unprocessable error

Default

Unexpected error

DELETE (_id)

Summary

Delete a pay type.

Request Parameters

In

Field Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company to manage data for

path

_id

string

Yes

The document ID

Response Codes

Response

Description

200 OK

Success

400 Bad Request

Bad request, for more information look at body error

403 Forbidden

Invalid token

404 Not Found

Not found

422 Unprocessable Entity

Unprocessable error

Default

Unexpected error

Data Models

pay_type

pay_type_create

pay_type_edit

pay_type_list

name

code

external_id

paypal_venmo_flow_type

xenial_touchless_flow_type

citcon_flow_type

_id

company_id

entity_id

is_master

is_active

created_by

updated_by

created_at

updated_at

imported_from

pay_type

A bulk-site entity and lookup table containing pay types.

Field Name

Type

Required

Description

name

string

Yes

The payment type name

code

string

Yes

The pay type code value

payment_id

string

Yes

The payment identifier (ID)

external_id

external_id

No

The external ID

pay_type_id

string

No

The pay type ID

pay_type_name

string

No

The pay type name

allow_tip

boolean

No

The flag that indicates whether to allow the tip property

tip_threshold

number

No

The threshold within the payment type

restricted_tag_entity_ids

[ string, object ]

No

The products with selected tag(s) cannot be purchased by the current payment type

tip_method

string

No

Defines when tips need to be added to the order.

Enum:

  • use_terminal_scheme

  • during_payment

  • after_payment

tip_method_destination_override

boolean

No

Defines if the selected tip method for the current pay type needs to be overridden based on the destination of the order

destination_overrides

[ object ]

No

Configures the tip method depending on the destination

program_entity_id

string, object

No

The program that allows the the system to pay for products and is used for this payment method

allow_deposit

boolean

No

Defines which payment types are allowed to be deposited

print_tip_lines

boolean

No

Option to enable or disable print tip lines

prompt_for_receipt_on_final_payment

boolean

No

The flag that indicates whether to prompt for receipt on the final payment

change_back

boolean

No

The flag that indicates whether to allow the charge back property

open_cash_drawer

boolean

No

The flag that indicates whether to allow the open cash drawer property

quickpay

boolean

No

The flag that indicates whether to allow the quick pay property

signature_capture_threshold

boolean

No

The flag that indicates whether to require a signature on a transaction when it is greater than a specified amount

signature_capture_threshold_amount

number (currency)

No

The transaction threshold amount to require a signature

allowed_for_refund

boolean

No

A buik-site field. Determines if this payment type can be used for a refund.

allowed_for_return

boolean

No

A buik-site field. Determines if this payment type can be used for a return.

payment_class

string

Yes

The payment class property

house_account_type

string

No

The house account type indicates where the house account is managed and provides validation for the system responsible for the account.

Enum:

  • xenial_house_account

  • xenial_suite_catering_account

pos_onscreen_tip

boolean

No

The flag that indicates whether to enable the point of sale (POS) onscreen tip prompt for payment type

pos_onscreen_signature

boolean

No

The flag that indicates whether to enable the POS onscreen signature prompt for payment type

pos_onscreen_tip_signature

boolean

No

The flag that indicates whether to combine tip and signature prompts on the same screen

allowed_order_source_entity_ids

[ string, object ]

No

An array of allowed Order Source entity IDs

allowed_order_source_ids

[ string ]

No

An array of allowed Order Source IDs

restricted_order_source_entity_ids

[ string, object ]

No

An array of restricted Order Source entity IDs

restricted_order_source_ids

[ string ]

No

An array of restricted Order Source IDs

provider

string

No

The payment provider or payment gateway name which processes the payment.

Enum:

  • paypal_venmo

  • xenial_touchless

  • citcon

xenial_touchless_flow_type_receipt

boolean

No

A buik-site field and receipt option

xenial_touchless_flow_type_pos_display

boolean

No

A buik-site field and POS display option

xenial_touchless_flow_type_email

boolean

No

A buik-site field and email option

flow_type

[ ]

No

A buik-site field and flow type that the order application supports for this payment type

paypal_venmo_flow_type

paypal_venmo_flow_type

No

A bulk-site field and flow type that the order application supports for this payment type

xenial_touchless_flow_type

xenial_touchless_flow_type

No

A bulk-site field and flow type that the order application supports for this payment type

citcon_flow_type

citcon_flow_type

No

A bulk-site field and flow type that the order application supports for this payment type

permissions

object

No

This property contains access control definitions

_id

_id

No

The auto-assigned system document ID

company_id

company_id

No

The ID of the company who owns the document

entity_id

entity_id

No

The auto-assigned unique ID (UID) of this entity, set on creation. All future versions of this entity will share the same entity_id.

is_master

is_master

No

is_active

is_active

No

Marking property is the essence of active documents. Sets in true by default

created_by

created_by

No

The ID of the OPRA user or site who created this document

updated_by

updated_by

No

The ID of the OPRA user or site who last updated this document

created_at

created_at

No

The last date and time the document was created

updated_at

updated_at

No

The last date and time the document was updated

imported_from

imported_from

No

The source of a document

pay_type_create

A bulk-site entity and lookup table containing pay types.

Field Name

Type

Required

Description

name

string

Yes

The payment type name

code

string

Yes

The pay type code value

payment_id

string

Yes

The payment identifier (ID)

external_id

external_id

No

The external ID

pay_type_id

string

No

The pay type ID

pay_type_name

string

No

The pay type name

allow_tip

boolean

No

The flag that indicates whether to allow the tip property

tip_threshold

number

No

The threshold within the payment type

restricted_tag_entity_ids

[ string, object ]

No

The products with selected tag(s) cannot be purchased by the current payment type

tip_method

string

No

Defines when tips need to be added to the order.

Enum:

  • use_terminal_scheme

  • during_payment

  • after_payment

tip_method_destination_override

boolean

No

Defines if the selected tip method for the current pay type needs to be overridden based on the destination of the order

destination_overrides

[ object ]

No

Configures the tip method depending on the destination

program_entity_id

string, object

No

The program that allows the the system to pay for products and is used for this payment method

allow_deposit

boolean

No

Defines which payment types are allowed to be deposited

print_tip_lines

boolean

No

Option to enable or disable print tip lines

prompt_for_receipt_on_final_payment

boolean

No

The flag that indicates whether to prompt for receipt on the final payment

change_back

boolean

No

The flag that indicates whether to allow the charge back property

open_cash_drawer

boolean

No

The flag that indicates whether to allow the open cash drawer property

quickpay

boolean

No

The flag that indicates whether to allow the quick pay property

signature_capture_threshold

boolean

No

The flag that indicates whether to require a signature on a transaction when it is greater than a specified amount

signature_capture_threshold_amount

number (currency)

No

The transaction threshold amount to require a signature

allowed_for_refund

boolean

No

A buik-site field. Determines if this payment type can be used for a refund.

allowed_for_return

boolean

No

A buik-site field. Determines if this payment type can be used for a return.

payment_class

string

Yes

The payment class property

house_account_type

string

No

The house account type indicates where the house account is managed and provides validation for the system responsible for the account.

Enum:

  • xenial_house_account

  • xenial_suite_catering_account

pos_onscreen_tip

boolean

No

The flag that indicates whether to enable the point of sale (POS) onscreen tip prompt for payment type

pos_onscreen_signature

boolean

No

The flag that indicates whether to enable the POS onscreen signature prompt for payment type

pos_onscreen_tip_signature

boolean

No

The flag that indicates whether to combine tip and signature prompts on the same screen

allowed_order_source_entity_ids

[ string, object ]

No

An array of allowed Order Source entity IDs

allowed_order_source_ids

[ string ]

No

An array of allowed Order Source IDs

restricted_order_source_entity_ids

[ string, object ]

No

An array of restricted Order Source entity IDs

restricted_order_source_ids

[ string ]

No

An array of restricted Order Source IDs

provider

string

No

The payment provider or payment gateway name which processes the payment.

Enum:

  • paypal_venmo

  • xenial_touchless

  • citcon

xenial_touchless_flow_type_receipt

boolean

No

A buik-site field and receipt option

xenial_touchless_flow_type_pos_display

boolean

No

A buik-site field and POS display option

xenial_touchless_flow_type_email

boolean

No

A buik-site field and email option

flow_type

[ ]

No

A buik-site field and flow type that the order application supports for this payment type

paypal_venmo_flow_type

paypal_venmo_flow_type

No

A bulk-site field and flow type that the order application supports for this payment type

xenial_touchless_flow_type

xenial_touchless_flow_type

No

A bulk-site field and flow type that the order application supports for this payment type

citcon_flow_type

citcon_flow_type

No

A bulk-site field and flow type that the order application supports for this payment type

permissions

object

No

This property contains access control definitions

entity_id

entity_id

No

The auto-assigned unique ID (UID) of this entity, set on creation. All future versions of this entity will share the same entity_id.

pay_type_edit

A bulk-site entity and lookup table containing pay types.

Field Name

Type

Required

Description

name

string

No

The payment type name

code

string

No

The pay type code value

payment_id

string

No

The payment identifier (ID)

external_id

external_id

No

The external ID

pay_type_id

string

No

The pay type ID

pay_type_name

string

No

The pay type name

allow_tip

boolean

No

The flag that indicates whether to allow the tip property

tip_threshold

number

No

The threshold within the payment type

restricted_tag_entity_ids

[ string, object ]

No

The products with selected tag(s) cannot be purchased by the current payment type

tip_method

string

No

Defines when tips need to be added to the order.

Enum:

  • use_terminal_scheme

  • during_payment

  • after_payment

tip_method_destination_override

boolean

No

Defines if the selected tip method for the current pay type needs to be overridden based on the destination of the order

destination_overrides

[ object ]

No

Configures the tip method depending on the destination

program_entity_id

string, object

No

The program that allows the the system to pay for products and is used for this payment method

allow_deposit

boolean

No

Defines which payment types are allowed to be deposited

print_tip_lines

boolean

No

Option to enable or disable print tip lines

prompt_for_receipt_on_final_payment

boolean

No

The flag that indicates whether to prompt for receipt on the final payment

change_back

boolean

No

The flag that indicates whether to allow the charge back property

open_cash_drawer

boolean

No

The flag that indicates whether to allow the open cash drawer property

quickpay

boolean

No

The flag that indicates whether to allow the quick pay property

signature_capture_threshold

boolean

No

The flag that indicates whether to require a signature on a transaction when it is greater than a specified amount

signature_capture_threshold_amount

number (currency)

No

The transaction threshold amount to require a signature

allowed_for_refund

boolean

No

A buik-site field. Determines if this payment type can be used for a refund.

allowed_for_return

boolean

No

A buik-site field. Determines if this payment type can be used for a return.

payment_class

string

No

The payment class property

house_account_type

string

No

The house account type indicates where the house account is managed and provides validation for the system responsible for the account.

Enum:

  • xenial_house_account

  • xenial_suite_catering_account

pos_onscreen_tip

boolean

No

The flag that indicates whether to enable the point of sale (POS) onscreen tip prompt for payment type

pos_onscreen_signature

boolean

No

The flag that indicates whether to enable the POS onscreen signature prompt for payment type

pos_onscreen_tip_signature

boolean

No

The flag that indicates whether to combine tip and signature prompts on the same screen

allowed_order_source_entity_ids

[ string, object ]

No

An array of allowed Order Source entity IDs

allowed_order_source_ids

[ string ]

No

An array of allowed Order Source IDs

restricted_order_source_entity_ids

[ string, object ]

No

An array of restricted Order Source entity IDs

restricted_order_source_ids

[ string ]

No

An array of restricted Order Source IDs

provider

string

No

The payment provider or payment gateway name which processes the payment.

Enum:

  • paypal_venmo

  • xenial_touchless

  • citcon

xenial_touchless_flow_type_receipt

boolean

No

A buik-site field and receipt option

xenial_touchless_flow_type_pos_display

boolean

No

A buik-site field and POS display option

xenial_touchless_flow_type_email

boolean

No

A buik-site field and email option

flow_type

[ ]

No

A buik-site field and flow type that the order application supports for this payment type

paypal_venmo_flow_type

paypal_venmo_flow_type

No

A bulk-site field and flow type that the order application supports for this payment type

xenial_touchless_flow_type

xenial_touchless_flow_type

No

A bulk-site field and flow type that the order application supports for this payment type

citcon_flow_type

citcon_flow_type

No

A bulk-site field and flow type that the order application supports for this payment type

permissions

object

No

This property contains access control definitions

pay_type_list

Field Name

Type

Required

Description

total

integer

No

The total number of pay type items in the list

items

pay_type

No

The pay type list

mapping_create_request

Field Name

Type

Required

Description

document_id

string

Yes

The document identifier in the collection the mapping refers to

entity_id

entity_id

Yes

effective_date

string

Yes

site_ids

string

Yes

The identifiers of the site to manage data for

mappings_update_request

Field Name

Type

Required

Description

document_id

string

Yes

The document identifier in the collection the mapping refers to

entity_id

entity_id

Yes

effective_date

string

Yes

site_ids

string

Yes

The identifiers of the site to manage data for

mapping_list_response

Field Name

Type

Description

total

integer

The total items on the list

items

document_mapping

The list of items

document_mapping

Field Name

Type

Description

_id

_id

The auto-assigned system document identifier (ID)

company_id

company_id

The ID of the company who owns the document

site_ids

string

The identifiers of the site to manage data for

entity_id

entity_id

The auto-assigned unique ID (UID) of this entity, set on creation. All future versions of this entity will share the same entity_id.

document_id

string

The document identifier in the collection the mapping refers to

created_by

created_by

The ID of the OPRA user or site who created this document

updated_by

updated_by

The ID of the OPRA user or site who last updated this document

created_at

created_at

The last date and time the document was created

updated_at

updated_at

The last date and time the document was updated

name

Field Name

Type

Required

Description

name

string

No

The pay type name

code

Field Name

Type

Required

Description

code

string

No

Select international code of the currency according to ISO 4217

external_id

Field Name

Type

Required

Description

external_id

string

No

The external identifier (ID)

paypal_venmo_flow_type

Field Name

Type

Required

Description

paypal_venmo_flow_type

string

No

A bulk-site field and flow type that the order application supports for this payment type

xenial_touchless_flow_type

Field Name

Type

Required

Description

xenial_touchless_flow_type

string

No

A bulk-site field and flow type that the order application supports for this payment type

citcon_flow_type

Field Name

Type

Required

Description

citcon_flow_type

string

No

A bulk-site field and flow type that the order application supports for this payment type

_id

Field Name

Type

Required

Description

_id

string

No

The auto-assigned system document identifier (ID)

company_id

Field Name

Type

Required

Description

company_id

string

No

The identifier (ID) of the company who owns the document

entity_id

Field Name

Type

Required

Description

entity_id

string

No

The auto-assigned unique ID (UID) of this entity, set on creation. All future versions of this entity will share the same entity_id.

is_master

Field Name

Type

Required

Description

is_master

boolean

No

is_active

Field Name

Type

Required

Description

is_active

boolean

No

Marking property is the essence of active documents. Sets in true by default

created_by

Field Name

Type

Required

Description

created_by

string

No

The identifier (ID) of the OPRA user or site who created this document

updated_by

Field Name

Type

Required

Description

updated_by

string

No

The identifier (ID) of the OPRA user or site who last updated this document

created_at

Field Name

Type

Required

Description

created_at

string

No

The last date and time the document was created

updated_at

Field Name

Type

Required

Description

updated_at

string

No

The last date and time the document was updated

imported_from

Field Name

Type

Required

Description

imported_from

string

No

The source of a document