Payflex · JSON-LD Context

context Context

JSON-LD context defining the semantic vocabulary for context from Payflex.

8 Classes 43 Properties 3 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
payflex: https://api.payflex.co.za/vocab/
xsd: http://www.w3.org/2001/XMLSchema#

Classes

Order PaymentService Person PostalAddress Product OrderItem RefundAction MonetaryAmount

Properties

Property Type Container
orderId string
orderStatus string
merchantReference string
token string
redirectUrl reference
redirectConfirmUrl reference
redirectCancelUrl reference
amount decimal
taxAmount decimal
shippingAmount decimal
minimumAmount decimal
maximumAmount decimal
consumer schema:Person
givenNames string
surname string
email string
phoneNumber string
billing schema:PostalAddress
shipping schema:PostalAddress
addressLine1 string
addressLine2 string
suburb string
postcode string
items schema:OrderItem
name string
sku string
quantity string
price string
description string
requestId string
isPlugin boolean
merchantRefundReference string
refundId string
client_id string
client_secret string
grant_type string
audience reference
access_token string
token_type string
expires_in integer
errorCode string
message string
merchantSystemInformation

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "payflex": "https://api.payflex.co.za/vocab/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",

    "Order": "schema:Order",
    "PaymentService": "schema:FinancialProduct",
    "Person": "schema:Person",
    "PostalAddress": "schema:PostalAddress",
    "Product": "schema:Product",
    "OrderItem": "schema:OrderItem",
    "RefundAction": "schema:RefundAction",
    "MonetaryAmount": "schema:MonetaryAmount",

    "orderId": {
      "@id": "payflex:orderId",
      "@type": "xsd:string"
    },
    "orderStatus": {
      "@id": "schema:orderStatus",
      "@type": "xsd:string"
    },
    "merchantReference": {
      "@id": "payflex:merchantReference",
      "@type": "xsd:string"
    },
    "token": {
      "@id": "payflex:token",
      "@type": "xsd:string"
    },
    "redirectUrl": {
      "@id": "payflex:redirectUrl",
      "@type": "@id"
    },
    "redirectConfirmUrl": {
      "@id": "payflex:redirectConfirmUrl",
      "@type": "@id"
    },
    "redirectCancelUrl": {
      "@id": "payflex:redirectCancelUrl",
      "@type": "@id"
    },
    "amount": {
      "@id": "schema:price",
      "@type": "xsd:decimal"
    },
    "taxAmount": {
      "@id": "payflex:taxAmount",
      "@type": "xsd:decimal"
    },
    "shippingAmount": {
      "@id": "payflex:shippingAmount",
      "@type": "xsd:decimal"
    },
    "minimumAmount": {
      "@id": "payflex:minimumAmount",
      "@type": "xsd:decimal"
    },
    "maximumAmount": {
      "@id": "payflex:maximumAmount",
      "@type": "xsd:decimal"
    },
    "consumer": {
      "@id": "schema:customer",
      "@type": "schema:Person"
    },
    "givenNames": {
      "@id": "schema:givenName",
      "@type": "xsd:string"
    },
    "surname": {
      "@id": "schema:familyName",
      "@type": "xsd:string"
    },
    "email": {
      "@id": "schema:email",
      "@type": "xsd:string"
    },
    "phoneNumber": {
      "@id": "schema:telephone",
      "@type": "xsd:string"
    },
    "billing": {
      "@id": "schema:billingAddress",
      "@type": "schema:PostalAddress"
    },
    "shipping": {
      "@id": "schema:deliveryAddress",
      "@type": "schema:PostalAddress"
    },
    "addressLine1": {
      "@id": "schema:streetAddress",
      "@type": "xsd:string"
    },
    "addressLine2": {
      "@id": "payflex:addressLine2",
      "@type": "xsd:string"
    },
    "suburb": {
      "@id": "schema:addressLocality",
      "@type": "xsd:string"
    },
    "postcode": {
      "@id": "schema:postalCode",
      "@type": "xsd:string"
    },
    "items": {
      "@id": "schema:orderedItem",
      "@type": "schema:OrderItem"
    },
    "name": {
      "@id": "schema:name",
      "@type": "xsd:string"
    },
    "sku": {
      "@id": "schema:sku",
      "@type": "xsd:string"
    },
    "quantity": {
      "@id": "schema:orderQuantity",
      "@type": "xsd:string"
    },
    "price": {
      "@id": "schema:price",
      "@type": "xsd:string"
    },
    "description": {
      "@id": "schema:description",
      "@type": "xsd:string"
    },
    "requestId": {
      "@id": "payflex:requestId",
      "@type": "xsd:string"
    },
    "isPlugin": {
      "@id": "payflex:isPlugin",
      "@type": "xsd:boolean"
    },
    "merchantRefundReference": {
      "@id": "payflex:merchantRefundReference",
      "@type": "xsd:string"
    },
    "refundId": {
      "@id": "payflex:refundId",
      "@type": "xsd:string"
    },
    "client_id": {
      "@id": "payflex:clientId",
      "@type": "xsd:string"
    },
    "client_secret": {
      "@id": "payflex:clientSecret",
      "@type": "xsd:string"
    },
    "grant_type": {
      "@id": "payflex:grantType",
      "@type": "xsd:string"
    },
    "audience": {
      "@id": "payflex:audience",
      "@type": "@id"
    },
    "access_token": {
      "@id": "payflex:accessToken",
      "@type": "xsd:string"
    },
    "token_type": {
      "@id": "payflex:tokenType",
      "@type": "xsd:string"
    },
    "expires_in": {
      "@id": "payflex:expiresIn",
      "@type": "xsd:integer"
    },
    "errorCode": {
      "@id": "payflex:errorCode",
      "@type": "xsd:string"
    },
    "message": {
      "@id": "schema:description",
      "@type": "xsd:string"
    },
    "merchantSystemInformation": {
      "@id": "payflex:merchantSystemInformation"
    }
  }
}