question

ydev avatar image
ydev asked ·

ValueLink Gift Card As Online Payment Through REST API

We want to have integration with Clover Value Link gift card with our online ordering system.
Is there any REST API for that?

We also looking on Payeezy API doc about ValueLink gift card and they have API can handle it.
https://support.payeezy.com/hc/en-us/articles/207976928
But then how we connect the Payeezy transaction to Clover payment system?


PaymentsREST API
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

zgreathouse avatar image
zgreathouse answered ·
To connect the Payeezy transaction to the Clover payment system there are two steps.

1. Create your custom tender
Endpoint:
https://apisandbox.dev.clover.com/v3/merchants/{ {mId}}/tenders
( Endpoint Documentation)

Request Body Example:
 {
	"label": "ValueLink Gift Card",
	"enabled": true,
	"opensCashDrawer": false
}

2. You then need to create a payment record on your order
Endpoint:
https://apisandbox.dev.clover.com/v3/merchants/{ {mId}}/orders/{ {orderId}}/payments
( Endpoint Documentation)

Request Body Example:
{
	"tender": { "id": "0FW2KD82PFW9T" },
	"amount": 1500
}
(***Use the tender id of the tender you created with the first endpoint. Additionally you can optionally add things like a tipAmount or taxAmount.)

Share
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community