REST Invoicing - recipient email not being sent
BenGuri
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jun-10-2020
09:08 PM
I'm trying to figure out why invoices are not being emailed to the recipients, upon invoking the 'send' API, I'm answered with HTTP 200 (not HTTP 202 like described in the documentation), the response includes the content:
{
"rel": "payer-view",
"method": "GET"
}
link is working, but the invoice is not emailed.
this is the the "create draft" request content:
{
"detail": {
"currency_code": "USD",
"note": "Thank you for your business."
},
"invoicer":
{
"business_name":"myBusiness",
"website":"https://www.myBusiness.com",
"logo_url":"https://www.myBusiness.com/logos/myBusiness.png"
},
"primary_recipients": [
{
"billing_info": {
"email_address": {RECIPIENT_EMAIL_ADDRESS}
}
}
],
"items": [
{
"name": "Apple",
"quantity": "1",
"unit_of_measure":"AMOUNT",
"unit_amount": {
"currency_code": "USD",
"value": "50.00"
}
}
]
}
the response is also shorter than what I should be receiving per the documentation:
{
"rel": "self",
"method": "GET"
}
Labels:
- Labels:
-
Invoicing REST APIs
0 REPLIES 0

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
- Problem with invoices in REST APIs
- I'm getting an error when creating an invoice in PayPal Upgrade Community
- Payment confirmation button does not exist in PayPal Upgrade Community
- AUTH_FLOW_REQUIRED in SDKs
- "Items" don't work properly in the new version of Paypal They get revised if changed in the invoice. in Ideas for Merchant Technical Support