icicic
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Mar-09-2023
03:53 PM
{
"intent": "CAPTURE",
"purchase_units": [
{
"amount": {
"breakdown": { "item_total": 22 },
"currency_code": "GBP",
"value": 25
},
"reference_id": "G48GSUqPPk1uBKWO4vTYD021s",
"items": [
{
"name": "test",
"unit_amount": { "currency_code": "GBP", "value": "22" },
"quantity": 1
}
]
}
],
"payment_source": {
"paypal": {
"experience_context": {
"shipping_preference": "SET_PROVIDED_ADDRESS",
"return_url": "https://my-site.localhost//",
"cancel_url": "https://my-site.localhost//"
}
}
}
}
Request is not well-formed, syntactically incorrect, or violates schema
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Accepted Solutions

Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar-11-2023
01:50 PM
Hello @icicic ,
Thank you for posting to the PayPal Community.
Your amount breakdown doesn't match with the item price. The value is showing as 25 GBP and not 22 GBP.
{
"amount": {
"breakdown": { "item_total": 22 },
"currency_code": "GBP",
"value": 25
},
Item breakdown showing 22 GBP
"items": [
{
"name": "test",
"unit_amount": { "currency_code": "GBP", "value": "22" },
"quantity": 1
}
Thank you,
Jennifer
MTS
PayPal
1 REPLY 1

Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar-11-2023
01:50 PM
Hello @icicic ,
Thank you for posting to the PayPal Community.
Your amount breakdown doesn't match with the item price. The value is showing as 25 GBP and not 22 GBP.
{
"amount": {
"breakdown": { "item_total": 22 },
"currency_code": "GBP",
"value": 25
},
Item breakdown showing 22 GBP
"items": [
{
"name": "test",
"unit_amount": { "currency_code": "GBP", "value": "22" },
"quantity": 1
}
Thank you,
Jennifer
MTS
PayPal

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- permission_denied response in call to patch order when paying by Card in Braintree Client-side Integration (JS, iOS, Android SDKs)
- Help Needed Persistent Result Code Errors (7, 126, 125) with Payflow Pro Account in Live Mode in Payflow
- Some negative testing value only reply 403 Forbidden in Sandbox Environment
- PayPal Redirection Issue After Successful Payment in Photobooth Integration in Sandbox Environment
- Unable to set up a subscription package longer than 1 year in Payflow