Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The document helps to create the POS Order in DinePlan through Gateway

...

Fields

Explanation

ApprovalCode

The code which returns from the Gateway

CardNo

If there is any card number

CardIssuerName

Visa, Master or Any card type that is for the Card

Last4DigitsCard

4 Digits of the Card

MerchantId

If there is any Merchant Id available, please add that and it comes part of the Payment done at the Terminal

ResponseCode

If there is any response from the Payment

TerminalId

Id of the Terminal

TransactionNo

Unique Transaction No is necessary to cross verify the Payment

PaymentTypeName

The Name of the Payment that should be closed in the Outlet

*The ones marked in Bold are mandatory

Product API

URL: https://dgateway.xyz/v2/productApi

...

The Curl are

Code Block
curl --location 'https://dgateway.xyz/v2/productApi' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer gXKYoXJisXLE6krTTNebWqzWMnZ4UF9lgLGWMuvl' \
--header 'Cookie: PHPSESSID=91arib27qim4mcid9kfu3e6rpu' \
--data '{
    "locationId": 155
}'

Taxes API

URL: https://dgateway.xyz/v2/taxesApi

...

The Curl are

Code Block
curl --location 'https://dgateway.xyz/v2/taxesApi' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer gXKYoXJisXLE6krTTNebWqzWMnZ4UF9lgLGWMuvl' \
--header 'Cookie: PHPSESSID=91arib27qim4mcid9kfu3e6rpu' \
--data '{
    "locationId": 155
}'