documentv2

saveDocPaymentIntent

Internal documentv2/saveDocPaymentIntent operation. Authentication requirements are derived from the active route allowlist.

post/documentv2/saveDocPaymentIntent

Request body

document_idinteger
include_detailsboolean
invoice_typestring
adjustment_typestring
adjustment_valueinteger

Example request

{
  "document_id": 1004,
  "include_details": true,
  "invoice_type": "example_invoice_type",
  "adjustment_type": "percentage",
  "adjustment_value": 20
}

Response

Standard successful response envelope.

status'success' required
statusCodeinteger required
messagestring required
dataobject required
{"stackTrail":"components:schemas:SuccessEnvelope:properties:error","oasType":"schema","type":"unknown","example":null,"nullable":true}

Example response

{
  "statusCode": 200,
  "message": "OK"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.