[api] add payment required to error codes.