Invoice - Mark as Paid
TigerSoftware
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Aug-21-2019
06:21 PM
I'm trying to mark a invoice as paid using the sandbox. The json looks right.
I am getting a error: {"name":"VALIDATION_ERROR","message":"Invalid request - see details.","information_link":"https://developer.paypal.com/docs/api/invoicing/#errors","details":[{"field":"amount.currency_code",... be null or, empty."}]}
Currency code is definitely there.
Here is the json being sent : {"date"[Removed. Phone #s not permitted]00:00 PST","method":"CASH","note":"paid in cash at the counter.","amount":{"currency_code":"USD","value":30.00}}
Not sure why I am getting the error.
Labels:
1 REPLY 1
TigerSoftware
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug-21-2019
06:25 PM
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
- I want to implement subscription functionality. in REST APIs
- My webhook stopped working 2 weeks ago in REST APIs
- webhook not working for sandbox account in REST APIs
- Want to change the status of Invoice from "DRAFT" to "PAID" after successfully capturing the amount in REST APIs
- Invoice links sending customers to the wrong invoice in PayPal Payments Standard