Create Box
Changed onThis endpoint allows you to create a box containing up to 100 cheques. A Box is mailed to a single destination.
To create a box. You must specify:
- to: The recipient (contact or contact ID)
- from: The sender (contact or contact ID)
- cheques: An array of cheques to go in the box
For each cheque You must specify:
- to: The recipient (contact or contact ID)
- from: The sender (contact or contact ID)
- bankAccount: The bank account ID
- amount: The amount to be sent
- number: The cheque number
Request
- Base URLhttps://api.postgrid.com
- URLhttps://api.postgrid.com/print-mail/v1/boxes
- AuthAPI key in header X-API-Key
Request body
Response
The created Box.
Changes
- info
added the new optional request property
/////////// - info
added the new optional request property
/////////// - info
added the new optional request property
/////////// - info
added the new optional request property
/////////// - info
added the new optional request property
///////// - info
added the new optional request property
///////// - info
added the new optional request property
///////// - info
added the new optional request property
///////// - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status
- info
- warning
added the new
internal_server_errorenum value to the/response property for the response status - warning
added the new
not_found_errorenum value to the/response property for the response status - warning
added the new
rate_limit_exceeded_errorenum value to the/response property for the response status - warning
added the new
validation_errorenum value to the/response property for the response status - info
added
subschema #1subschema #2to the response bodyanyOflist for the response status - info
removed
subschema #1subschema #2from the response bodyanyOflist for the response status
- warning