Skip to main content
POST
/
mailchecks
Create New Mail Checks
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

Body

application/json
mailChecks
object[]
required
isShippingToCustomAddress
boolean
Example:
customFromAddressId
string
Example:
customToAddressId
string
Example:
customShippingTypeId
string
Example:

Response

success
boolean
Example:
message
string
Example: