POST
/
mailchecks
curl --request POST \
  --url https://test.onlinecheckwriter.com/api/v3/mailchecks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "isShippingToCustomAddress": true,
  "customFromAddressId": "address123",
  "customToAddressId": "address456",
  "customShippingTypeId": "shipping789",
  "mailChecks": [
    {
      "checkId": "bL3YGddEnmG1X7w",
      "shippingTypeId": 3,
      "paperTypeId": 7,
      "informTypeId": 10,
      "enableSmsInform": false,
      "enableEmailInform": true,
      "payeeEmail": "email@test.com",
      "payeePhone": "123456789"
    }
  ]
}'
{
  "success": true,
  "message": "successfully mailed"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Payload to specify the mail checks and their attributes.

The body is of type object.

Response

200
application/json

successfully mailed

The response is of type object.