I’m happy to announce that another great capability was just added to our REST API yesterday: Invoicing. This enables sending and managing invoices through the API and makes a great addition for merchants and even freelancers.
As you might remember there has been a NVP- and SOAP-based Invoicing API at PayPal for a long time already. To make the usage of this API even easier, we’ve made it consistent with our new APIs: A true REST-scheme, OAuth 2.0 Bearer tokens for authentication and an easy to read JSON format.
An invoice differs to a regular PayPal payment in the following way: Instead of defining a payment method a receiver (email) is defined and passed in the billing info. After creating the invoice you can send it to the receiver by passing its ID to the endpoint for sending invoices:
Once the invoice arrived the receiver is able to pay with PayPal, a check, debit card, or credit card.
As you can see the usage of the Invoice API is very similar to the Payments API and should enable you to start right away! We’re always looking for feedback regarding this capability to make even more improvements in the future.
- Building the Next Step in Payment Tutorials with Stack Overflow Docs
- Creating a Subscription Service with PayPal (Part 2 of 2): The Billing Agreement
- Creating a Subscription Service with PayPal (Part 1 of 2): The Billing Plan
- Processing a Credit Card Payment with a Vaulted Card
- Dates Revised for Security-Related Changes
Connect with us!