Two · JSON-LD Context
Two Context
JSON-LD context defining the semantic vocabulary for Two from Two.
112 Classes
288 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
two:
https://two.inc/schema#
Classes
ErrorResponse
ErrorJSON
CreateOrderIntentRequestSchema
BarCodeSchema
BuyerSchemaForOrderIntentCreation
CompanyCanonicalIdSchema
CompanySchema
CountryCodeEnum
CreateAddressRequestSchema
DueDateCalculationScheme
InvoiceTypeEnum
LaxRepBuyerSchema
LaxRepresentativeSchema
LineItemRequestSchema
LineItemTypeEnum
OrderInstalmentTerms
OrderNetTerms
OrderOriginationEnum
ProductDetailsSchema
SuperLaxRepBuyerSchema
TermsPeriod
OrderIntentResponseSchema
AddressResponseSchema
ApprovalConditionEnum
BuyerSchema
DeclineReasonEnum
LineItemResponseSchema
RepresentativeSchema
CreateOrderRequestSchema
BankAccountSchema
CallbackAuthTypeEnum
CreateOrderMerchantUrlsSchema
CurrencyEnum
DeliveryMethodEnum
DistributionMethodEnum
ElectronicInvoiceRecipient
ElectronicInvoiceRecipientTypeEnum
InvoiceDetailsRequestSchema
KidTypeEnum
MerchantCustomerIdSchema
MerchantUserIdSchema
NonStrictBuyerSchema
OrderMerchantCallbackAuthSchema
OrderTypeEnum
PaymentStatusEnum
PeriodEnum
RecurringDetailsSchema
ShippingDetailsSchema
StrictRepresentativeSchema
TaxSubtotalSchema
OrderResponseSchema
BuyerRefundSurcharge
BuyerSurchargeType
CreateRefundResponseSchema
InvoiceDetailsSchema
InvoiceInsuranceDecisionEnum
InvoiceStatusEnum
LaxBuyerSchema
LaxCompanySchema
OrderLendingTermsSchema
OrderMerchantUrlsSchema
OrderStateEnum
OrderStatusEnum
OrderFeeRequestSchema
BuyerFeeShareSchema
InternalBuyerFeeShareSchema
RoundingBasis
RoundingSchema
SurchargeBasis
PricingOrderFeeResponseSchema
PricingPackageMetadataSchema
PaymentLinkResponseSchema
BuyerInitiatedLatentOrderAddressResponseSchema
BuyerInitiatedLatentOrderResponseSchema
LatentOrderStatusEnum
FulfilledOrdersResponseSchema
FulfillOrderSchema
PartialFulfillOrderSchema
IdempotencyHeader
FulfillOrderResponseSchema
SimpleSchema
EditOrderRequestSchema
InvoiceDetailsWithStatusSchema
OrderRequestQueryList
OrderListRequestSchema
VerificationDataResponseSchema
NotifyRequestSchema
NotificationChannel
FullRefundRequestSchema
LineItemPrototypeSchema
PartialRefundRequestSchema
RefundSummaryResponseSchema
GetInvoiceRequestQueryList
GetInvoicesRequestQueryList
EditInvoiceRequestSchema
InvoiceLineItemChangeRequestSchema
EditInvoiceEmailsRequest
InvoiceCreationRequestSchema
InvoiceCreationResponseSchema
TaxCodesResponseSchema
TaxCategory
TaxCodeEntry
TaxCodeMetadata
CreateMerchantAPIKeyResponseSchema
MerchantAPIKeyResponseSchema
PaginatedSettlementListCursorSchema
CursorPageMetadata
Settlement
GetStatementRequestQuerySchema
ReconOutcomeEventsRequestSchema
ReconOutcomeEventSchema
ReconOutcomeEventTypeEnum
Properties
| Property | Type | Container |
|---|---|---|
| error_code | ||
| error_details | ||
| error_message | ||
| error_json | ||
| error_trace_id | ||
| loc | ||
| msg | ||
| type | ||
| ctx | ||
| gross_amount | string | |
| net_amount | ||
| tax_amount | ||
| invoice_type | ||
| currency | string | |
| line_items | list | |
| buyer | ||
| merchant_id | ||
| merchant_short_name | ||
| shipping_address | ||
| order_origination | ||
| terms | ||
| credit_line_id | ||
| value | string | |
| representative | ||
| company | ||
| company_canonical_id | string | |
| id | ||
| country_prefix | reference | |
| organization_number | string | |
| company_name | string | |
| company_type | ||
| website | ||
| organization_name | string | |
| street_address | string | |
| country | reference | |
| postal_code | string | |
| city | string | |
| region | string | |
| first_name | string | |
| last_name | string | |
| phone_number | string | |
| name | string | |
| description | string | |
| line_item_reference | ||
| discount_amount | string | |
| quantity | string | |
| unit_price | string | |
| tax_rate | string | |
| tax_class_name | string | |
| tax_code | ||
| tax_exemption_reason_code | ||
| quantity_unit | string | |
| image_url | ||
| product_page_url | ||
| details | ||
| prototype_id | ||
| vendor_name | ||
| merchant_child_order_id | ||
| period | reference | |
| number_of_instalments | integer | |
| duration_days | integer | |
| duration_days_calculated_from | ||
| brand | ||
| categories | list | |
| barcodes | ||
| part_number | ||
| approved | ||
| decline_reason | ||
| recourse_decision_reason | ||
| tracking_id | ||
| approved_on_recourse | boolean | |
| approved_with_conditions | list | |
| preferred | ||
| discount_rate | string | |
| buyer_department | ||
| buyer_project | ||
| buyer_purchase_order_number | ||
| buyer_reference | ||
| buyer_vat_number | ||
| merchant_order_id | string | |
| merchant_reference | ||
| merchant_additional_info | ||
| invoice_details | ||
| shipping_details | ||
| order_note | ||
| billing_address | ||
| tax_subtotals | ||
| merchant_invoice_branding_id | ||
| merchant_invoice_store_branding_id | ||
| order_placed_date | ||
| order_type | ||
| sale_country_code | ||
| merchant_payout_account_alias | ||
| recurring | ||
| merchant_invoice_branding_reference | ||
| merchant_invoice_store_branding_reference | ||
| electronic_invoice_recipient | ||
| preferred_distribution_method | ||
| recurring_details | ||
| merchant_urls | ||
| vendor_id | ||
| merchant_user_id | ||
| billing_account_id | ||
| disallow_portal_mutation | ||
| bban | ||
| iban | ||
| bic | ||
| country_code | ||
| branch_sort_code | ||
| local_account_number | ||
| kid_type | ||
| merchant_confirmation_url | string | |
| merchant_cancel_order_url | ||
| merchant_edit_order_url | ||
| merchant_order_verification_pending_url | ||
| merchant_order_verification_failed_url | ||
| merchant_invoice_url | ||
| merchant_shipping_document_url | ||
| merchant_document_urls | ||
| merchant_order_verified_url | ||
| merchant_order_callback_url | ||
| merchant_order_callback_auth | ||
| operator_id | ||
| payee | ||
| payment_reference | ||
| payment_reference_type | ||
| payment_reference_message | string | |
| payment_reference_ocr | string | |
| payment_status | ||
| due_in_days | ||
| invoice_number | ||
| invoice_issue_date | ||
| due_date | ||
| invoice_emails | ||
| merchant_customer_id | string | |
| auth_type | reference | |
| token | string | |
| tracking_number | ||
| carrier_name | ||
| carrier_tracking_url | ||
| expected_delivery_date | ||
| address_co | ||
| address_reference | ||
| address_attn | ||
| delivery_method | ||
| id_required_on_delivery | ||
| taxable_amount | string | |
| payable_amount | ||
| invoice_amount | ||
| prepaid_amount | ||
| percentage_fee | ||
| fixed_fee | ||
| total_fee | ||
| state | ||
| status | ||
| date_created | ||
| date_updated | ||
| merchant_logo_path | ||
| payment_url | ||
| invoice_url | ||
| credit_note_url | ||
| event_log_url | ||
| original_order_id | ||
| root_order_id | ||
| parent_order_id | ||
| external_order_id | ||
| external_order_status | ||
| date_fulfilled | ||
| refunds | ||
| order_revision | ||
| elapsed_time_ms | ||
| invoice_insurance_provider | ||
| recourse_fallback_enabled | ||
| merchant_display_name | ||
| lending_terms | ||
| invoice_distributed_by_merchant | ||
| principal_amount | ||
| buyer_finance_charge_amount | ||
| surcharge_type | reference | |
| amount | string | |
| total_amount | string | |
| refund_no | integer | |
| credit_note_number | string | |
| reason | ||
| buyer_refund_surcharges | ||
| refund_reference | ||
| refund_date | ||
| due_in_days_calculation_method | ||
| requested_due_in_days | ||
| recourse_request_status | ||
| order_id | ||
| apr | ||
| base_rate | ||
| per_payment_rate_factor | ||
| margin | ||
| hedge_rate | ||
| buyer_country_code | reference | |
| invoice_due_in_days | ||
| order_terms | ||
| buyer_fee_share | ||
| threshold | ||
| percentage | ||
| surcharge | ||
| surcharge_basis | reference | |
| cap | ||
| rounding | ||
| reference_terms | ||
| step | string | |
| basis | reference | |
| total_fee_tax_rate | string | |
| pricing_package_id | ||
| pricing_package_revision | ||
| pricing_package_metadata | ||
| net_days_category | string | |
| net_days_rate | string | |
| cycle_length_category | string | |
| cycle_length_rate | string | |
| payment_link | ||
| fulfilled_orders | list | |
| partial | ||
| reverse_tax_liable | boolean | |
| Idempotency-Key | ||
| fulfilled_order | reference | |
| remained_order | ||
| total_paid_amount | string | |
| total_credited_amount | string | |
| total_collected_amount | string | |
| total_recoursed_amount | string | |
| unpaid_amount | string | |
| statement_number | ||
| billing_period_id | ||
| last_updated | dateTime | |
| start_date | ||
| end_date | ||
| limit | ||
| page | ||
| offset | ||
| items | ||
| link_sent | boolean | |
| link_recipient_phone_number | ||
| link_timestamp | ||
| link_verification_successful | ||
| channel | reference | |
| upload_references | ||
| v | ||
| lang | ||
| generate | ||
| line_item_updates | ||
| email_addresses | list | |
| order_ids | list | |
| data | list | |
| metadata | reference | |
| code | string | |
| rate | ||
| category | reference | |
| display_name | string | |
| tax_type | ||
| tax_regime | ||
| requires_exemption_reason | boolean | |
| exemption_reason_code | ||
| mandatory_tax_codes_enabled | boolean | |
| mandatory_tax_rates | list | |
| credit_notes_require_line_items | boolean | |
| hint | string | |
| label | string | |
| issued_by | ||
| date_last_used | ||
| date_expiry | ||
| usage_count | integer | |
| api_key | string | |
| cursor_page_metadata | reference | |
| previous_page_cursor | ||
| next_page_cursor | ||
| settlement_id | ||
| settlement_date | ||
| recipient_account_number | ||
| recipient_account_name | ||
| recipient_iban | ||
| recipient_bban | ||
| funding_provider | string | |
| funding_provider_account_holder_name | ||
| funding_provider_account_number | ||
| payout_currency | reference | |
| payout_amount | ||
| filetype | ||
| transactions | list | |
| time |
JSON-LD Document
{
"@context": {
"@vocab": "https://two.inc/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"two": "https://two.inc/schema#",
"ErrorResponse": "two:ErrorResponse",
"error_code": {
"@id": "two:error_code"
},
"error_details": {
"@id": "two:error_details"
},
"error_message": {
"@id": "two:error_message"
},
"error_json": {
"@id": "two:error_json"
},
"error_trace_id": {
"@id": "two:error_trace_id"
},
"ErrorJSON": "two:ErrorJSON",
"loc": {
"@id": "two:loc"
},
"msg": {
"@id": "two:msg"
},
"type": {
"@id": "two:type"
},
"ctx": {
"@id": "two:ctx"
},
"CreateOrderIntentRequestSchema": "two:CreateOrderIntentRequestSchema",
"gross_amount": {
"@id": "two:gross_amount",
"@type": "xsd:string"
},
"net_amount": {
"@id": "two:net_amount"
},
"tax_amount": {
"@id": "two:tax_amount"
},
"invoice_type": {
"@id": "two:invoice_type"
},
"currency": {
"@id": "two:currency",
"@type": "xsd:string"
},
"line_items": {
"@id": "two:line_items",
"@container": "@list"
},
"buyer": {
"@id": "two:buyer"
},
"merchant_id": {
"@id": "two:merchant_id"
},
"merchant_short_name": {
"@id": "two:merchant_short_name"
},
"shipping_address": {
"@id": "two:shipping_address"
},
"order_origination": {
"@id": "two:order_origination"
},
"terms": {
"@id": "two:terms"
},
"credit_line_id": {
"@id": "two:credit_line_id"
},
"BarCodeSchema": "two:BarCodeSchema",
"value": {
"@id": "two:value",
"@type": "xsd:string"
},
"BuyerSchemaForOrderIntentCreation": "two:BuyerSchemaForOrderIntentCreation",
"representative": {
"@id": "two:representative"
},
"company": {
"@id": "two:company"
},
"CompanyCanonicalIdSchema": "two:CompanyCanonicalIdSchema",
"company_canonical_id": {
"@id": "two:company_canonical_id",
"@type": "xsd:string"
},
"CompanySchema": "two:CompanySchema",
"id": {
"@id": "two:id"
},
"country_prefix": {
"@id": "two:country_prefix",
"@type": "@id"
},
"organization_number": {
"@id": "two:organization_number",
"@type": "xsd:string"
},
"company_name": {
"@id": "two:company_name",
"@type": "xsd:string"
},
"company_type": {
"@id": "two:company_type"
},
"website": {
"@id": "two:website"
},
"CountryCodeEnum": "two:CountryCodeEnum",
"CreateAddressRequestSchema": "two:CreateAddressRequestSchema",
"organization_name": {
"@id": "two:organization_name",
"@type": "xsd:string"
},
"street_address": {
"@id": "two:street_address",
"@type": "xsd:string"
},
"country": {
"@id": "two:country",
"@type": "@id"
},
"postal_code": {
"@id": "two:postal_code",
"@type": "xsd:string"
},
"city": {
"@id": "two:city",
"@type": "xsd:string"
},
"region": {
"@id": "two:region",
"@type": "xsd:string"
},
"DueDateCalculationScheme": "two:DueDateCalculationScheme",
"InvoiceTypeEnum": "two:InvoiceTypeEnum",
"LaxRepBuyerSchema": "two:LaxRepBuyerSchema",
"LaxRepresentativeSchema": "two:LaxRepresentativeSchema",
"first_name": {
"@id": "two:first_name",
"@type": "xsd:string"
},
"last_name": {
"@id": "two:last_name",
"@type": "xsd:string"
},
"phone_number": {
"@id": "two:phone_number",
"@type": "xsd:string"
},
"email": {
"@id": "two:email"
},
"LineItemRequestSchema": "two:LineItemRequestSchema",
"name": {
"@id": "two:name",
"@type": "xsd:string"
},
"description": {
"@id": "two:description",
"@type": "xsd:string"
},
"line_item_reference": {
"@id": "two:line_item_reference"
},
"discount_amount": {
"@id": "two:discount_amount",
"@type": "xsd:string"
},
"quantity": {
"@id": "two:quantity",
"@type": "xsd:string"
},
"unit_price": {
"@id": "two:unit_price",
"@type": "xsd:string"
},
"tax_rate": {
"@id": "two:tax_rate",
"@type": "xsd:string"
},
"tax_class_name": {
"@id": "two:tax_class_name",
"@type": "xsd:string"
},
"tax_code": {
"@id": "two:tax_code"
},
"tax_exemption_reason_code": {
"@id": "two:tax_exemption_reason_code"
},
"quantity_unit": {
"@id": "two:quantity_unit",
"@type": "xsd:string"
},
"image_url": {
"@id": "two:image_url"
},
"product_page_url": {
"@id": "two:product_page_url"
},
"details": {
"@id": "two:details"
},
"prototype_id": {
"@id": "two:prototype_id"
},
"vendor_name": {
"@id": "two:vendor_name"
},
"merchant_child_order_id": {
"@id": "two:merchant_child_order_id"
},
"LineItemTypeEnum": "two:LineItemTypeEnum",
"OrderInstalmentTerms": "two:OrderInstalmentTerms",
"period": {
"@id": "two:period",
"@type": "@id"
},
"number_of_instalments": {
"@id": "two:number_of_instalments",
"@type": "xsd:integer"
},
"OrderNetTerms": "two:OrderNetTerms",
"duration_days": {
"@id": "two:duration_days",
"@type": "xsd:integer"
},
"duration_days_calculated_from": {
"@id": "two:duration_days_calculated_from"
},
"OrderOriginationEnum": "two:OrderOriginationEnum",
"ProductDetailsSchema": "two:ProductDetailsSchema",
"brand": {
"@id": "two:brand"
},
"categories": {
"@id": "two:categories",
"@container": "@list"
},
"barcodes": {
"@id": "two:barcodes"
},
"part_number": {
"@id": "two:part_number"
},
"SuperLaxRepBuyerSchema": "two:SuperLaxRepBuyerSchema",
"TermsPeriod": "two:TermsPeriod",
"OrderIntentResponseSchema": "two:OrderIntentResponseSchema",
"approved": {
"@id": "two:approved"
},
"decline_reason": {
"@id": "two:decline_reason"
},
"recourse_decision_reason": {
"@id": "two:recourse_decision_reason"
},
"tracking_id": {
"@id": "two:tracking_id"
},
"approved_on_recourse": {
"@id": "two:approved_on_recourse",
"@type": "xsd:boolean"
},
"approved_with_conditions": {
"@id": "two:approved_with_conditions",
"@container": "@list"
},
"AddressResponseSchema": "two:AddressResponseSchema",
"preferred": {
"@id": "two:preferred"
},
"ApprovalConditionEnum": "two:ApprovalConditionEnum",
"BuyerSchema": "two:BuyerSchema",
"DeclineReasonEnum": "two:DeclineReasonEnum",
"LineItemResponseSchema": "two:LineItemResponseSchema",
"RepresentativeSchema": "two:RepresentativeSchema",
"CreateOrderRequestSchema": "two:CreateOrderRequestSchema",
"discount_rate": {
"@id": "two:discount_rate",
"@type": "xsd:string"
},
"buyer_department": {
"@id": "two:buyer_department"
},
"buyer_project": {
"@id": "two:buyer_project"
},
"buyer_purchase_order_number": {
"@id": "two:buyer_purchase_order_number"
},
"buyer_reference": {
"@id": "two:buyer_reference"
},
"buyer_vat_number": {
"@id": "two:buyer_vat_number"
},
"merchant_order_id": {
"@id": "two:merchant_order_id",
"@type": "xsd:string"
},
"merchant_reference": {
"@id": "two:merchant_reference"
},
"merchant_additional_info": {
"@id": "two:merchant_additional_info"
},
"invoice_details": {
"@id": "two:invoice_details"
},
"shipping_details": {
"@id": "two:shipping_details"
},
"order_note": {
"@id": "two:order_note"
},
"billing_address": {
"@id": "two:billing_address"
},
"tax_subtotals": {
"@id": "two:tax_subtotals"
},
"merchant_invoice_branding_id": {
"@id": "two:merchant_invoice_branding_id"
},
"merchant_invoice_store_branding_id": {
"@id": "two:merchant_invoice_store_branding_id"
},
"order_placed_date": {
"@id": "two:order_placed_date"
},
"order_type": {
"@id": "two:order_type"
},
"sale_country_code": {
"@id": "two:sale_country_code"
},
"merchant_payout_account_alias": {
"@id": "two:merchant_payout_account_alias"
},
"recurring": {
"@id": "two:recurring"
},
"merchant_invoice_branding_reference": {
"@id": "two:merchant_invoice_branding_reference"
},
"merchant_invoice_store_branding_reference": {
"@id": "two:merchant_invoice_store_branding_reference"
},
"electronic_invoice_recipient": {
"@id": "two:electronic_invoice_recipient"
},
"preferred_distribution_method": {
"@id": "two:preferred_distribution_method"
},
"recurring_details": {
"@id": "two:recurring_details"
},
"merchant_urls": {
"@id": "two:merchant_urls"
},
"vendor_id": {
"@id": "two:vendor_id"
},
"merchant_user_id": {
"@id": "two:merchant_user_id"
},
"billing_account_id": {
"@id": "two:billing_account_id"
},
"disallow_portal_mutation": {
"@id": "two:disallow_portal_mutation"
},
"BankAccountSchema": "two:BankAccountSchema",
"bban": {
"@id": "two:bban"
},
"iban": {
"@id": "two:iban"
},
"bic": {
"@id": "two:bic"
},
"country_code": {
"@id": "two:country_code"
},
"branch_sort_code": {
"@id": "two:branch_sort_code"
},
"local_account_number": {
"@id": "two:local_account_number"
},
"kid_type": {
"@id": "two:kid_type"
},
"CallbackAuthTypeEnum": "two:CallbackAuthTypeEnum",
"CreateOrderMerchantUrlsSchema": "two:CreateOrderMerchantUrlsSchema",
"merchant_confirmation_url": {
"@id": "two:merchant_confirmation_url",
"@type": "xsd:string"
},
"merchant_cancel_order_url": {
"@id": "two:merchant_cancel_order_url"
},
"merchant_edit_order_url": {
"@id": "two:merchant_edit_order_url"
},
"merchant_order_verification_pending_url": {
"@id": "two:merchant_order_verification_pending_url"
},
"merchant_order_verification_failed_url": {
"@id": "two:merchant_order_verification_failed_url"
},
"merchant_invoice_url": {
"@id": "two:merchant_invoice_url"
},
"merchant_shipping_document_url": {
"@id": "two:merchant_shipping_document_url"
},
"merchant_document_urls": {
"@id": "two:merchant_document_urls"
},
"merchant_order_verified_url": {
"@id": "two:merchant_order_verified_url"
},
"merchant_order_callback_url": {
"@id": "two:merchant_order_callback_url"
},
"merchant_order_callback_auth": {
"@id": "two:merchant_order_callback_auth"
},
"CurrencyEnum": "two:CurrencyEnum",
"DeliveryMethodEnum": "two:DeliveryMethodEnum",
"DistributionMethodEnum": "two:DistributionMethodEnum",
"ElectronicInvoiceRecipient": "two:ElectronicInvoiceRecipient",
"operator_id": {
"@id": "two:operator_id"
},
"ElectronicInvoiceRecipientTypeEnum": "two:ElectronicInvoiceRecipientTypeEnum",
"InvoiceDetailsRequestSchema": "two:InvoiceDetailsRequestSchema",
"payee": {
"@id": "two:payee"
},
"payment_reference": {
"@id": "two:payment_reference"
},
"payment_reference_type": {
"@id": "two:payment_reference_type"
},
"payment_reference_message": {
"@id": "two:payment_reference_message",
"@type": "xsd:string"
},
"payment_reference_ocr": {
"@id": "two:payment_reference_ocr",
"@type": "xsd:string"
},
"payment_status": {
"@id": "two:payment_status"
},
"due_in_days": {
"@id": "two:due_in_days"
},
"invoice_number": {
"@id": "two:invoice_number"
},
"invoice_issue_date": {
"@id": "two:invoice_issue_date"
},
"due_date": {
"@id": "two:due_date"
},
"invoice_emails": {
"@id": "two:invoice_emails"
},
"KidTypeEnum": "two:KidTypeEnum",
"MerchantCustomerIdSchema": "two:MerchantCustomerIdSchema",
"merchant_customer_id": {
"@id": "two:merchant_customer_id",
"@type": "xsd:string"
},
"MerchantUserIdSchema": "two:MerchantUserIdSchema",
"NonStrictBuyerSchema": "two:NonStrictBuyerSchema",
"OrderMerchantCallbackAuthSchema": "two:OrderMerchantCallbackAuthSchema",
"auth_type": {
"@id": "two:auth_type",
"@type": "@id"
},
"OrderTypeEnum": "two:OrderTypeEnum",
"PaymentStatusEnum": "two:PaymentStatusEnum",
"PeriodEnum": "two:PeriodEnum",
"RecurringDetailsSchema": "two:RecurringDetailsSchema",
"token": {
"@id": "two:token",
"@type": "xsd:string"
},
"ShippingDetailsSchema": "two:ShippingDetailsSchema",
"tracking_number": {
"@id": "two:tracking_number"
},
"carrier_name": {
"@id": "two:carrier_name"
},
"carrier_tracking_url": {
"@id": "two:carrier_tracking_url"
},
"expected_delivery_date": {
"@id": "two:expected_delivery_date"
},
"address_co": {
"@id": "two:address_co"
},
"address_reference": {
"@id": "two:address_reference"
},
"address_attn": {
"@id": "two:address_attn"
},
"delivery_method": {
"@id": "two:delivery_method"
},
"id_required_on_delivery": {
"@id": "two:id_required_on_delivery"
},
"StrictRepresentativeSchema": "two:StrictRepresentativeSchema",
"TaxSubtotalSchema": "two:TaxSubtotalSchema",
"taxable_amount": {
"@id": "two:taxable_amount",
"@type": "xsd:string"
},
"OrderResponseSchema": "two:OrderResponseSchema",
"payable_amount": {
"@id": "two:payable_amount"
},
"invoice_amount": {
"@id": "two:invoice_amount"
},
"prepaid_amount": {
"@id": "two:prepaid_amount"
},
"percentage_fee": {
"@id": "two:percentage_fee"
},
"fixed_fee": {
"@id": "two:fixed_fee"
},
"total_fee": {
"@id": "two:total_fee"
},
"state": {
"@id": "two:state"
},
"status": {
"@id": "two:status"
},
"date_created": {
"@id": "two:date_created"
},
"date_updated": {
"@id": "two:date_updated"
},
"merchant_logo_path": {
"@id": "two:merchant_logo_path"
},
"payment_url": {
"@id": "two:payment_url"
},
"invoice_url": {
"@id": "two:invoice_url"
},
"credit_note_url": {
"@id": "two:credit_note_url"
},
"event_log_url": {
"@id": "two:event_log_url"
},
"original_order_id": {
"@id": "two:original_order_id"
},
"root_order_id": {
"@id": "two:root_order_id"
},
"parent_order_id": {
"@id": "two:parent_order_id"
},
"external_order_id": {
"@id": "two:external_order_id"
},
"external_order_status": {
"@id": "two:external_order_status"
},
"date_fulfilled": {
"@id": "two:date_fulfilled"
},
"refunds": {
"@id": "two:refunds"
},
"order_revision": {
"@id": "two:order_revision"
},
"elapsed_time_ms": {
"@id": "two:elapsed_time_ms"
},
"invoice_insurance_provider": {
"@id": "two:invoice_insurance_provider"
},
"recourse_fallback_enabled": {
"@id": "two:recourse_fallback_enabled"
},
"merchant_display_name": {
"@id": "two:merchant_display_name"
},
"lending_terms": {
"@id": "two:lending_terms"
},
"invoice_distributed_by_merchant": {
"@id": "two:invoice_distributed_by_merchant"
},
"principal_amount": {
"@id": "two:principal_amount"
},
"buyer_finance_charge_amount": {
"@id": "two:buyer_finance_charge_amount"
},
"BuyerRefundSurcharge": "two:BuyerRefundSurcharge",
"surcharge_type": {
"@id": "two:surcharge_type",
"@type": "@id"
},
"amount": {
"@id": "two:amount",
"@type": "xsd:string"
},
"BuyerSurchargeType": "two:BuyerSurchargeType",
"CreateRefundResponseSchema": "two:CreateRefundResponseSchema",
"total_amount": {
"@id": "two:total_amount",
"@type": "xsd:string"
},
"refund_no": {
"@id": "two:refund_no",
"@type": "xsd:integer"
},
"credit_note_number": {
"@id": "two:credit_note_number",
"@type": "xsd:string"
},
"reason": {
"@id": "two:reason"
},
"buyer_refund_surcharges": {
"@id": "two:buyer_refund_surcharges"
},
"refund_reference": {
"@id": "two:refund_reference"
},
"refund_date": {
"@id": "two:refund_date"
},
"InvoiceDetailsSchema": "two:InvoiceDetailsSchema",
"due_in_days_calculation_method": {
"@id": "two:due_in_days_calculation_method"
},
"requested_due_in_days": {
"@id": "two:requested_due_in_days"
},
"recourse_request_status": {
"@id": "two:recourse_request_status"
},
"InvoiceInsuranceDecisionEnum": "two:InvoiceInsuranceDecisionEnum",
"InvoiceStatusEnum": "two:InvoiceStatusEnum",
"LaxBuyerSchema": "two:LaxBuyerSchema",
"LaxCompanySchema": "two:LaxCompanySchema",
"OrderLendingTermsSchema": "two:OrderLendingTermsSchema",
"order_id": {
"@id": "two:order_id"
},
"apr": {
"@id": "two:apr"
},
"base_rate": {
"@id": "two:base_rate"
},
"per_payment_rate_factor": {
"@id": "two:per_payment_rate_factor"
},
"margin": {
"@id": "two:margin"
},
"hedge_rate": {
"@id": "two:hedge_rate"
},
"OrderMerchantUrlsSchema": "two:OrderMerchantUrlsSchema",
"OrderStateEnum": "two:OrderStateEnum",
"OrderStatusEnum": "two:OrderStatusEnum",
"OrderFeeRequestSchema": "two:OrderFeeRequestSchema",
"buyer_country_code": {
"@id": "two:buyer_country_code",
"@type": "@id"
},
"invoice_due_in_days": {
"@id": "two:invoice_due_in_days"
},
"order_terms": {
"@id": "two:order_terms"
},
"buyer_fee_share": {
"@id": "two:buyer_fee_share"
},
"BuyerFeeShareSchema": "two:BuyerFeeShareSchema",
"threshold": {
"@id": "two:threshold"
},
"percentage": {
"@id": "two:percentage"
},
"surcharge": {
"@id": "two:surcharge"
},
"surcharge_basis": {
"@id": "two:surcharge_basis",
"@type": "@id"
},
"cap": {
"@id": "two:cap"
},
"rounding": {
"@id": "two:rounding"
},
"reference_terms": {
"@id": "two:reference_terms"
},
"InternalBuyerFeeShareSchema": "two:InternalBuyerFeeShareSchema",
"RoundingBasis": "two:RoundingBasis",
"RoundingSchema": "two:RoundingSchema",
"step": {
"@id": "two:step",
"@type": "xsd:string"
},
"basis": {
"@id": "two:basis",
"@type": "@id"
},
"SurchargeBasis": "two:SurchargeBasis",
"PricingOrderFeeResponseSchema": "two:PricingOrderFeeResponseSchema",
"total_fee_tax_rate": {
"@id": "two:total_fee_tax_rate",
"@type": "xsd:string"
},
"pricing_package_id": {
"@id": "two:pricing_package_id"
},
"pricing_package_revision": {
"@id": "two:pricing_package_revision"
},
"pricing_package_metadata": {
"@id": "two:pricing_package_metadata"
},
"PricingPackageMetadataSchema": "two:PricingPackageMetadataSchema",
"net_days_category": {
"@id": "two:net_days_category",
"@type": "xsd:string"
},
"net_days_rate": {
"@id": "two:net_days_rate",
"@type": "xsd:string"
},
"cycle_length_category": {
"@id": "two:cycle_length_category",
"@type": "xsd:string"
},
"cycle_length_rate": {
"@id": "two:cycle_length_rate",
"@type": "xsd:string"
},
"PaymentLinkResponseSchema": "two:PaymentLinkResponseSchema",
"payment_link": {
"@id": "two:payment_link"
},
"BuyerInitiatedLatentOrderAddressResponseSchema": "two:BuyerInitiatedLatentOrderAddressResponseSchema",
"BuyerInitiatedLatentOrderResponseSchema": "two:BuyerInitiatedLatentOrderResponseSchema",
"LatentOrderStatusEnum": "two:LatentOrderStatusEnum",
"FulfilledOrdersResponseSchema": "two:FulfilledOrdersResponseSchema",
"fulfilled_orders": {
"@id": "two:fulfilled_orders",
"@container": "@list"
},
"FulfillOrderSchema": "two:FulfillOrderSchema",
"partial": {
"@id": "two:partial"
},
"reverse_tax_liable": {
"@id": "two:reverse_tax_liable",
"@type": "xsd:boolean"
},
"PartialFulfillOrderSchema": "two:PartialFulfillOrderSchema",
"IdempotencyHeader": "two:IdempotencyHeader",
"Idempotency-Key": {
"@id": "two:Idempotency-Key"
},
"FulfillOrderResponseSchema": "two:FulfillOrderResponseSchema",
"fulfilled_order": {
"@id": "two:fulfilled_order",
"@type": "@id"
},
"remained_order": {
"@id": "two:remained_order"
},
"SimpleSchema": "two:SimpleSchema",
"EditOrderRequestSchema": "two:EditOrderRequestSchema",
"InvoiceDetailsWithStatusSchema": "two:InvoiceDetailsWithStatusSchema",
"total_paid_amount": {
"@id": "two:total_paid_amount",
"@type": "xsd:string"
},
"total_credited_amount": {
"@id": "two:total_credited_amount",
"@type": "xsd:string"
},
"total_collected_amount": {
"@id": "two:total_collected_amount",
"@type": "xsd:string"
},
"total_recoursed_amount": {
"@id": "two:total_recoursed_amount",
"@type": "xsd:string"
},
"unpaid_amount": {
"@id": "two:unpaid_amount",
"@type": "xsd:string"
},
"statement_number": {
"@id": "two:statement_number"
},
"billing_period_id": {
"@id": "two:billing_period_id"
},
"last_updated": {
"@id": "two:last_updated",
"@type": "xsd:dateTime"
},
"OrderRequestQueryList": "two:OrderRequestQueryList",
"start_date": {
"@id": "two:start_date"
},
"end_date": {
"@id": "two:end_date"
},
"limit": {
"@id": "two:limit"
},
"page": {
"@id": "two:page"
},
"offset": {
"@id": "two:offset"
},
"OrderListRequestSchema": "two:OrderListRequestSchema",
"items": {
"@id": "two:items"
},
"VerificationDataResponseSchema": "two:VerificationDataResponseSchema",
"link_sent": {
"@id": "two:link_sent",
"@type": "xsd:boolean"
},
"link_recipient_phone_number": {
"@id": "two:link_recipient_phone_number"
},
"link_timestamp": {
"@id": "two:link_timestamp"
},
"link_verification_successful": {
"@id": "two:link_verification_successful"
},
"NotifyRequestSchema": "two:NotifyRequestSchema",
"channel": {
"@id": "two:channel",
"@type": "@id"
},
"NotificationChannel": "two:NotificationChannel",
"FullRefundRequestSchema": "two:FullRefundRequestSchema",
"upload_references": {
"@id": "two:upload_references"
},
"LineItemPrototypeSchema": "two:LineItemPrototypeSchema",
"PartialRefundRequestSchema": "two:PartialRefundRequestSchema",
"RefundSummaryResponseSchema": "two:RefundSummaryResponseSchema",
"GetInvoiceRequestQueryList": "two:GetInvoiceRequestQueryList",
"v": {
"@id": "two:v"
},
"lang": {
"@id": "two:lang"
},
"generate": {
"@id": "two:generate"
},
"GetInvoicesRequestQueryList": "two:GetInvoicesRequestQueryList",
"EditInvoiceRequestSchema": "two:EditInvoiceRequestSchema",
"line_item_updates": {
"@id": "two:line_item_updates"
},
"InvoiceLineItemChangeRequestSchema": "two:InvoiceLineItemChangeRequestSchema",
"EditInvoiceEmailsRequest": "two:EditInvoiceEmailsRequest",
"email_addresses": {
"@id": "two:email_addresses",
"@container": "@list"
},
"InvoiceCreationRequestSchema": "two:InvoiceCreationRequestSchema",
"order_ids": {
"@id": "two:order_ids",
"@container": "@list"
},
"InvoiceCreationResponseSchema": "two:InvoiceCreationResponseSchema",
"TaxCodesResponseSchema": "two:TaxCodesResponseSchema",
"data": {
"@id": "two:data",
"@container": "@list"
},
"metadata": {
"@id": "two:metadata",
"@type": "@id"
},
"TaxCategory": "two:TaxCategory",
"TaxCodeEntry": "two:TaxCodeEntry",
"code": {
"@id": "two:code",
"@type": "xsd:string"
},
"rate": {
"@id": "two:rate"
},
"category": {
"@id": "two:category",
"@type": "@id"
},
"display_name": {
"@id": "two:display_name",
"@type": "xsd:string"
},
"tax_type": {
"@id": "two:tax_type"
},
"tax_regime": {
"@id": "two:tax_regime"
},
"requires_exemption_reason": {
"@id": "two:requires_exemption_reason",
"@type": "xsd:boolean"
},
"exemption_reason_code": {
"@id": "two:exemption_reason_code"
},
"TaxCodeMetadata": "two:TaxCodeMetadata",
"mandatory_tax_codes_enabled": {
"@id": "two:mandatory_tax_codes_enabled",
"@type": "xsd:boolean"
},
"mandatory_tax_rates": {
"@id": "two:mandatory_tax_rates",
"@container": "@list"
},
"credit_notes_require_line_items": {
"@id": "two:credit_notes_require_line_items",
"@type": "xsd:boolean"
},
"CreateMerchantAPIKeyResponseSchema": "two:CreateMerchantAPIKeyResponseSchema",
"hint": {
"@id": "two:hint",
"@type": "xsd:string"
},
"label": {
"@id": "two:label",
"@type": "xsd:string"
},
"issued_by": {
"@id": "two:issued_by"
},
"date_last_used": {
"@id": "two:date_last_used"
},
"date_expiry": {
"@id": "two:date_expiry"
},
"usage_count": {
"@id": "two:usage_count",
"@type": "xsd:integer"
},
"api_key": {
"@id": "two:api_key",
"@type": "xsd:string"
},
"MerchantAPIKeyResponseSchema": "two:MerchantAPIKeyResponseSchema",
"PaginatedSettlementListCursorSchema": "two:PaginatedSettlementListCursorSchema",
"cursor_page_metadata": {
"@id": "two:cursor_page_metadata",
"@type": "@id"
},
"CursorPageMetadata": "two:CursorPageMetadata",
"previous_page_cursor": {
"@id": "two:previous_page_cursor"
},
"next_page_cursor": {
"@id": "two:next_page_cursor"
},
"Settlement": "two:Settlement",
"settlement_id": {
"@id": "two:settlement_id"
},
"settlement_date": {
"@id": "two:settlement_date"
},
"recipient_account_number": {
"@id": "two:recipient_account_number"
},
"recipient_account_name": {
"@id": "two:recipient_account_name"
},
"recipient_iban": {
"@id": "two:recipient_iban"
},
"recipient_bban": {
"@id": "two:recipient_bban"
},
"funding_provider": {
"@id": "two:funding_provider",
"@type": "xsd:string"
},
"funding_provider_account_holder_name": {
"@id": "two:funding_provider_account_holder_name"
},
"funding_provider_account_number": {
"@id": "two:funding_provider_account_number"
},
"payout_currency": {
"@id": "two:payout_currency",
"@type": "@id"
},
"payout_amount": {
"@id": "two:payout_amount"
},
"GetStatementRequestQuerySchema": "two:GetStatementRequestQuerySchema",
"filetype": {
"@id": "two:filetype"
},
"ReconOutcomeEventsRequestSchema": "two:ReconOutcomeEventsRequestSchema",
"transactions": {
"@id": "two:transactions",
"@container": "@list"
},
"ReconOutcomeEventSchema": "two:ReconOutcomeEventSchema",
"time": {
"@id": "two:time"
},
"ReconOutcomeEventTypeEnum": "two:ReconOutcomeEventTypeEnum"
},
"@type": "schema:Dataset",
"schema:name": "Two API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects Two's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-10-29) from openapi/two-openapi.yaml.",
"dcterms:created": "2026-10-29",
"dcterms:source": [
"openapi/two-openapi.yaml"
]
}