question

shamal avatar image
shamal asked g3rocks commented

How to request payment for an order using Rest pay Display API?

I couldn't find any Rest pay API endpoint that takes an order ID or an item ID for requesting a payment.
is there a way to pass an item id (which is in Clover inventory) and request a payment from the Clover Device?

OrdersREST APIPayments
1 comment
10 |2000

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

g3rocks avatar image g3rocks commented ·

The Future Blockchain Summit is the MENA region's top blockchain event, offering an immersive experience like no other. Set in Dubai, the global hub for Web3 innovation, this event brings together the entire blockchain and crypto community. It’s the perfect platform to connect, collaborate, and shape the future of the blockchain movement.



0 Likes 0 ·
bryanvargas avatar image
bryanvargas answered bryanvargas edited

We have a page that explains what it is used for and a helpful video: https://docs.clover.com/docs/rest-pay-intro

REST PAY APIs are used for payments(sale, refund, preauth, auth) only.

10 |2000

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

shamal avatar image
shamal answered bryanvargas edited

Thanks for the clarification.
Is there any order way to request a payment against an order apart from Rest Pay API? I'm mainly looking for API integration since we have cloud-hosted applications.

1 comment
10 |2000

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

bryanvargas avatar image bryanvargas ♦♦ commented ·

Not sure what your full integration or flow is but we have our Rest APIs and Ecomm APIs


There is an Ecomm SDK: https://docs.clover.com/docs/creating-and-paying-for-orders-sdk

We also have the display order: https://docs.clover.com/docs/displaying-an-order>


But I would still recommend to fully go over our docs and test these integrations in Sandbox

0 Likes 0 ·
lawrence145145 avatar image
lawrence145145 answered g3rocks commented

To request payment for an order using the REST Pay Display API, you'll first need to make an HTTP POST request to the API endpoint designated for payment requests. Include the necessary details such as the order ID, amount to be paid, and any relevant customer information in the request body, typically formatted as JSON. Ensure you have proper authentication credentials and headers set up. Once the request is sent, the API will process it and respond with the payment status and any additional instructions or details needed to complete the transaction. If you're working with transactions related to sim card DITO make sure to include any specific parameters or references that are relevant to this process in your request.

1 comment
10 |2000

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

g3rocks avatar image g3rocks commented ·

The Future Blockchain Summit is the MENA region's top blockchain event, offering an immersive experience like no other. Set in Dubai, the global hub for Web3 innovation, this event brings together the entire blockchain and crypto community. It’s the perfect platform to connect, collaborate, and shape the future of the blockchain movement.


h

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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