added

Billing contact validation

On October 1, 2024 we will be adding validation to prevent 15-16 digit numbers from being passed into the Rainforest API in the billing contact fields.

This validation will be enforced in the Create payin config and Create payment method config endpoints on the following fields:

  • billing_contact.name
  • billing_contact.address_line_1
  • billing_contact.address_line_2
  • billing_contact.city
  • billing_contact.state
  • billing_contact.email
  • billing_contact.phone

If the value for any of these fields contains a 15-16 digit number in one of the following formats, then the request will return a 400 Bad Request with the below error message.

  • 0000000000000000
  • 000000000000000
  • 0000 0000 0000 0000
  • 0000 000000 00000
{
    "status": "ERROR",
    "data": null,
    "errors": [
        {
            "field": "billing_contact.name", // respective field
            "code": "RequestBody",
            "message": "Field cannot contain 16 digit numbers. For more info visit https://docs.rainforestpay.com/v2023-01-01/reference/create_payin_config"
        }
    ]
}

Please ensure your integration with Rainforest does not allow 15-16 digit numbers to be sent to the Rainforest API.

This change was released on Tuesday, October 1st.