How to collect application fees using CheckoutAPI?

I'm using Square's secure server to process online orders for customers using their CheckoutAPI. So, after creating the CreateOrderRequest() and calling the CreateOrderAsync() method, I add the results of the newly created order to CreateCheckoutRequest() and call CreateCheckoutAsync(). Afterwards, I'm redirected to my RedirectUrl and perform post-checkout operations.

 

However, I noticed that the only object that accepts AppFeeMoney is the payment object. If I'm not using the PaymentAPI, to pay for an online order, how can I collect my application's fee using the checkoutAPI? 

I'm guessing there is probably something I could do post-checkout like finding the payment using ListPaymentsAsync() and maybe collecting my fee there? I'm not sure but I'm going to start looking around at the tech docs again.

1,581 Views
Message 1 of 5
Report
1 Solution
Alumni

Solution

I'm back! The Checkout API currently supports multi-party transactions that you can use to add an additional_recipients to collect a fee. Here's the documentation for additional recipients. Let me know if you have any other questions.

️ Helen
Seller Community Manager

View Solution >

1,535 Views
Message 3 of 5
Report
4 REPLIES 4
Alumni

Sorry for the wait @Knowtifyd! I'll have to run this by our API specialists for you, I'll post again here as soon as I can! 

️ Helen
Seller Community Manager

1,535 Views
Message 2 of 5
Report
Alumni

Solution

I'm back! The Checkout API currently supports multi-party transactions that you can use to add an additional_recipients to collect a fee. Here's the documentation for additional recipients. Let me know if you have any other questions.

️ Helen
Seller Community Manager

1,536 Views
Message 3 of 5
Report

Hi Helen!

 

Thanks! This is a good workaround. I was caught up in app_fee_money property from the PaymentAPI and was looking for the same property in the CheckoutAPI. Nevertheless, your help is much appreciated! Thank you 🙂 

1,513 Views
Message 4 of 5
Report
Alumni

You're welcome! 

️ Helen
Seller Community Manager

1,509 Views
Message 5 of 5
Report