Easily Integrate
PayPal's Invoicing API using Konfig's TypeScript SDK
Growing API Companies trust Konfig's SDKs to onboard developers to their API.





First, instantiate the SDK
It only takes a few lines of code.
Then, send your first request
We made it really easy.
Enjoy a buttery smooth developer experience with 20 SDK methods
Parameter
The page number to be retrieved, for the list of templates. So, a combination of page=1 and page_size=20 returns the first 20 templates. A combination of page=2 and page_size=20 returns the next 20 templates.
The maximum number of templates to return in the response.
Indicates whether the to show total_pages and total_items in the response.
The fields to return in the response. Value is all or none. To return only the template name, ID, and default attributes, specify none.
Response
An array of merchant invoices. Includes the total invoices count and [HATEOAS links](/https://developer.paypal.com/ for navigation.
The client is not authorized to access this resource, although it may have valid credentials.
The default error response.
Endpoint
Parameter
Response
The invoice details which includes all information of the invoice like items, billing information.
The client is not authorized to access this resource, although it may have valid credentials.
The default error response.
Endpoint
Parameter
The ID of the draft invoice to delete.
Response
The request-related [HATEOAS link](/https://developer.paypal.com/ information.
The HTTP 202 Accepted response.
Request is not well-formed, syntactically incorrect, or violates schema.
The client is not authorized to access this resource, although it may have valid credentials.
The server has not found anything matching the request URI. This either means that the URI is incorrect or the resource is not available.
The requested action cannot be performed and may require interaction with APIs or processes outside of the current request. This is distinct from a 500 response in that there are no systemic problems limiting the API from performing the request.
The default error response.
Endpoint
Parameter
The ID of the draft invoice to delete.
Response
A successful request returns the HTTP 204 No Content status code with no JSON response body.
The server has not found anything matching the request URI. This either means that the URI is incorrect or the resource is not available.
The default error response.
Endpoint
Parameter
The ID of the draft invoice to delete.
Response
A successful request returns the HTTP 204 No Content status code with no JSON response body.
The server has not found anything matching the request URI. This either means that the URI is incorrect or the resource is not available.
The default error response.
Endpoint
Parameter
The ID of the draft invoice to delete.
Response
The reference to the payment detail.
The server has not found anything matching the request URI. This either means that the URI is incorrect or the resource is not available.
The default error response.
Endpoint
How Konfig Works
Konfig collects APIs and automatically generates SDKs so you can focus on building your application.
Konfig maintains the highest quality collection of OpenAPI Specifications on the internet in a GitHub repository
We pull OpenAPI Specifications from public sources, fix any errors, and make sure they pass our lint rules. We continually make sure the repository is up-to-date and collect up-time and response time metrics for every API.

Generates AI-Augmented SDKs from openapi-examples
Our SDK generator is trusted by growing API companies and goes through a rigorous testing process to ensure the generated SDKs are high-quality and easy to use.

Publishes to standard package managers
We publish to standard package managers like npm, PyPI, and Maven so you can easily integrate the SDK into your application.

About PayPal
We're championing possibilities for all by making money fast, easy, and more enjoyable. Our hope is unlock opportunities for people in their everyday lives and empower the millions of people and businesses around the world who trust, rely, and use PayPal every day. For support, visit the PayPal Help Center. https://payp.al/help For employment opportunities, check out our job openings in the 'Jobs' tab. We're an equal opportunity employer that welcomes diversity, and offer generous benefits to help you thrive at work and in your free time.
