What is AppFeeMoney?

When creating a CreatePaymentRequest with the PaymentsApi I’m seeing an “AppFeeMoney” field.

What is this? Is it required?

I can’t find anything in the documentation or the forums.


Hi @rjsnyderdesign welcome to the forums!

It is not required, but it is a field that allows you (the developer) to take a fee out of a payment to a merchant. You would basically utilize the OAuth API to onboard merchants, and then while taking payments on their behalf, you could also take an app fee (so a fee for using your application, essentially).

This is covered in detail here: https://developer.squareup.com/docs/payments-api/take-payments-and-collect-fees

Ahh okay that makes sense!

Thank you