PUT
/
Invoice
/
{idInvoice}

Authorizations

requestToken
string
header
required

Most endpoints require an organization token. Some endpoints require an application token, and those endpoints are noted.

Path Parameters

idInvoice
integer
required

Invoice ID

Query Parameters

forceCustomerCreation
boolean
default:
false

When true, the request creates a new customer record, regardless of whether customer identifiers match an existing customer.

Body

customerData
object

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.

invoiceData
object

Object describing the invoice. Required for POST requests.

scheduledOptions
object

Object with options for scheduled invoices.

Response

200 - application/json

Response schema for invoice operations.

isSuccess
boolean

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

pageidentifier
string | null

Auxiliary validation used internally by payment pages and components.

responseCode
integer | null

Code for the response. Learn more in API Response Codes.

responseData

If isSuccess = true, this contains the identifier of the invoice. If isSuccess = false, this contains the reason for the failure.

responseText
string | null

Response text for operation: 'Success' or 'Declined'.

Was this page helpful?