App Fee Money with Checkout API - createPaymentLink

I am using the following in a Square sandbox setting. How can I be assured that this is applying the correct intent - Pay merchant via Main Location ID and apply a application fee.  When I view the sandbox transactions it is not clear that this is being applied.  Where can I access the split amounts in a Sandbox environment?

const
response = await squareClient.checkoutApi.createPaymentLink({
        idempotencyKey: crypto.randomUUID(),
        order: {
          locationId: merchantLocationId,
          lineItems: orderItems,
          referenceId: orderId
        },
        checkout_options: {
          app_fee_money: {
            amount: parseInt(orderDeliveryPrice * 100, 10) + parseInt(orderServiceCharge * 100, 10),
            currency: 'GBP'
          },
          redirect_url: "xxxxxxxxxxxxxxxxxxxx"
        }
      });
285 Views
Message 1 of 3
Report Inappropriate Content
2 REPLIES 2
Square Champion

Hey @foodmission, this is a seller community so to most of us that could be an alien language 😂

 

I’d recommend checking out the developer forums [LINK] as those guys are far more likely to be able to help! 

279 Views
Message 2 of 3
Report Inappropriate Content
Admin

That's correct, @foodmission - we don't provide API support in this particular Community, apologies. 

 

The developer forum linked by Sam is the best place to raise this query.

 

You can also contact our support team who can pass your case directly to a Developer Success Engineer who can better help answer your questions

 

I hope this helps! 

Breffni
Community Moderator, Ireland, Square
Sign in and click Mark as Best Answer if my reply answers your question

After a wonderful three years supporting the Seller Community, I've moved teams!
Check out article "A Contact Guide to the Seller Community" to reach out to current Seller Community Moderators.
Thank you for all the memories and connections—here’s to new adventures! 
277 Views
Message 3 of 3
Report Inappropriate Content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
grz-custom-initialLetter