Create invoice
Creates an invoice in an entrypoint.
Path parameters
The paypoint’s entrypoint identifier. Learn more
Headers
Optional but recommended A unique ID that you can include to prevent duplicating objects or transactions in the case that a request is sent more than once. This key is not generated in Payabli, you must generate it yourself.
Query parameters
When true
, the request creates a new customer record, regardless of whether customer identifiers match an existing customer. Defaults to false
.
Request
Object describing the customer/payor. Required for POST requests. Which fields are required depends on the paypoint’s custom identifier settings. See PayorData Object Model for a complete reference.
Object describing the invoice. Required for POST requests.
Object with options for scheduled invoices.
Response
Success
Boolean indicating whether the operation was successful. A true
value indicates success. A false
value indicates failure.
Auxiliary validation used internally by payment pages and components.
Code for the response. Learn more in API Response Codes.
If isSuccess
= true, this contains the identifier of the invoice. If isSuccess
= false, this contains the reason for the failure.
Response text for operation: ‘Success’ or ‘Declined’.