foodmission
01-02-2024
02:32 PM
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
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({
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"
}
});
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report Inappropriate Content
2 REPLIES 2
Sam_400º

01-02-2024
08:22 PM
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
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!
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report Inappropriate Content
Breffni

01-03-2024
07:42 AM
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
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!
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!
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- 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.