Versions Compared

Key

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

...

In our system we have two payment methods with Sodexo or Cheque Gourmet, one that is related to online payment where the user makes the payment when purchasing the order and the voucher where payment will be made with a physical card at the time of delivery of the order.

Sodexo Card

The sodexo card option is a direct integration with the PSP to use online payment, we propagate this information in the PaymentMethodBrand

...

.

Sodexo Voucher

The sodexo voucher option is an indirect integration for using in-person payment at the time of order delivery, we propagate this information in the PaymentMethodBrand

...

Cheque Gourmet Card

The cheque gourmet card option is a direct integration with the PSP to use online payment, we propagate this information in the PaymentMethodBrand

...

.

Cheque Gourmet Voucher

The cheque gourmet voucher option is an indirect integration for using in-person payment at the time of order delivery, we propagate this information in the PaymentMethodBrand

...

.

Payment Method Brand

As mentioned above for integration, a property called PaymentMethodBrand was developed, which contains the types of payments made in our system. This string-type property that we pass on to partners covers payments made online and which will be made in person at the time of delivery of the order. The list of payments enabled in our system will be described below.

This property is inside the "payment" object where it will contain some other information, such as: paymentMethod, total, amountLeftToBePaid and tip.

ENUM

Value

Description

Payment

SODEXO

SODEXO

Payment was paid using a sodexo card

Online

SODEXO_VOUCHER

SODEXO_VOUCHER

Payment will be paid using a cheque gourmet card

In Person

CHEQUE_GOURMET

CHEQUE_GOURMET

Payment was paid using a cheque gourmet card

Online

CHEQUE_GOURMET_VOUCHER

CHEQUE_GOURMET_VOUCHER

Payment will be paid using a cheque gourmet card

In Person

PAYMENT_ON_DELIVERY_CARD

PAYMENT_ON_DELIVERY_CARD

Payment will be paid using a physical card

In Person

BIZUM

BIZUM

Payment was paid using BIZUM

Online

WAYLET

WAYLET

Payment was paid using WAYLET

Online

APPLEPAYLINK

APPLEPAYLINK

Payment was paid using APPLE PAY

Online

Service Fee

Integration

POS Integration

For integrations with our POS, we have some endpoints to retrieve store status, menu and menu and a unique endpoint to update the order status.

...

Type

Function

Notes

WEBHOOK

Create Quote

WEBHOOK

Apply Quote

WEBHOOK

Create Delivery

Within the payment field we also inform the Payment Method ( PaymentMethodBrand field ) that was made.

WEBHOOK

Delivery Event

POST

Delivery Event

Payment Method Brand

For integration, a property called PaymentMethodBrand was developed, which contains the types of payments made in our system. This string-type property that we pass on to partners covers payments made online and which will be made in person at the time of delivery of the order. The list of payments enabled in our system will be described below.

This property is inside the "payment" object where it will contain some other information, such as: paymentMethod, total, amountLeftToBePaid and tip.

ENUM

Value

Description

SODEXO

SODEXO

Payment was made using a sodexo card

SODEXO_VOUCHER

SODEXO_VOUCHER

Payment will be made using a cheque gourmet card

CHEQUE_GOURMET

CHEQUE_GOURMET

Payment was made using a cheque gourmet card

CHEQUE_GOURMET_VOUCHER

CHEQUE_GOURMET_VOUCHER

Payment will be made using a cheque gourmet card

PAYMENT_ON_DELIVERY_CARD

PAYMENT_ON_DELIVERY_CARD

Payment will be made using a physical card

BIZUM

BIZUM

Payment was made using BIZUM

WAYLET

WAYLET

Payment was made using WAYLET

APPLEPAYLINK

APPLEPAYLINK

Payment was made using APPLE PAY