Sandbox: Mail a Checkbook
Changed onSimulates the mailing of a Checkbook, which happens periodically throughout the day in production but can be sped up in sandbox. This Checkbook must have a status of pending_submission or pending_mailing.
post/simulations/checkbooks/{checkbook_id}/mail
Request
- Base URLhttps://api.increase.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
checkbook_idstring required
The identifier of the Checkbook you wish to mail.
Response
Checkbook
Example response
{
"account_number_id": "account_number_v18nkfqm6afpsrvy82b2",
"created_at": "2020-01-31T23:59:59Z",
"id": "checkbook_7iudxhxum6vlkcjxmi8y",
"idempotency_key": null,
"mailing_address": {
"city": "New York",
"line1": "33 Liberty Street",
"line2": null,
"name": "Ian Crease",
"postal_code": "10045",
"state": "NY"
},
"payer": [
{
"contents": "National Phonograph Company"
},
{
"contents": "33 Liberty Street"
},
{
"contents": "New York, NY 10045"
}
],
"return_address": {
"city": "San Francisco",
"line1": "244 Kearny St",
"line2": "Floor 8",
"name": "Undeliverable Mail",
"postal_code": "94108",
"state": "CA"
},
"status": "mailed",
"style": "three_ring_binder",
"tracking_updates": [
{
"category": "in_transit",
"country": "US",
"created_at": "2020-01-31T23:59:59Z",
"postal_code": "10045"
},
{
"category": "delivered",
"country": "US",
"created_at": "2020-01-31T23:59:59Z",
"postal_code": "10045"
}
],
"type": "checkbook"
}Changes
- info
endpoint added
- info